Error about Ghostscript

chris zqy2000zqy at gmail.com
Mon Oct 15 06:19:06 PDT 2007


I build cups gs hpijs.. and run in the Embedded System

When I start cupsd and run lp to print a text file , I have the error_log as below,  error is at tail.


But if I first run texttops generate a ps file, and then use gs to generate pcl file, then use lp to print this pcl file. I can get the printed file.



D [15/Oct/2007:20:48:27 +0000] start_process("/opt/cups/lib/cups/filter/texttops", 0xbe9fdc74, 0xbe9fcfe4, 9, 11, 8)
I [15/Oct/2007:20:48:27 +0000] Started filter /opt/cups/lib/cups/filter/texttops (PID 2287) for job 2.
D [15/Oct/2007:20:48:27 +0000] StartJob: filter = "/opt/cups/lib/cups/filter/pstops"
D [15/Oct/2007:20:48:27 +0000] StartJob: filterfds[1] = [ 9 12 ]
D [15/Oct/2007:20:48:27 +0000] start_process("/opt/cups/lib/cups/filter/pstops", 0xbe9fdc74, 0xbe9fcfe4, 10, 12, 8)
I [15/Oct/2007:20:48:27 +0000] Started filter /opt/cups/lib/cups/filter/pstops (PID 2288) for job 2.
D [15/Oct/2007:20:48:27 +0000] StartJob: filter = "/opt/cups/lib/cups/filter/foomatic-rip"
D [15/Oct/2007:20:48:27 +0000] StartJob: filterfds[0] = [ 10 11 ]
D [15/Oct/2007:20:48:27 +0000] start_process("/opt/cups/lib/cups/filter/foomatic-rip", 0xbe9fdc74, 0xbe9fcfe4, 9, 11, 8)
I [15/Oct/2007:20:48:27 +0000] Started filter /opt/cups/lib/cups/filter/foomatic-rip (PID 2289) for job 2.
D [15/Oct/2007:20:48:27 +0000] StartJob: backend = "/opt/cups/lib/cups/backend/usb"
D [15/Oct/2007:20:48:27 +0000] StartJob: filterfds[1] = [ -1 9 ]
D [15/Oct/2007:20:48:27 +0000] start_process("/opt/cups/lib/cups/backend/usb", 0xbe9fdc74, 0xbe9fcfe4, 10, 9, 8)
I [15/Oct/2007:20:48:27 +0000] Started backend /opt/cups/lib/cups/backend/usb (PID 2290) for job 2.
D [15/Oct/2007:20:48:27 +0000] ProcessIPPRequest: 7 status_code=0
D [15/Oct/2007:20:48:27 +0000] CloseClient: 7
D [15/Oct/2007:20:48:27 +0000] [Job 2] Page = 612x792; 18,36 to 594,783
D [15/Oct/2007:20:48:27 +0000] [Job 2] ppd->num_fonts = 35
D [15/Oct/2007:20:48:27 +0000] [Job 2] ppd->fonts[0] = AvantGarde-Book
D [15/Oct/2007:20:48:27 +0000] [Job 2] ppd->fonts[1] = AvantGarde-BookOblique
D [15/Oct/2007:20:48:27 +0000] [Job 2] ppd->fonts[2] = AvantGarde-Demi
D [15/Oct/2007:20:48:27 +0000] [Job 2] ppd->fonts[3] = AvantGarde-DemiOblique
D [15/Oct/2007:20:48:27 +0000] [Job 2] ppd->fonts[4] = Bookman-Demi
D [15/Oct/2007:20:48:27 +0000] [Job 2] ppd->fonts[5] = Bookman-DemiItalic
D [15/Oct/2007:20:48:27 +0000] [Job 2] ppd->fonts[6] = Bookman-Light
D [15/Oct/2007:20:48:27 +0000] [Job 2] ppd->fonts[7] = Bookman-LightItalic
D [15/Oct/2007:20:48:27 +0000] [Job 2] ppd->fonts[8] = Courier
D [15/Oct/2007:20:48:27 +0000] [Job 2] ppd->fonts[9] = Courier-Bold
D [15/Oct/2007:20:48:27 +0000] [Job 2] ppd->num_fonts = 35
D [15/Oct/2007:20:48:27 +0000] [Job 2] ppd->fonts[0] = AvantGarde-Book
D [15/Oct/2007:20:48:27 +0000] [Job 2] ppd->fonts[1] = AvantGarde-BookOblique
D [15/Oct/2007:20:48:27 +0000] [Job 2] ppd->fonts[2] = AvantGarde-Demi
D [15/Oct/2007:20:48:27 +0000] [Job 2] ppd->fonts[3] = AvantGarde-DemiOblique
D [15/Oct/2007:20:48:27 +0000] [Job 2] ppd->fonts[4] = Bookman-Demi
D [15/Oct/2007:20:48:27 +0000] [Job 2] ppd->fonts[5] = Bookman-DemiItalic
D [15/Oct/2007:20:48:27 +0000] [Job 2] ppd->fonts[6] = Bookman-Light
D [15/Oct/2007:20:48:27 +0000] [Job 2] ppd->fonts[7] = Bookman-LightItalic
D [15/Oct/2007:20:48:27 +0000] [Job 2] ppd->fonts[8] = Courier
D [15/Oct/2007:20:48:27 +0000] [Job 2] Page = 612x792; 18,36 to 594,783
D [15/Oct/2007:20:48:27 +0000] [Job 2] slowcollate=0, slowduplex=0, sloworder=0
D [15/Oct/2007:20:48:27 +0000] [Job 2] 0 %%BoundingBox: 0 0 612 792
D [15/Oct/2007:20:48:27 +0000] [Job 2] 0 %%Creator: texttops/CUPS v1.1.23
D [15/Oct/2007:20:48:27 +0000] [Job 2] 0 %%CreationDate: Mon Oct 15 20:48:27 2007
D [15/Oct/2007:20:48:27 +0000] [Job 2] 0 %%Title: hostname
D [15/Oct/2007:20:48:27 +0000] [Job 2] 0 %%For: root
D [15/Oct/2007:20:48:27 +0000] [Job 2] 0 %%Pages: (atend)
D [15/Oct/2007:20:48:27 +0000] [Job 2] 0 %%DocumentNeededResources: font Courier-Bold
D [15/Oct/2007:20:48:27 +0000] [Job 2] 0 %%+ font Courier
D [15/Oct/2007:20:48:27 +0000] [Job 2] 0 %%DocumentSuppliedResources: procset texttops 1.1 0
D [15/Oct/2007:20:48:27 +0000] [Job 2] 0 %%+ font Courier-Bold
D [15/Oct/2007:20:48:27 +0000] [Job 2] 0 %%+ font Courier
D [15/Oct/2007:20:48:27 +0000] [Job 2] 0 %%EndComments
D [15/Oct/2007:20:48:27 +0000] [Job 2] 0 %%BeginProlog
D [15/Oct/2007:20:48:27 +0000] [Job 2] 0 %%BeginResource: font Courier-Bold
D [15/Oct/2007:20:48:27 +0000] [Job 2] 0 %%CreationDate: Wed Dec 22 1999
D [15/Oct/2007:20:48:27 +0000] [Job 2] LPGETSTATUS returned a port status of 18...
D [15/Oct/2007:20:48:34 +0000] [Job 2] foomatic-rip version $Revision$ running...
D [15/Oct/2007:20:48:34 +0000] [Job 2] Parsing PPD file ...
D [15/Oct/2007:20:48:34 +0000] [Job 2] *cupsFilter: "application/vnd.cups-postscript 0 foomatic-rip"
D [15/Oct/2007:20:48:34 +0000] [Job 2] Added option ColorSpace
D [15/Oct/2007:20:48:34 +0000] [Job 2] Added option Resolution
D [15/Oct/2007:20:48:34 +0000] [Job 2] Added option PageSize
D [15/Oct/2007:20:48:34 +0000] [Job 2] Added option PageRegion
D [15/Oct/2007:20:48:34 +0000] [Job 2] Added option Model
D [15/Oct/2007:20:48:34 +0000] [Job 2] Added option PrintoutMode
D [15/Oct/2007:20:48:34 +0000] [Job 2] Added option ImageableArea
D [15/Oct/2007:20:48:34 +0000] [Job 2] Added option PaperDimension
D [15/Oct/2007:20:48:34 +0000] [Job 2] Added option Quality
D [15/Oct/2007:20:48:34 +0000] [Job 2] Added option Font
D [15/Oct/2007:20:48:34 +0000] [Job 2]
D [15/Oct/2007:20:48:34 +0000] [Job 2] Parameter Summary
D [15/Oct/2007:20:48:34 +0000] [Job 2] -----------------
D [15/Oct/2007:20:48:34 +0000] [Job 2]
D [15/Oct/2007:20:48:34 +0000] [Job 2] Spooler: cups
D [15/Oct/2007:20:48:34 +0000] [Job 2] Printer: 2360
D [15/Oct/2007:20:48:34 +0000] [Job 2] Shell:
D [15/Oct/2007:20:48:34 +0000] [Job 2] PPD file: /opt/cups/etc/cups/ppd/2360.ppd
D [15/Oct/2007:20:48:34 +0000] [Job 2] ATTR file:
D [15/Oct/2007:20:48:34 +0000] [Job 2] Printer model: HP DeskJet D2300 Foomatic/hpijs (recommended)
D [15/Oct/2007:20:48:34 +0000] [Job 2] Job title: hostname
D [15/Oct/2007:20:48:34 +0000] [Job 2] File(s) to be printed:
D [15/Oct/2007:20:48:34 +0000] [Job 2] <STDIN>
D [15/Oct/2007:20:48:34 +0000] [Job 2]
D [15/Oct/2007:20:48:34 +0000] [Job 2] GhostScript extra search path ('GS_LIB'): /opt/cups/share/cups/fonts
D [15/Oct/2007:20:48:34 +0000] [Job 2]
D [15/Oct/2007:20:48:34 +0000] [Job 2] ================================================
D [15/Oct/2007:20:48:34 +0000] [Job 2]
D [15/Oct/2007:20:48:34 +0000] [Job 2] File: <STDIN>
D [15/Oct/2007:20:48:34 +0000] [Job 2]
D [15/Oct/2007:20:48:34 +0000] [Job 2] ================================================
D [15/Oct/2007:20:48:34 +0000] [Job 2]
D [15/Oct/2007:20:48:34 +0000] [Job 2] Reading PostScript input ...
D [15/Oct/2007:20:48:34 +0000] [Job 2] --> This document is DSC-conforming!
D [15/Oct/2007:20:48:34 +0000] [Job 2]
D [15/Oct/2007:20:48:34 +0000] [Job 2] -----------
D [15/Oct/2007:20:48:34 +0000] [Job 2] Found: %%BeginProlog
D [15/Oct/2007:20:48:34 +0000] [Job 2] 0 %%EndResource
D [15/Oct/2007:20:48:34 +0000] [Job 2] 0 %%BeginResource: font Courier
D [15/Oct/2007:20:48:34 +0000] [Job 2] 0 %%CreationDate: Wed Dec 22 1999
D [15/Oct/2007:20:48:34 +0000] [Job 2] 0 %%EndResource
D [15/Oct/2007:20:48:34 +0000] [Job 2] 0 %%BeginResource: procset texttops 1.1 0
D [15/Oct/2007:20:48:34 +0000] [Job 2] 0 %%EndResource
D [15/Oct/2007:20:48:34 +0000] [Job 2] 0 %%EndProlog
D [15/Oct/2007:20:48:34 +0000] [Job 2] 0 %%Page: 1 1
D [15/Oct/2007:20:48:34 +0000] [Job 2] 0 %%Page: 1 1
D [15/Oct/2007:20:48:34 +0000] [Job 2] pw = 576.0, pl = 747.0
D [15/Oct/2007:20:48:34 +0000] [Job 2] PageLeft = 18.0, PageRight = 594.0
D [15/Oct/2007:20:48:34 +0000] [Job 2] PageTop = 783.0, PageBottom = 36.0
D [15/Oct/2007:20:48:34 +0000] [Job 2] PageWidth = 612.0, PageLength = 792.0
D [15/Oct/2007:20:48:34 +0000] [Job 2] 0 %%Trailer
D [15/Oct/2007:20:48:34 +0000] [Job 2] Saw Trailer!
D [15/Oct/2007:20:48:34 +0000] [Job 2] Saw EOF!
D [15/Oct/2007:20:48:35 +0000] [Job 2] Found: %%EndProlog
D [15/Oct/2007:20:48:35 +0000] [Job 2]
D [15/Oct/2007:20:48:35 +0000] [Job 2] -----------
D [15/Oct/2007:20:48:35 +0000] [Job 2] Found: %%BeginSetup
D [15/Oct/2007:20:48:35 +0000] [Job 2] Found: %%BeginFeature: *PrintoutMode Normal
D [15/Oct/2007:20:48:35 +0000] [Job 2] Option: PrintoutMode=Normal --> Setting option
D [15/Oct/2007:20:48:35 +0000] [Job 2] Found: %% FoomaticRIPOptionSetting: PrintoutMode=Normal
D [15/Oct/2007:20:48:35 +0000] [Job 2] Option: PrintoutMode=Normal --> Setting option
D [15/Oct/2007:20:48:35 +0000] [Job 2] Found: %%BeginFeature: *Quality FromPrintoutMode
D [15/Oct/2007:20:48:35 +0000] [Job 2] Option: Quality=FromPrintoutMode --> Setting option
D [15/Oct/2007:20:48:35 +0000] [Job 2] Found: %% FoomaticRIPOptionSetting: Quality=@PrintoutMode
D [15/Oct/2007:20:48:35 +0000] [Job 2] Option: Quality=FromPrintoutMode --> Setting option
D [15/Oct/2007:20:48:35 +0000] [Job 2] Found: %%BeginFeature: *PageSize Letter
D [15/Oct/2007:20:48:35 +0000] [Job 2] Option: PageSize=Letter --> Setting option
D [15/Oct/2007:20:48:35 +0000] [Job 2] Found: %% FoomaticRIPOptionSetting: PageSize=Letter
D [15/Oct/2007:20:48:35 +0000] [Job 2] Option: PageSize=Letter --> Setting option
D [15/Oct/2007:20:48:35 +0000] [Job 2] Found: %%EndSetup
D [15/Oct/2007:20:48:35 +0000] [Job 2] Inserting PostScript code for CUPS' page accounting
D [15/Oct/2007:20:48:35 +0000] [Job 2]
D [15/Oct/2007:20:48:35 +0000] [Job 2] -----------
D [15/Oct/2007:20:48:35 +0000] [Job 2] New page:  1 1
D [15/Oct/2007:20:48:35 +0000] [Job 2] Inserting option code into "PageSetup" section.
D [15/Oct/2007:20:48:35 +0000] [Job 2] No page header or page header not DSC-conforming
D [15/Oct/2007:20:48:35 +0000] [Job 2] Flushing FIFO.
D [15/Oct/2007:20:48:35 +0000] [Job 2]
D [15/Oct/2007:20:48:35 +0000] [Job 2] Starting renderer
D [15/Oct/2007:20:48:35 +0000] [Job 2] JCL: <job data>
D [15/Oct/2007:20:48:35 +0000] [Job 2]
D [15/Oct/2007:20:48:35 +0000] [Job 2] renderer PID kid4=2386
D [15/Oct/2007:20:48:35 +0000] [Job 2] renderer command: gs -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE -sDEVICE=ijs -sIjsServer=hpijs -sDeviceManufacturer="HEWLETT-PACKARD" -sDeviceModel="deskjet 3600" -dDEVICEWIDTHPOINTS=612 -dDEVICEHEIGHTPOINTS=792 -r300 -sIjsParams=Quality:Quality=0,Quality:ColorMode=2,Quality:MediaType=0,Quality:PenSet=1 -dIjsUseOutputFD -sOutputFile=- -
D [15/Oct/2007:20:48:39 +0000] [Job 2] foomatic-gswrapper: gs '-sstdout=%stderr' '-dBATCH' '-dPARANOIDSAFER' '-dQUIET' '-dNOPAUSE' '-sDEVICE=ijs' '-sIjsServer=hpijs' '-sDeviceManufacturer=HEWLETT-PACKARD' '-sDeviceModel=deskjet 3600' '-dDEVICEWIDTHPOINTS=612' '-dDEVICEHEIGHTPOINTS=792' '-r300' '-sIjsParams=Quality:Quality=0,Quality:ColorMode=2,Quality:MediaType=0,Quality:PenSet=1' '-dIjsUseOutputFD' '-sOutputFile=%stdout' '-'
D [15/Oct/2007:20:48:40 +0000] [Job 2]
D [15/Oct/2007:20:48:40 +0000] [Job 2] Closing renderer
D [15/Oct/2007:20:48:41 +0000] [Job 2] unable to create Job object err=3
D [15/Oct/2007:20:48:41 +0000] [Job 2] Segmentation fault
D [15/Oct/2007:20:48:42 +0000] [Job 2] Error: /ioerror in --.outputpage--
D [15/Oct/2007:20:48:42 +0000] [Job 2] Operand stack:
D [15/Oct/2007:20:48:42 +0000] [Job 2] 1   true
D [15/Oct/2007:20:48:42 +0000] [Job 2] Execution stack:
D [15/Oct/2007:20:48:42 +0000] [Job 2] %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push   1   3   %oparray_pop   1   3   %oparray_pop   1   3   %oparray_pop   1   3   %oparray_pop   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   0   3   %oparray_pop   --nostringval--   --nostringval--
D [15/Oct/2007:20:48:42 +0000] [Job 2] Dictionary stack:
D [15/Oct/2007:20:48:42 +0000] [Job 2] --dict:1131/1686(ro)(G)--   --dict:1/20(G)--   --dict:85/200(L)--
D [15/Oct/2007:20:48:42 +0000] [Job 2] Current allocation mode is local
D [15/Oct/2007:20:48:42 +0000] [Job 2] Last OS error: 32
D [15/Oct/2007:20:48:42 +0000] [Job 2] GPL Ghostscript 8.54: Unrecoverable error, exit code 1
D [15/Oct/2007:20:48:42 +0000] [Job 2] renderer return value: 1
D [15/Oct/2007:20:48:42 +0000] [Job 2] renderer received signal: 1
D [15/Oct/2007:20:48:42 +0000] [Job 2] Process dying with "Possible error on renderer command line or PostScript error. Check options.", exit stat: 3
D [15/Oct/2007:20:48:42 +0000] [Job 2] error: Illegal seek (29)
D [15/Oct/2007:20:48:42 +0000] [Job 2] Possible error on renderer command line or PostScript error. Check options.
D [15/Oct/2007:20:48:42 +0000] [Job 2] KID3 exited with status 3
D [15/Oct/2007:20:48:42 +0000] [Job 2] Renderer exit stat: 3
D [15/Oct/2007:20:48:42 +0000] [Job 2] Renderer process finished
D [15/Oct/2007:20:48:42 +0000] [Job 2] Killing process 2385 (KID3)
D [15/Oct/2007:20:48:42 +0000] [Job 2] Process dying with "Error closing renderer", exit stat: 3
D [15/Oct/2007:20:48:42 +0000] [Job 2] error: Bad file descriptor (9)
D [15/Oct/2007:20:48:42 +0000] [Job 2] Error closing renderer
E [15/Oct/2007:20:48:42 +0000] PID 2289 stopped with status 3!
D [15/Oct/2007:20:48:42 +0000] [Job 2] tail process done writing data to STDOUT
D [15/Oct/2007:20:48:42 +0000] [Job 2] KID4 finished
D [15/Oct/2007:20:48:42 +0000] UpdateJob: job 2, file 0 is complete.
D [15/Oct/2007:20:48:42 +0000] CancelJob: id = 2
D [15/Oct/2007:20:48:42 +0000] StopJob: id = 2, force = 0
D [15/Oct/2007:20:48:42 +0000] StopJob: printer state is 3




More information about the cups mailing list