[cups.general] Lexmark x125

ZZHAT zzhat at das-board.info
Wed Feb 16 17:42:32 PST 2005


Hi Till,
thanks for you answer.. i havend seen this pont, does the driver only 
run on /dev/null :-[
I have change the instructions and when i make the spoller clean and 
restarted cups, i see
this in my error_log
D [17/Feb/2005:01:41:39 +0100] StartJob: argv = "queue","1","root","Test 
Page","1","","/var/spool/cups/d00001-001"
D [17/Feb/2005:01:41:39 +0100] StartJob: 
envp[0]="PATH=/usr/lib/cups/filter:/bin:/usr/bin"
D [17/Feb/2005:01:41:39 +0100] StartJob: envp[1]="SOFTWARE=CUPS/1.1"
D [17/Feb/2005:01:41:39 +0100] StartJob: envp[2]="USER=root"
D [17/Feb/2005:01:41:39 +0100] StartJob: envp[3]="CHARSET=utf-8"
D [17/Feb/2005:01:41:39 +0100] StartJob: envp[4]="LANG=de"
D [17/Feb/2005:01:41:39 +0100] StartJob: 
envp[5]="PPD=/etc/cups/ppd/queue.ppd"
D [17/Feb/2005:01:41:39 +0100] StartJob: envp[6]="CUPS_SERVERROOT=/etc/cups"
D [17/Feb/2005:01:41:39 +0100] StartJob: envp[7]="RIP_MAX_CACHE=8m"
D [17/Feb/2005:01:41:39 +0100] StartJob: 
envp[8]="TMPDIR=/var/spool/cups/tmp"
D [17/Feb/2005:01:41:39 +0100] StartJob: 
envp[9]="CONTENT_TYPE=application/postscript"
D [17/Feb/2005:01:41:39 +0100] StartJob: 
envp[10]="DEVICE_URI=file:/dev/null"
D [17/Feb/2005:01:41:39 +0100] StartJob: envp[11]="PRINTER=queue"

The device is now right.
but when i make a testprint started my Printer now for 1sec. and stoped.

And this i cant understand .. now i see in the log this:

D [17/Feb/2005:01:41:39 +0100] [Job 1] Starting renderer
D [17/Feb/2005:01:41:39 +0100] [Job 1] JCL: <job data>
D [17/Feb/2005:01:41:39 +0100] [Job 1]
D [17/Feb/2005:01:41:39 +0100] [Job 1] renderer PID kid4=15286
D [17/Feb/2005:01:41:39 +0100] [Job 1] renderer command: size=a4; 
x125_cmyk_print.sh $size 600 /dev/usb/lp0 kk 1
D [17/Feb/2005:01:41:39 +0100] [Job 1] page size set to 'a4'.
D [17/Feb/2005:01:41:39 +0100] [Job 1] horizontal resolutionset to 600 dpi.
D [17/Feb/2005:01:41:39 +0100] [Job 1] device set to /dev/usb/lp0.
D [17/Feb/2005:01:41:39 +0100] [Job 1] bidirectional mode on.
D [17/Feb/2005:01:41:40 +0100] [Job 1]
D [17/Feb/2005:01:41:40 +0100] [Job 1] Closing renderer
D [17/Feb/2005:01:41:41 +0100] [Job 1] ESP Ghostscript 7.07.1: 
Unrecoverable error, exit code 1
D [17/Feb/2005:01:41:41 +0100] [Job 1] 
/usr/local/bin/x125_cmyk_print.sh: line 27: 15289 Done(1) gs -q -dBATCH 
-dPARANOIDSAFER -dQUIET -dNOP$D [17/Feb/2005:01:41:41 +0100] [Job 1] 
15290 Segmentation fault | `dirname $0`/x125_cmyk size=$1 hdpi=$2 
device=$3 mode=$4 bidi=$5
D [17/Feb/2005:01:41:41 +0100] [Job 1] renderer return value: 139
D [17/Feb/2005:01:41:41 +0100] [Job 1] renderer received signal: 139
D [17/Feb/2005:01:41:41 +0100] [Job 1] Process dying with "The renderer 
may have dumped core.", exit stat: 3
D [17/Feb/2005:01:41:41 +0100] [Job 1] The renderer may have dumped core.
D [17/Feb/2005:01:41:41 +0100] [Job 1] tail process done writing data to 
STDOUT
D [17/Feb/2005:01:41:41 +0100] [Job 1] KID4 finished
D [17/Feb/2005:01:41:41 +0100] [Job 1] KID3 exited with status 3
D [17/Feb/2005:01:41:41 +0100] [Job 1] Renderer exit stat: 3
D [17/Feb/2005:01:41:41 +0100] [Job 1] Renderer process finished
D [17/Feb/2005:01:41:41 +0100] [Job 1] Killing process 15285 (KID3)
D [17/Feb/2005:01:41:41 +0100] [Job 1] Process dying with "Error closing 
renderer", exit stat: 3
D [17/Feb/2005:01:41:41 +0100] [Job 1] Error closing renderer
E [17/Feb/2005:01:41:41 +0100] PID 15284 stopped with status 3!
D [17/Feb/2005:01:41:41 +0100] UpdateJob: job 1, file 0 is complete.
D [17/Feb/2005:01:41:41 +0100] StopJob: id = 1, force = 0
I [17/Feb/2005:01:41:41 +0100] Saving printers.conf...
D [17/Feb/2005:01:41:41 +0100] StopJob: printer state is 5
D [17/Feb/2005:01:42:50 +0100] CloseClient: 6

In the printers.conf is now chanched "State" form Idel to Stopped.
I now chached "Stats" back to Idel bunt nothing and a restart was fisrt 
Idel and then i have started next printtest but
the printer startet and stopped and changed the "State" to Stopped.

Thanks for help
ZZHAT alias Joerg

p.s.
Sorry for my english but i hope its oky..


Till Kamppeter wrote:

>
> Have you read these instructions:
>
> http://www.linuxprinting.org/show_driver.cgi?driver=drv_x125
>
> The driver talks to the printer directly because of the weird protocol 
> of the printer. So the USB backend of CUPS should not be started as it 
> blocks the printer (Have you seen the "device busy" in the 
> error_log?). Point the CUPS queue to /dev/null and the printer will work:
>
> cancel -a <queue>
> killall -9 usb
> lpadmin -p <queue> -E -v file:/dev/null
>
> Till
>
>
> zzhat wrote:






More information about the cups mailing list