[gs-devel] foomatic-rip, pdftops, cups
Russen Guggemos
rguggemos at networkninja.com
Thu Jan 10 10:43:40 PST 2008
Hey guys,
Thanks for your time, I haven't been able to find any other place where
update to date discussions of ghostscript issues are taking place, so I
hope you forgive my intrusion to the devel list.
I'm writing a PHP app on a Debian system that sends PDF files to the
printer via CUPS. At first, I was having problems with form-field data
not printing with the PDFs. But after upgrading to all the latest
versions of ghostscript, this was resolved.
GPL Ghostscript SVN PRE-RELEASE 8.61 (2007-08-02)
Now, other, non-form field PDFs are failling to print altogether, the
bottleneck being foomatic-rip.
When you send a PDF directly to the print server it gets run through 3
filters:
pdftops:
D [10/Jan/2008:11:35:08 -0600] PID 26666 (/usr/lib/cups/filter/pdftops)
exited with no errors.
pstops:
D [10/Jan/2008:11:35:08 -0600] PID 26667 (/usr/lib/cups/filter/pstops)
exited with no errors.
then foomatic-rip:
D [10/Jan/2008:11:35:08 -0600] [Job 2620] GPL Ghostscript SVN
PRE-RELEASE 8.61: Unrecoverable error, exit code 1
I'm at a loss for where to go from here, since I'm not sure what kind of
changes to the gswrapper parameters would be relevant (i'm assuming that
I can hack the PPD file), nor whether previous versions of ghostscript
might be more stable.
Thank you in advance for any suggestions or help you can give.
-Russen Guggemos
/var/log/cups/error_log:
==============================
D [10/Jan/2008:11:35:08 -0600] [Job 2620] renderer command: gs -q
-dBATCH -dPARANOIDSAFER -dNOPAUSE -sDEVICE=pxlmono -r600x600
-sPAPERSIZE=letter -sOutputFile=- -
D [10/Jan/2008:11:35:08 -0600] [Job 2620] foomatic-gswrapper: gs
'-sstdout=%stderr' '-dBATCH' '-dPARANOIDSAFER' '-dNOPAUSE'
'-sDEVICE=pxlmono' '-r600x600' '-sPAPERSIZE=letter'
'-sOutputFile=%stdout' '-'
D [10/Jan/2008:11:35:08 -0600] [Job 2620] GPL Ghostscript SVN
PRE-RELEASE 8.61 (2007-08-02)
D [10/Jan/2008:11:35:08 -0600] [Job 2620] Copyright (C) 2007 Artifex
Software, Inc. All rights reserved.
D [10/Jan/2008:11:35:08 -0600] [Job 2620] This software comes with NO
WARRANTY: see the file PUBLIC for details.
D [10/Jan/2008:11:35:08 -0600] [Job 2620] Loading NimbusRomNo9L-Regu
font from /var/lib/defoma/gs.d/dirs/fonts/n021003l.pfb... 3720720
2114596 2575944 1272718 1 done.
D [10/Jan/2008:11:35:08 -0600] [Job 2620] Loading NimbusSanL-Regu font
from /var/lib/defoma/gs.d/dirs/fonts/n019003l.pfb... 3864376 2274469
2575944 1281288 1 done.
D [10/Jan/2008:11:35:08 -0600] [Job 2620] Loading NimbusSanL-Bold font
from /var/lib/defoma/gs.d/dirs/fonts/n019004l.pfb... 3986104 2406459
2680548 1383535 1 done.
D [10/Jan/2008:11:35:08 -0600] [Job 2620]
D [10/Jan/2008:11:35:08 -0600] [Job 2620] -----------
D [10/Jan/2008:11:35:08 -0600] [Job 2620] New page: 2 2
D [10/Jan/2008:11:35:08 -0600] [Job 2620] Inserting option code into
"PageSetup" section.
D [10/Jan/2008:11:35:08 -0600] [Job 2620] Found:
D [10/Jan/2008:11:35:08 -0600] [Job 2620] %%Page: 2 2
D [10/Jan/2008:11:35:08 -0600] [Job 2620] --> Output goes to the FIFO
buffer now.
D [10/Jan/2008:11:35:08 -0600] [Job 2620]
D [10/Jan/2008:11:35:08 -0600] [Job 2620]
D [10/Jan/2008:11:35:08 -0600] [Job 2620] Found: %%BeginPageSetup
D [10/Jan/2008:11:35:08 -0600] [Job 2620] Found: %%EndPageSetup
D [10/Jan/2008:11:35:08 -0600] [Job 2620] End of page header
D [10/Jan/2008:11:35:08 -0600] [Job 2620] Stopping search for page
header options
D [10/Jan/2008:11:35:08 -0600] [Job 2620] Found:
D [10/Jan/2008:11:35:08 -0600] [Job 2620] -6 TJm
D [10/Jan/2008:11:35:08 -0600] [Job 2620] --> Output goes directly to
the renderer now.
D [10/Jan/2008:11:35:08 -0600] [Job 2620]
D [10/Jan/2008:11:35:08 -0600] [Job 2620]
D [10/Jan/2008:11:35:08 -0600] [Job 2620] Closing renderer
D [10/Jan/2008:11:35:08 -0600] [Job 2620] Loading NimbusSanL-ReguItal
font from /var/lib/defoma/gs.d/dirs/fonts/n019023l.pfb... 4106504
2542823 2837144 1091698 1 done.
D [10/Jan/2008:11:35:08 -0600] [Job 2620] Loading NimbusSanL-BoldItal
font from /var/lib/defoma/gs.d/dirs/fonts/n019024l.pfb... 4226968
2672950 2837144 1099390 1 done.
D [10/Jan/2008:11:35:08 -0600] Discarding unused job-progress event...
D [10/Jan/2008:11:35:08 -0600] [Job 2620] Error: /ioerror in --image--
D [10/Jan/2008:11:35:08 -0600] [Job 2620] Operand stack:
D [10/Jan/2008:11:35:08 -0600] [Job 2620]
D [10/Jan/2008:11:35:08 -0600] [Job 2620] Execution stack:
D [10/Jan/2008:11:35:08 -0600] [Job 2620] %interp_exit .runexec2
--nostringval-- --nostringval-- --nostringval-- 2
%stopped_push --nostringval-- --nostringval-- --nostringval--
false 1 %stopped_push 1889 1 3 %oparray_pop 1888 1 3
%oparray_pop 1872 1 3 %oparray_pop 1755 1 3
%oparray_pop --nostringval-- %errorexec_pop .runexec2
--nostringval-- --nostringval-- --nostringval-- 2
%stopped_push --nostringval-- --nostringval-- 1793 1 7
%oparray_pop
D [10/Jan/2008:11:35:08 -0600] [Job 2620] Dictionary stack:
D [10/Jan/2008:11:35:08 -0600] [Job 2620] --dict:1155/1684(ro)(G)--
--dict:0/20(G)-- --dict:99/200(L)-- --dict:67/75(L)--
--dict:18/25(L)-- --dict:14/15(L)-- --dict:0/15(L)--
D [10/Jan/2008:11:35:08 -0600] [Job 2620] Current allocation mode is local
D [10/Jan/2008:11:35:08 -0600] [Job 2620] Last OS error: 2
D [10/Jan/2008:11:35:08 -0600] [Job 2620] GPL Ghostscript SVN
PRE-RELEASE 8.61: Unrecoverable error, exit code 1
======================================
--
Russen Guggemos
Network Ninja, Inc.
p: 773-782-1021 x108
More information about the gs-devel
mailing list