I'm using an USB HP 952C printer, with latest ~x86 installs for ghostscript, foomatic and cups. Printing doesn't work, because gs doesn't seem to be called correctly (an illegal instruction is produced in the pstoraster script). My test file is the printer test page on the CUPS web admin interface. When I try to print it, with cupsd running with a debug LogLevel, I get this kind of output (sorry, this is big, but I didn't want to remove important lines): I [09/Jun/2003:00:33:11 -0400] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=30629) D [09/Jun/2003:00:33:11 -0400] SendCommand() 3 file=6 D [09/Jun/2003:00:33:11 -0400] AcceptClient() 5 from localhost:631. D [09/Jun/2003:00:33:11 -0400] ReadClient() 5 POST /printers/hp952c HTTP/1.1 D [09/Jun/2003:00:33:11 -0400] print_job: request file type is application/postscript. D [09/Jun/2003:00:33:11 -0400] check_quotas: requesting-user-name = 'root' D [09/Jun/2003:00:33:11 -0400] print_job: requesting-user-name = 'root' D [09/Jun/2003:00:33:11 -0400] Adding default job-sheets values "none,none"... I [09/Jun/2003:00:33:11 -0400] Job 2 queued on 'hp952c' by 'root'. D [09/Jun/2003:00:33:11 -0400] Job 2 hold_until = 0 D [09/Jun/2003:00:33:11 -0400] StartJob(2, 0x8090820) D [09/Jun/2003:00:33:11 -0400] StartJob() id = 2, file = 0/1 D [09/Jun/2003:00:33:11 -0400] job-sheets=none,none D [09/Jun/2003:00:33:11 -0400] banner_page = 0 D [09/Jun/2003:00:33:11 -0400] StartJob: argv = "hp952c","2","root","Test Page","1","","/var/spool/cups/d00002-001" D [09/Jun/2003:00:33:11 -0400] StartJob: envp = "PATH=/usr/lib/cups/filter:/bin:/usr/bin","SOFTWARE=CUPS/1.1","USER=root","CHARSET=iso-8859-1","LANG=en","","PPD=/etc/cups/ppd/hp952c.ppd","CUPS_SERVERROOT=/etc/cups","RIP_MAX_CACHE=8m","TMPDIR=/var/spool/cups/tmp","CONTENT_TYPE=application/postscript","DEVICE_URI=usb://HP/DeskJet%20950C?serial=MY0CI1510CJP","PRINTER=hp952c","CUPS_DATADIR=/usr/share/cups","CUPS_FONTPATH=/usr/share/cups/fonts","","","" D [09/Jun/2003:00:33:11 -0400] StartJob: statusfds = 7, 8 D [09/Jun/2003:00:33:11 -0400] StartJob: filterfds[1] = 9, -1 D [09/Jun/2003:00:33:11 -0400] StartJob: filter = "/usr/lib/cups/filter/pstops" D [09/Jun/2003:00:33:11 -0400] StartJob: filterfds[0] = 10, 11 D [09/Jun/2003:00:33:11 -0400] start_process("/usr/lib/cups/filter/pstops", 0xbffea460, 0xbffe9910, 9, 11, 8) I [09/Jun/2003:00:33:11 -0400] Started filter /usr/lib/cups/filter/pstops (PID 30630) for job 2. D [09/Jun/2003:00:33:11 -0400] StartJob: filter = "/usr/lib/cups/filter/pstoraster" D [09/Jun/2003:00:33:11 -0400] StartJob: filterfds[1] = 9, 12 D [09/Jun/2003:00:33:11 -0400] start_process("/usr/lib/cups/filter/pstoraster", 0xbffea460, 0xbffe9910, 10, 12, 8) I [09/Jun/2003:00:33:11 -0400] Started filter /usr/lib/cups/filter/pstoraster (PID 30631) for job 2. D [09/Jun/2003:00:33:11 -0400] StartJob: filter = "/usr/lib/cups/filter/rastertohp" D [09/Jun/2003:00:33:11 -0400] StartJob: filterfds[0] = 10, 11 D [09/Jun/2003:00:33:11 -0400] start_process("/usr/lib/cups/filter/rastertohp", 0xbffea460, 0xbffe9910, 9, 11, 8) I [09/Jun/2003:00:33:11 -0400] Started filter /usr/lib/cups/filter/rastertohp (PID 30632) for job 2. D [09/Jun/2003:00:33:11 -0400] StartJob: backend = "/usr/lib/cups/backend/usb" D [09/Jun/2003:00:33:11 -0400] StartJob: filterfds[1] = -1, 9 D [09/Jun/2003:00:33:11 -0400] start_process("/usr/lib/cups/backend/usb", 0xbffea460, 0xbffe9910, 10, 9, 8) I [09/Jun/2003:00:33:11 -0400] Started backend /usr/lib/cups/backend/usb (PID 30633) for job 2. D [09/Jun/2003:00:33:11 -0400] ProcessIPPRequest: 5 status_code=0 D [09/Jun/2003:00:33:11 -0400] [Job 2] Page = 612x792; 18,36 to 594,786 D [09/Jun/2003:00:33:11 -0400] [Job 2] 0 %%BoundingBox: 0 0 612 792 D [09/Jun/2003:00:33:11 -0400] [Job 2] 0 %%Pages: 1 D [09/Jun/2003:00:33:11 -0400] [Job 2] 0 %%LanguageLevel: 1 D [09/Jun/2003:00:33:11 -0400] [Job 2] 0 %%DocumentData: Clean7Bit D [09/Jun/2003:00:33:11 -0400] [Job 2] 0 %%DocumentSuppliedResources: procset testprint/1.0 D [09/Jun/2003:00:33:11 -0400] [Job 2] 0 %%DocumentNeededResources: font Helvetica Helvetica-Bold Times-Roman D [09/Jun/2003:00:33:11 -0400] [Job 2] 0 %%Creator: Michael Sweet, Easy Software Products D [09/Jun/2003:00:33:11 -0400] [Job 2] 0 %%CreationDate: May 11, 1999 D [09/Jun/2003:00:33:11 -0400] [Job 2] 0 %%Title: Test Page D [09/Jun/2003:00:33:11 -0400] [Job 2] 0 %%EndComments D [09/Jun/2003:00:33:11 -0400] [Job 2] 0 %%BeginProlog D [09/Jun/2003:00:33:11 -0400] [Job 2] 0 %%BeginResource procset testprint 1.1 0 D [09/Jun/2003:00:33:11 -0400] [Job 2] 0 %%EndResource D [09/Jun/2003:00:33:11 -0400] [Job 2] 0 %%EndProlog D [09/Jun/2003:00:33:11 -0400] [Job 2] 0 %%Page: 1 1 D [09/Jun/2003:00:33:11 -0400] [Job 2] 0 %%Page: 1 1 D [09/Jun/2003:00:33:11 -0400] [Job 2] pw = 576.0, pl = 750.0 D [09/Jun/2003:00:33:11 -0400] [Job 2] PageLeft = 18.0, PageRight = 594.0 D [09/Jun/2003:00:33:11 -0400] [Job 2] PageTop = 786.0, PageBottom = 36.0 D [09/Jun/2003:00:33:11 -0400] [Job 2] PageWidth = 612.0, PageLength = 792.0 D [09/Jun/2003:00:33:11 -0400] CloseClient() 5 D [09/Jun/2003:00:33:11 -0400] [Job 2] Running /usr/bin/gs -dQUIET -dDEBUG -dPARANOIDSAFER -dNOPAUSE -dBATCH -dNOMEDIAATTRS -sDEVICE=cups -sstdout=%stderr -sOUTPUTFILE=%stdout -c - D [09/Jun/2003:00:33:11 -0400] [Job 2] LPGETSTATUS returned a port status of 18... W [09/Jun/2003:00:33:11 -0400] [Job 2] Media tray empty! D [09/Jun/2003:00:33:11 -0400] AcceptClient() 5 from localhost:631. D [09/Jun/2003:00:33:11 -0400] ReadClient() 5 GET /cups.css HTTP/1.1 D [09/Jun/2003:00:33:11 -0400] SendFile() 5 file=6 E [09/Jun/2003:00:33:12 -0400] PID 30631 stopped with status 132! D [09/Jun/2003:00:33:12 -0400] [Job 2] /usr/lib/cups/filter/pstoraster: line 57: 30634 Illegal instruction $bindir/gs $gsopts -sOUTPUTFILE="%stdout" -c "$profile" $ifile E [09/Jun/2003:00:33:12 -0400] PID 30632 stopped with status 1! D [09/Jun/2003:00:33:12 -0400] [Job 2] 0 %%EOF D [09/Jun/2003:00:33:12 -0400] [Job 2] Saw EOF! E [09/Jun/2003:00:33:12 -0400] [Job 2] No pages found! D [09/Jun/2003:00:33:12 -0400] UpdateJob: job 2, file 0 is complete. D [09/Jun/2003:00:33:12 -0400] CancelJob: id = 2 D [09/Jun/2003:00:33:12 -0400] StopJob: id = 2, force = 0 D [09/Jun/2003:00:33:12 -0400] StopJob: printer state is 3 D [09/Jun/2003:00:33:13 -0400] CloseClient() 3 D [09/Jun/2003:00:33:13 -0400] AcceptClient() 3 from localhost:631. D [09/Jun/2003:00:33:13 -0400] ReadClient() 3 GET /printers HTTP/1.1 D [09/Jun/2003:00:33:13 -0400] CGI /usr/lib/cups/cgi-bin/printers.cgi started - PID = 30635 I [09/Jun/2003:00:33:13 -0400] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=30635) D [09/Jun/2003:00:33:13 -0400] SendCommand() 3 file=7 D [09/Jun/2003:00:33:14 -0400] AcceptClient() 6 from localhost:631. D [09/Jun/2003:00:33:14 -0400] ReadClient() 6 POST / HTTP/1.1 D [09/Jun/2003:00:33:14 -0400] ProcessIPPRequest: 6 status_code=0 D [09/Jun/2003:00:33:14 -0400] ReadClient() 6 POST / HTTP/1.1 D [09/Jun/2003:00:33:14 -0400] ProcessIPPRequest: 6 status_code=0 D [09/Jun/2003:00:33:14 -0400] AcceptClient() 8 from localhost:631. D [09/Jun/2003:00:33:14 -0400] CloseClient() 6 D [09/Jun/2003:00:33:14 -0400] ReadClient() 8 GET /cups.css HTTP/1.1 D [09/Jun/2003:00:33:14 -0400] SendFile() 8 file=6 This is weird, because it worked fine two weeks ago, having emerge the relevant packages 6 to 7 weeks ago. Last week, I reinstalled the system from scratch, and since then I haven't got anything to print yet. Reproducible: Always Steps to Reproduce:
will have a look .. sorry for the delay there was a problem with the mail alias so i didn't get the Bugzilla mails
is this bug still valid?
I didn't look too deeply into it, but I can now print a test page, while earlier I couldn't. But, when I reported this bug, I was using ~x86 keywords, while now I use x86. IIRC cups and gs versions are the same for both, so it should be fine. I think this can be closed now.
see last comment