← Back to team overview

sslug-teknik team mailing list archive

CUPS. Printjob crashed on signal 11!

 

Hej

Jeg har nogle problemer med at udskrive fra et program.

OS:		SLES8 / UL
Printer:	HP 3330.
Metode:	LPD. Printeren sidder på en XP-maskine.

Jeg kan uden problemer udskrive til printeren fra en prompt, hvis den ikke
indeholder PCL-koder. Altså ren tekst!
Hvis der er PCL-koder kommer fejlen:
"client-error-document-format-not-supported"

Den PCL-kode jeg i dette tilfælde skal have med er følgende: ^[&l26a1O (A4
landscape)

Alle udskrifter vil på et eller andet niveau indeholde PCL-koder.
En af de mere slemme: ^[E ^[&f1y3X^[&l2E^[*p50y0X^E^[&k4S^[&l6D

Spørgsmål:

1. Hvad kan årsagen være til signal 11 & signal 1 ??

2. Kan jeg på en eller anden måde undgå at bruge PPD-drivere når jeg bruges
CUPS og udskriver via LPD ??
   Der skal "bare" være rå data til printeren, uden nogen form for
konvertering.

3. Jeg er normalt vant til lpadmin på nogle System V maskiner og jetadmin på
Sun Solaris.
   Kan lpadmin anvendes til oprettelse af printere når der er installeret
CUPS ??
   
/Frank


Nedenstående er logfilen, fra det forsøg hvor jeg udskriver fra programmet.


D [16/Jun/2004:13:43:45 +0000] AcceptClient() 3 from 127.0.0.1:631.
D [16/Jun/2004:13:43:45 +0000] ReadClient() 3 POST / HTTP/1.1
D [16/Jun/2004:13:43:45 +0000] CloseClient() 3
D [16/Jun/2004:13:43:45 +0000] AcceptClient() 3 from 127.0.0.1:631.
D [16/Jun/2004:13:43:45 +0000] ReadClient() 3 POST / HTTP/1.1
D [16/Jun/2004:13:43:45 +0000] CloseClient() 3
D [16/Jun/2004:13:43:45 +0000] AcceptClient() 3 from 127.0.0.1:631.
D [16/Jun/2004:13:43:45 +0000] ReadClient() 3 POST /printers/laser21
HTTP/1.1
D [16/Jun/2004:13:43:45 +0000] print_job: auto-typing file...
D [16/Jun/2004:13:43:45 +0000] print_job: request file type is
application/vnd.hp-hpgl.
D [16/Jun/2004:13:43:45 +0000] check_quotas: requesting-user-name = 'akadm'
D [16/Jun/2004:13:43:45 +0000] print_job: requesting-user-name = 'akadm'
I [16/Jun/2004:13:43:45 +0000] Job 41 queued on 'laser21' by 'akadm'.
D [16/Jun/2004:13:43:45 +0000] Job 41 hold_until = 0
D [16/Jun/2004:13:43:45 +0000] StartJob(41, 0x80a2c38)
D [16/Jun/2004:13:43:45 +0000] StartJob() id = 41, file = 0/1
D [16/Jun/2004:13:43:45 +0000] job-sheets=none,none
D [16/Jun/2004:13:43:45 +0000] banner_page = 0
D [16/Jun/2004:13:43:45 +0000] StartJob: argv =
"laser21","41","akadm","(stdin)","1","","/var/spool/cups/d00041-001"
D [16/Jun/2004:13:43:45 +0000] StartJob: envp =
"PATH=/usr/lib/cups/filter:/bin:/usr/bin","SOFTWARE=CUPS/1.1","USER=root","C
HARSET=iso-8859-1","LANG=en_US","TZ=GMT","PPD=/etc/cups/ppd/laser21.ppd","CU
PS_SERVERROOT=/etc/cups","RIP_MAX_CACHE=8m","TMPDIR=/var/spool/cups/tmp","CO
NTENT_TYPE=application/vnd.hp-hpgl","DEVICE_URI=lpd://KIS32/laser21","PRINTE
R=laser21","CUPS_DATADIR=/usr/share/cups","CUPS_FONTPATH=/usr/share/cups/fon
ts","","",""
D [16/Jun/2004:13:43:45 +0000] StartJob: statusfds = 11, 12
D [16/Jun/2004:13:43:45 +0000] StartJob: filterfds[1] = 13, -1
D [16/Jun/2004:13:43:45 +0000] StartJob: filter =
"/usr/lib/cups/filter/hpgltops"
D [16/Jun/2004:13:43:45 +0000] StartJob: filterfds[0] = 16, 17
D [16/Jun/2004:13:43:45 +0000]
start_process("/usr/lib/cups/filter/hpgltops", 0xbfff0b10, 0xbffebfc0, 13,
17, 12)
I [16/Jun/2004:13:43:45 +0000] Started filter /usr/lib/cups/filter/hpgltops
(PID 16440) for job 41.
D [16/Jun/2004:13:43:45 +0000] StartJob: filter =
"/usr/lib/cups/filter/pstops"
D [16/Jun/2004:13:43:45 +0000] StartJob: filterfds[1] = 13, 18
D [16/Jun/2004:13:43:45 +0000] start_process("/usr/lib/cups/filter/pstops",
0xbfff0b10, 0xbffebfc0, 16, 18, 12)
I [16/Jun/2004:13:43:45 +0000] Started filter /usr/lib/cups/filter/pstops
(PID 16441) for job 41.
D [16/Jun/2004:13:43:45 +0000] StartJob: filter =
"/usr/lib/cups/filter/cupsomatic"
D [16/Jun/2004:13:43:45 +0000] StartJob: filterfds[0] = 16, 17
D [16/Jun/2004:13:43:45 +0000]
start_process("/usr/lib/cups/filter/cupsomatic", 0xbfff0b10, 0xbffebfc0, 13,
17, 12)
I [16/Jun/2004:13:43:45 +0000] Started filter
/usr/lib/cups/filter/cupsomatic (PID 16442) for job 41.
D [16/Jun/2004:13:43:45 +0000] StartJob: backend =
"/usr/lib/cups/backend/lpd"
D [16/Jun/2004:13:43:45 +0000] StartJob: filterfds[1] = -1, 13
D [16/Jun/2004:13:43:45 +0000] start_process("/usr/lib/cups/backend/lpd",
0xbfff0b10, 0xbffebfc0, 16, 13, 12)
I [16/Jun/2004:13:43:45 +0000] Started backend /usr/lib/cups/backend/lpd
(PID 16443) for job 41.
D [16/Jun/2004:13:43:45 +0000] Page = 595x842; 24,48 to 571,818
D [16/Jun/2004:13:43:45 +0000] page_width = 0, page_height = 0
D [16/Jun/2004:13:43:45 +0000] page_width = 0, page_height = 0
D [16/Jun/2004:13:43:45 +0000] page_width = 0, page_height = 0
D [16/Jun/2004:13:43:45 +0000] page_width = 547, page_height = 770
D [16/Jun/2004:13:43:45 +0000] Transform = [ 0.071 0.000
D [16/Jun/2004:13:43:45 +0000] 0.000 0.071
D [16/Jun/2004:13:43:45 +0000] -24.000 -48.000 ]
D [16/Jun/2004:13:43:45 +0000] page_width = 547, page_height = 770
D [16/Jun/2004:13:43:45 +0000] Transform = [ 0.071 0.000
D [16/Jun/2004:13:43:45 +0000] 0.000 0.071
D [16/Jun/2004:13:43:45 +0000] -24.000 -48.000 ]
D [16/Jun/2004:13:43:45 +0000] page_width = 547, page_height = 770
D [16/Jun/2004:13:43:45 +0000] Transform = [ 0.071 0.000
D [16/Jun/2004:13:43:45 +0000] 0.000 0.071
D [16/Jun/2004:13:43:45 +0000] -24.000 -48.000 ]
D [16/Jun/2004:13:43:45 +0000] page_width = 547, page_height = 770
D [16/Jun/2004:13:43:45 +0000] Transform = [ 0.071 0.000
D [16/Jun/2004:13:43:45 +0000] 0.000 0.071
D [16/Jun/2004:13:43:45 +0000] -24.000 -48.000 ]
D [16/Jun/2004:13:43:45 +0000] page_width = 547, page_height = 770
D [16/Jun/2004:13:43:45 +0000] Transform = [ 0.071 0.000
D [16/Jun/2004:13:43:45 +0000] 0.000 0.071
D [16/Jun/2004:13:43:45 +0000] -24.000 -48.000 ]
D [16/Jun/2004:13:43:45 +0000] page_width = 547, page_height = 770
D [16/Jun/2004:13:43:45 +0000] Transform = [ 0.071 0.000
D [16/Jun/2004:13:43:45 +0000] 0.000 0.071
D [16/Jun/2004:13:43:45 +0000] -24.000 -48.000 ]
D [16/Jun/2004:13:43:45 +0000] page_width = 547, page_height = 770
D [16/Jun/2004:13:43:45 +0000] Transform = [ 0.071 0.000
D [16/Jun/2004:13:43:45 +0000] 0.000 0.071
D [16/Jun/2004:13:43:45 +0000] -24.000 -48.000 ]
D [16/Jun/2004:13:43:45 +0000] page_width = 547, page_height = 770
D [16/Jun/2004:13:43:45 +0000] Transform = [ 0.071 0.000
D [16/Jun/2004:13:43:45 +0000] 0.000 0.071
D [16/Jun/2004:13:43:45 +0000] -24.000 -48.000 ]
D [16/Jun/2004:13:43:45 +0000] page_width = 547, page_height = 770
D [16/Jun/2004:13:43:45 +0000] Transform = [ 0.071 0.000
D [16/Jun/2004:13:43:45 +0000] 0.000 0.071
D [16/Jun/2004:13:43:45 +0000] -24.000 -48.000 ]
D [16/Jun/2004:13:43:45 +0000] page_width = 547, page_height = 770
D [16/Jun/2004:13:43:45 +0000] Transform = [ 0.071 0.000
D [16/Jun/2004:13:43:45 +0000] 0.000 0.071
D [16/Jun/2004:13:43:45 +0000] -24.000 -48.000 ]
D [16/Jun/2004:13:43:45 +0000] Page = 595x842; 24,48 to 571,818
D [16/Jun/2004:13:43:45 +0000] CloseClient() 3
D [16/Jun/2004:13:43:45 +0000] Cupsomatic backend version $Revision: 1.2 $
running...
D [16/Jun/2004:13:43:45 +0000] called with arguments:
'41','akadm','(stdin)','1',''
D [16/Jun/2004:13:43:45 +0000] ppd=/etc/cups/ppd/laser21.ppd
D [16/Jun/2004:13:43:45 +0000] Seaerching job for option settings ...
E [16/Jun/2004:13:43:45 +0000] PID 16440 crashed on signal 11!
E [16/Jun/2004:13:43:45 +0000] Empty print file!
E [16/Jun/2004:13:43:45 +0000] PID 16441 stopped with status 1!
D [16/Jun/2004:13:43:45 +0000] options: -><-
D [16/Jun/2004:13:43:45 +0000] /usr/lib/cups/filter/cupsomatic: inserted
option PS code:
D [16/Jun/2004:13:43:45 +0000] PJL: %-12345X@PJL
D [16/Jun/2004:13:43:45 +0000] @PJL SET MANUALFEED=OFF
D [16/Jun/2004:13:43:45 +0000] @PJL SET RET=MEDIUM
D [16/Jun/2004:13:43:45 +0000] @PJL SET DENSITY=3
D [16/Jun/2004:13:43:45 +0000] @PJL SET COPIES=1
D [16/Jun/2004:13:43:45 +0000] @PJL SET ECONOMODE=OFF
D [16/Jun/2004:13:43:45 +0000] @PJL SET MPTRAY=FIRST
D [16/Jun/2004:13:43:45 +0000] <job data>
D [16/Jun/2004:13:43:45 +0000] %-12345X@PJL RESET
D [16/Jun/2004:13:43:45 +0000] gs PID pid2=16445
D [16/Jun/2004:13:43:45 +0000] gs command: gs -q -dBATCH -dSAFER -dNOPAUSE
-sDEVICE=lj5gray -r600x600 -sOutputFile=- - | perl -p -e
"s/\xc0.\xf8\x26/\xc0\x01\xf8\x26/g"
D [16/Jun/2004:13:43:45 +0000] foomatic-gswrapper: gs '-dBATCH' '-dSAFER'
'-dNOPAUSE' '-sDEVICE=lj5gray' '-r600x600' '-sOutputFile=/dev/fd/3'
'/dev/fd/0' 3>&1 1>&2
D [16/Jun/2004:13:43:45 +0000] ESP Ghostscript 7.05 (2002-06-28)
D [16/Jun/2004:13:43:45 +0000] Copyright (C) 2002 artofcode LLC, Benicia,
CA.  All rights reserved.
D [16/Jun/2004:13:43:45 +0000] This software comes with NO WARRANTY: see the
file COPYING for details.
D [16/Jun/2004:13:43:45 +0000] tail process done writing data to
*main::STDOUT
D [16/Jun/2004:13:43:45 +0000] KID4 finished
D [16/Jun/2004:13:43:45 +0000] KID3 finished
D [16/Jun/2004:13:43:45 +0000] Main process finished
D [16/Jun/2004:13:43:45 +0000] lpd_command 02 laser21
D [16/Jun/2004:13:43:45 +0000] Sending command string (9 bytes)...
D [16/Jun/2004:13:43:45 +0000] Reading command status...
D [16/Jun/2004:13:43:46 +0000] lpd_command returning 0
D [16/Jun/2004:13:43:46 +0000] Control file is:
D [16/Jun/2004:13:43:46 +0000] Hdkora1
D [16/Jun/2004:13:43:46 +0000] Pakadm
D [16/Jun/2004:13:43:46 +0000] J_stdin_
D [16/Jun/2004:13:43:46 +0000] ldfA443dkora1
D [16/Jun/2004:13:43:46 +0000] UdfA443dkora1
D [16/Jun/2004:13:43:46 +0000] NdfA443dkora1
D [16/Jun/2004:13:43:46 +0000] lpd_command 02 66 cfA443dkora1
D [16/Jun/2004:13:43:46 +0000] Sending command string (17 bytes)...
D [16/Jun/2004:13:43:46 +0000] Reading command status...
D [16/Jun/2004:13:43:46 +0000] lpd_command returning 0
D [16/Jun/2004:13:43:46 +0000] lpd_command 03 293 dfA443dkora1
D [16/Jun/2004:13:43:46 +0000] Sending command string (18 bytes)...
D [16/Jun/2004:13:43:46 +0000] Reading command status...
D [16/Jun/2004:13:43:46 +0000] lpd_command returning 0
D [16/Jun/2004:13:43:46 +0000] UpdateJob: job 41, file 0 is complete.
D [16/Jun/2004:13:43:46 +0000] CancelJob: id = 41
D [16/Jun/2004:13:43:46 +0000] StopJob: id = 41, force = 0
D [16/Jun/2004:13:43:46 +0000] StopJob: printer state is 3


Follow ups