Samsung CLP-310, CLP-315 :  foo2zjs - foo2hp - foo2xqx - foo2lava - foo2qpdl - foo2oak
Support for linux printer drivers
The fastest message board... ever.
 
SPL-C ERROR
Posted by: typhos ()
Date: August 19, 2008 08:27AM

Hi,
I use your driver with a custom "testing.icm". But printing most documents gives the following error:

SPL-C ERROR - Including Corrupted Header Data
Position: 0x0 (0)
System: src/xl_image
Line: 811
Version: SPL-C 5.35 11-20-2007

Am I doing anything wrong?

Options: ReplyQuote
Re: SPL-C ERROR
Posted by: rickrich ()
Date: August 19, 2008 09:02AM

Please put the testpage.ps and the testing.icm on a web page.

Options: ReplyQuote
Re: SPL-C ERROR
Posted by: typhos ()
Date: August 19, 2008 11:41AM

Hi,
thanks for the quick answer. I loaded the testing.icm and a testpage on my webspace. The testpage is a pdf file which I opened in Acrobat Reader. After printing only the above error message was on the printed page.

Here the file: http://www.coolphpscripts.de/test.zip

Options: ReplyQuote
Re: SPL-C ERROR
Posted by: rickrich ()
Date: August 19, 2008 12:10PM

I asuume it works without issues using the ICM-315 ICM file. Right?

Options: ReplyQuote
Re: SPL-C ERROR
Posted by: typhos ()
Date: August 19, 2008 12:19PM

Yes, you're right. But the testing.icm gives better colors with the CLP-315. Is there a possibility to use this icm without that error?

It would be very nice...

Options: ReplyQuote
Re: SPL-C ERROR
Posted by: rickrich ()
Date: August 19, 2008 12:48PM

$ foo2qpdl-wrapper -z2 -c -C10 -G testing.icm testpage.pdf > xxx.prn

$ ll xxx.prn
-rw-rw-r-- 1 rick rick 16952 2008-08-19 11:49 xxx.prn

$ qpdldecode < xxx.prn
\033%-12345X@PJL DEFAULT SERVICEDATE=20080819
@PJL SET USERNAME="Unknown"
@PJL SET JOBNAME="<stdin>"
@PJL SET COLORMODE=COLOR
@PJL SET PAPERTYPE = NORMAL
@PJL ENTER LANGUAGE = QPDL
RECTYPE 0x0     len=17  pageNum=1
                yres=600, copies=1, papersize=letter(0), w=2550, h=3300
                papersource=auto, unk=0, duplex=0:0, unk=0,5,  unk=268(0x10c)
                xres=1200

[snip]

RECTYPE 0xc     len=20(0x14)
                stripe=49, WB=1248(0x4e0), H=128(0x80), plane=4, comp=0x15,
                len=8(0x8)
RECTYPE 0xc     len=20(0x14)
                stripe=50, WB=1248(0x4e0), H=128(0x80), plane=4, comp=0x15,
                len=8(0x8)
RECTYPE 0x1     len=3
                copies=1
RECTYPE 0x9     len=0
\033%-12345X
$

Fedora 9. What does yours say?



Edited 1 time(s). Last edit at 08/19/2008 12:50PM by rickrich.

Options: ReplyQuote
Re: SPL-C ERROR
Posted by: typhos ()
Date: August 19, 2008 01:05PM

It's the same output an my machine (with Ubuntu 8.04).

Options: ReplyQuote
Re: SPL-C ERROR
Posted by: rickrich ()
Date: August 19, 2008 01:23PM

$ nc 192.xxx.xxx.xxx 9100 < xxx.prn   #network
OR
$ cp xxx.prn /dev/usb/lp0             #USB

What does that do?

Options: ReplyQuote
Re: SPL-C ERROR
Posted by: typhos ()
Date: August 19, 2008 01:28PM

That prints the testpage without error.

Options: ReplyQuote
Re: SPL-C ERROR
Posted by: rickrich ()
Date: August 19, 2008 01:53PM

No idea. Something wrong with Ghostscript. Something wrong with acroread.
$ acroread testpage.pdf
[print to file]

$ ll testpage.ps
-rw------- 1 rick rick 239824 2008-08-19 12:46 testpage.ps

$ gs -version
GPL Ghostscript 8.62 (2008-02-29)
Copyright (C) 2008 Artifex Software, Inc.  All rights reserved.

$ foo2qpdl-wrapper -z2 -c -C10 -G testing.icm testpage.ps > xxx.prn

$ ll xxx.prn
-rw-rw-r-- 1 rick rick 12180 2008-08-19 12:52 xxx.prn


Options: ReplyQuote
Re: SPL-C ERROR
Posted by: typhos ()
Date: August 19, 2008 02:25PM

Hmm, I think there is something wrong with ghostscript...

Trying to print another file gives this:

$ foo2qpdl-wrapper -z2 -c -C10 -D 5 -G testing.icm test2.pdf > xxx.prn
GPL Ghostscript 8.57: Unrecoverable error, exit code 1


The strange thing is, that I have Ghostscript 8.61 installed. Why foo2qpdl is using version 8.57? Where does this version come from?

Options: ReplyQuote


Sorry, only registered users may post in this forum.
This forum powered by Phorum.