[oclug] I switched RH 7.3 from LPRng to CUPS/foomatic, now can't print. Help!
Walt Sullivan
walt at trytel.com
Wed Nov 12 13:09:39 EST 2003
I switched my Red Hat 7.3 system from LPRng to CUPS
(recommended for HP DeskJet 970Cse support). My HP DeskJet 520 used to
work fine with LPRng.
Now, all my print requests get aborted! Grovelling the logs shows me
(in /var/log/cups/error_log):
I [12/Nov/2003:11:46:24 -0500] Job 10 queued on 'dj520' by 'walt'.
I [12/Nov/2003:11:46:24 -0500] Started filter /usr/lib/cups/filter/texttops (PID 3970) for job 10.
I [12/Nov/2003:11:46:24 -0500] Started filter /usr/lib/cups/filter/pstops (PID 3971) for job 10.
I [12/Nov/2003:11:46:24 -0500] Started filter /usr/lib/cups/filter/foomatic-rip (PID 3972) for job 10.
I [12/Nov/2003:11:46:24 -0500] Started backend /usr/lib/cups/backend/parallel (PID 3973) for job 10.
E [12/Nov/2003:11:46:26 -0500] PID 3972 stopped with status 3!
OK, this tells me that foomatic-rip exited with a status of 3.
I turned on foomatic debugging (by putting "debug: 1" in
/etc/foomatic/filter.conf, and extracted this from
/tmp/foomatic-rip.log :
Starting renderer
renderer PID pid4=3976
renderer command: gs -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE -sDEVICE=ijs -sIjsServer=hpijs -sDeviceManufacturer="HEWLETT-PACKARD" -sDeviceModel="DESKJET 540" -dDEVICEWIDTHPOINTS=612 -dDEVICEHEIGHTPOINTS=792 -r300 -sIjsParams=Quality:Quality=0,Quality:ColorMode=0,Quality:MediaType=0,Quality:PenSet=0 -dIjsUseOutputFD -sOutputFile=- -
JCL: <job data>
Closing renderer
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en-us"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
foomatic-gswrapper: gs '-dBATCH' '-dPARANOIDSAFER' '-dQUIET' '-dNOPAUSE' '-sDEVICE=ijs' '-sIjsServer=hpijs' '-sDeviceManufacturer=HEWLETT-PACKARD' '-sDeviceModel=DESKJET 540' '-dDEVICEWIDTHPOINTS=612' '-dDEVICEHEIGHTPOINTS=792' '-r300' '-sIjsParams=Quality:Quality=0,Quality:ColorMode=0,Quality:MediaType=0,Quality:PenSet=0' '-dIjsUseOutputFD' '-sOutputFile=/dev/fd/3' '/dev/fd/0' 3>&1 1>&2
unable to set device=1, err=16
unable to set key=Quality:Quality, value=0
unable to set key=Quality:ColorMode, value=0
unable to set key=Quality:MediaType, value=0
unable to set key=Quality:PenSet, value=0
unable to set Quality=0, MediaType=0, ColorMode=2, err=4
following will be used Quality=0, MediaType=32, ColorMode=1074378944
unable to set paper size=0, err=4
unable to SetPixelsPerRow width=0, err=4
unable to create Job object err=4
Error: /dictfull in --.outputpage--
Operand stack:
1 true
Execution stack:
%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 .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- 0 3 %oparray_pop --nostringval-- --nostringval-- --nostringval-- --nostringval--
Dictionary stack:
--dict:1046/1476(ro)(G)-- --dict:0/20(G)-- --dict:95/200(L)--
Current allocation mode is local
Last OS error: 32
GNU Ghostscript 6.52: Unrecoverable error, exit code 1
PAGE: 1 1
renderer return value: 1
renderer received signal: 1
Process dieing with "Possible error on renderer command line or PostScript error. Check options.", exit stat: 3
Possible error on renderer command line or PostScript error. Check options.
tail process done writing data to STDOUT
KID4 finished
KID3 exited with status 3
Renderer exit stat: 3
Renderer process finished
Process dieing with "Error closing renderer", exit stat: 3
So, something is causing Ghostscript to die.
Can anyone suggest a next step?
Walt
--
Walt Sullivan /"\
UNIX & Networks, Security & SysAdmin \ /
walt at trytel.com X ASCII RIBBON CAMPAIGN
/ \ AGAINST HTML MAIL
More information about the OCLUG
mailing list