cups suddenly stops printing after 5 years: Ghostscript 7.07.1: Unrecoverable error

E. Gerlach jack at aiai.de
Tue Apr 20 01:20:24 PDT 2010


Hi,
cups 1.1 (suse 9.2) was printing without problems in a big office for
about 5 years to hp1015, hp1022, hl5270, (and hp1505 since last year).
Suddenly cups denys printing:


D [20/Apr/2010:09:46:17 +0200] [Job 34397] ESP Ghostscript 7.07 (2003-07-12)
D [20/Apr/2010:09:46:17 +0200] [Job 34397] Copyright 2003 artofcode LLC
and Easy Software Products, all rights reserved.
D [20/Apr/2010:09:46:17 +0200] [Job 34397] This software comes with NO
WARRANTY: see the file COPYING for details.
D [20/Apr/2010:09:46:17 +0200] [Job 34397] Error: /rangecheck in
--.peekstring--
D [20/Apr/2010:09:46:17 +0200] [Job 34397] Operand stack:
D [20/Apr/2010:09:46:17 +0200] [Job 34397] --nostringval--
--nostringval--   (%!\nBe)
D [20/Apr/2010:09:46:17 +0200] [Job 34397] Execution stack:
D [20/Apr/2010:09:46:17 +0200] [Job 34397] %interp_exit   .runexec2
--nostringval--   --nostringval--   --nostringval--   2   %stopped_push
  --nostringval--   --n\
ostringval--   --nostringval--   false   1   %stopped_push   1   3
%oparray_pop   1   3   %oparray_pop   --nostringval--   --nostringval--
  --nostringval--
D [20/Apr/2010:09:46:17 +0200] [Job 34397] Dictionary stack:
D [20/Apr/2010:09:46:17 +0200] [Job 34397] --dict:1068/3371(ro)(G)--
--dict:0/20(G)--   --dict:68/200(L)--
D [20/Apr/2010:09:46:17 +0200] [Job 34397] Current allocation mode is local
D [20/Apr/2010:09:46:17 +0200] [Job 34397] Last OS error: 29
D [20/Apr/2010:09:46:17 +0200] [Job 34397] ESP Ghostscript 7.07.1:
Unrecoverable error, exit code 1
D [20/Apr/2010:09:46:17 +0200] [Job 34397] KID3 exited with status 0
D [20/Apr/2010:09:46:17 +0200] [Job 34397] tail process done writing
data to STDOUT
D [20/Apr/2010:09:46:17 +0200] [Job 34397] KID4 exited with status 0
D [20/Apr/2010:09:46:17 +0200] [Job 34397] Renderer exit stat: 0
D [20/Apr/2010:09:46:17 +0200] [Job 34397] KID4 finished
D [20/Apr/2010:09:46:17 +0200] [Job 34397] KID3 finished
D [20/Apr/2010:09:46:17 +0200] [Job 34397] Renderer process finished
D [20/Apr/2010:09:46:17 +0200] [Job 34397]
D [20/Apr/2010:09:46:17 +0200] [Job 34397] Closing foomatic-rip.
D [20/Apr/2010:09:46:17 +0200] UpdateJob: job 34397, file 0 is complete.
D [20/Apr/2010:09:46:17 +0200] CancelJob: id = 34397
D [20/Apr/2010:09:46:17 +0200] StopJob: id = 34397, force = 0
D [20/Apr/2010:09:46:17 +0200] StopJob: printer state is 3


I don't know whether the ghostscript error is the error why cups fails.

This is only one example trying to print to network printer hl5270. Most
printers are connected at clients with USB. The client of e.g. hp1022
claims: print_job: No file!?!

D [20/Apr/2010:00:43:45 +0200] AcceptClient: 3 from 192.168.10.1:631.
D [20/Apr/2010:00:43:45 +0200] ReadClient: 3 POST /printers/usb-drucker
HTTP/1.1
D [20/Apr/2010:00:43:45 +0200] ProcessIPPRequest: 3 status_code=1
D [20/Apr/2010:00:43:45 +0200] ReadClient: 3 POST /printers/usb-drucker
HTTP/1.1
E [20/Apr/2010:00:43:45 +0200] print_job: No file!?!
D [20/Apr/2010:00:43:45 +0200] Sending error: client-error-bad-request
D [20/Apr/2010:00:43:45 +0200] ProcessIPPRequest: 3 status_code=400
D [20/Apr/2010:00:43:45 +0200] ReadClient: 3 POST /printers/usb-drucker
HTTP/1.1
D [20/Apr/2010:00:43:45 +0200] ProcessIPPRequest: 3 status_code=1
D [20/Apr/2010:00:43:45 +0200] CloseClient: 3


There are several ppd files for the printers. All printers and the whole
printing system is untouched sind several months/ years(!). The
dokuments are pdf, png, jpg scans or postscript, some years old or
recently scanned. The scanner and converting tools are about 5 years
old, too. We tried some dozen different documents, old and new ones.

Another Printer MFC 7820 prints fine. But its printing with a Brother
wrapper, not usind ghostscript:

D [20/Apr/2010:10:12:59 +0200] job-sheets=none,none
D [20/Apr/2010:10:12:59 +0200] banner_page = 0
D [20/Apr/2010:10:12:59 +0200] StartJob: argv =
"MFC7740N","34401","root","sync_haupt2_sdc.log.ps","1","","/var/spool/cups/d34401-001"
D [20/Apr/2010:10:12:59 +0200] StartJob:
envp[0]="PATH=/usr/lib/cups/filter:/bin:/usr/bin"
D [20/Apr/2010:10:12:59 +0200] StartJob: envp[1]="SOFTWARE=CUPS/1.1"
D [20/Apr/2010:10:12:59 +0200] StartJob: envp[2]="USER=root"
D [20/Apr/2010:10:12:59 +0200] StartJob: envp[3]="CHARSET=iso-8859-1"
D [20/Apr/2010:10:12:59 +0200] StartJob: envp[4]="LANG=en"
D [20/Apr/2010:10:12:59 +0200] StartJob:
envp[5]="PPD=/etc/cups/ppd/MFC7740N.ppd"
D [20/Apr/2010:10:12:59 +0200] StartJob: envp[6]="CUPS_SERVERROOT=/etc/cups"
D [20/Apr/2010:10:12:59 +0200] StartJob: envp[7]="RIP_MAX_CACHE=8m"
D [20/Apr/2010:10:12:59 +0200] StartJob:
envp[8]="TMPDIR=/var/spool/cups/tmp"
D [20/Apr/2010:10:12:59 +0200] StartJob:
envp[9]="CONTENT_TYPE=application/postscript"
D [20/Apr/2010:10:12:59 +0200] StartJob:
envp[10]="DEVICE_URI=socket://192.168.10.179:9100/"
D [20/Apr/2010:10:12:59 +0200] StartJob: envp[11]="PRINTER=MFC7740N"
D [20/Apr/2010:10:12:59 +0200] StartJob:
envp[12]="CUPS_DATADIR=/usr/share/cups"
D [20/Apr/2010:10:12:59 +0200] StartJob:
envp[13]="CUPS_FONTPATH=/usr/share/cups/fonts"
D [20/Apr/2010:10:12:59 +0200] StartJob: envp[14]="CUPS_SERVER=localhost"
D [20/Apr/2010:10:12:59 +0200] StartJob: envp[15]="IPP_PORT=631"
D [20/Apr/2010:10:12:59 +0200] StartJob: statusfds = [ 7 8 ]
D [20/Apr/2010:10:12:59 +0200] StartJob: filterfds[1] = [ 9 -1 ]
D [20/Apr/2010:10:12:59 +0200] StartJob: filter =
"/usr/lib/cups/filter/pstops"
D [20/Apr/2010:10:12:59 +0200] StartJob: filterfds[0] = [ 10 11 ]
D [20/Apr/2010:10:12:59 +0200]
start_process("/usr/lib/cups/filter/pstops", 0xfff4a940, 0xfff49cb0, 9,
11, 8)
I [20/Apr/2010:10:12:59 +0200] Started filter
/usr/lib/cups/filter/pstops (PID 1577) for job 34401.
D [20/Apr/2010:10:12:59 +0200] StartJob: filter =
"/usr/lib/cups/filter/brlpdwrapperMFC7820N"
D [20/Apr/2010:10:12:59 +0200] StartJob: filterfds[1] = [ 9 12 ]
D [20/Apr/2010:10:12:59 +0200]
start_process("/usr/lib/cups/filter/brlpdwrapperMFC7820N", 0xfff4a940,
0xfff49cb0, 10, 12, 8)
I [20/Apr/2010:10:12:59 +0200] Started filter
/usr/lib/cups/filter/brlpdwrapperMFC7820N (PID 1579) for job 34401.
D [20/Apr/2010:10:12:59 +0200] StartJob: backend =
"/usr/lib/cups/backend/socket"
D [20/Apr/2010:10:12:59 +0200] StartJob: filterfds[0] = [ -1 10 ]
D [20/Apr/2010:10:12:59 +0200]
start_process("/usr/lib/cups/backend/socket", 0xfff4a940, 0xfff49cb0, 9,
10, 8)
I [20/Apr/2010:10:12:59 +0200] Started backend
/usr/lib/cups/backend/socket (PID 1581) for job 34401.
D [20/Apr/2010:10:12:59 +0200] ProcessIPPRequest: 5 status_code=0
D [20/Apr/2010:10:12:59 +0200] CloseClient: 5
D [20/Apr/2010:10:12:59 +0200] [Job 34401] Page = 595x842; 18,12 to 577,830
D [20/Apr/2010:10:12:59 +0200] [Job 34401] slowcollate=0, slowduplex=0,
sloworder=0
D [20/Apr/2010:10:12:59 +0200] [Job 34401] 0 %%Title:
sync_haupt2_sdc_liburg.log
D [20/Apr/2010:10:12:59 +0200] [Job 34401] 0 %%For: root
D [20/Apr/2010:10:12:59 +0200] [Job 34401] 0 %%Creator: a2ps version 4.13
D [20/Apr/2010:10:12:59 +0200] [Job 34401] 0 %%CreationDate: Mon Apr 19
03:42:17 2010
D [20/Apr/2010:10:12:59 +0200] [Job 34401] 0 %%BoundingBox: 24 24 571 818
[...]


thx a lot for help
Ekkard




More information about the cups mailing list