gs command fails in cups, fine at command line

Chris Cera ceraREMOVECAPS at cs.drexel.edu
Wed Jan 12 19:03:31 PST 2005


Here is a dump of the log file.  I believe it gs bombs because of something device related.  The same command with the device set properly at the end works.  I'm using the '/etc/cups/ppd/laserjet_4l.ppd' file.  I'm not sure what all the redirections mean in the snippet below.  Here is the working command I mentioned (with difference outline):

    $ gs -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE -sDEVICE=ijs -sIjsServer=hpijs -sDeviceManufacturer="HEWLETT-PACKARD" -sDeviceModel="HP LaserJet" -dDEVICEWIDTHPOINTS=612 -dDEVICEHEIGHTPOINTS=792 -dDuplex=false -r300 -sIjsParams=Quality:Quality=1,Quality:ColorMode=0,Quality:MediaType=0,Quality:PenSet=0,PS:MediaPosition=7 -dIjsUseOutputFD -sOutputFile="/dev/lp0" test.ps -c quit
                              ^^^^^^^^^^^^^^^^^^^^^^^^^^

The command I used from cups was:
    $ lpr test.ps

Here is a small log snippet with the command:

D [12/Jan/2005:21:42:31 -0500] [Job 13] foomatic-gswrapper: gs '-dBATCH' '-dPARANOIDSAFER' '-dQUIET' '-dNOPAUSE' '-sDEVICE=ijs' '-sIjsServer=hpijs' '-sDeviceManufacturer=HEWLETT-PACKARD' '-sDeviceModel=HP LaserJet' '-dDEVICEWIDTHPOINTS=612' '-dDEVICEHEIGHTPOINTS=792' '-dDuplex=false' '-r300' '-sIjsParams=Quality:Quality=1,Quality:ColorMode=0,Quality:MediaType=0,Quality:PenSet=0,PS:MediaPosition=7' '-dIjsUseOutputFD' '-sOutputFile=| cat >&3' '/dev/fd/0' 3>&1 1>&2


Here is the entire log snippet:

D [12/Jan/2005:21:42:31 -0500] [Job 13] renderer command: gs -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE -sDEVICE=ijs -sIjsServer=hpijs -sDeviceManufacturer="HEWLETT-PACKARD" -sDeviceModel="HP LaserJet" -dDEVICEWIDTHPOINTS=612 -dDEVICEHEIGHTPOINTS=792 -dDuplex=false -r300 -sIjsParams=Quality:Quality=1,Quality:ColorMode=0,Quality:MediaType=0,Quality:PenSet=0,PS:MediaPosition=7 -dIjsUseOutputFD -sOutputFile=- -
D [12/Jan/2005:21:42:31 -0500] [Job 13] perl: warning: Setting locale failed.
D [12/Jan/2005:21:42:31 -0500] [Job 13] perl: warning: Please check that your locale settings:
D [12/Jan/2005:21:42:31 -0500] [Job 13] LANGUAGE = (unset),
D [12/Jan/2005:21:42:31 -0500] [Job 13] LC_ALL = (unset),
D [12/Jan/2005:21:42:31 -0500] [Job 13] LANG = "en"
D [12/Jan/2005:21:42:31 -0500] [Job 13] are supported and installed on your system.
D [12/Jan/2005:21:42:31 -0500] [Job 13] perl: warning: Falling back to the standard locale ("C").
D [12/Jan/2005:21:42:31 -0500] [Job 13] foomatic-gswrapper: gs '-dBATCH' '-dPARANOIDSAFER' '-dQUIET' '-dNOPAUSE' '-sDEVICE=ijs' '-sIjsServer=hpijs' '-sDeviceManufacturer=HEWLETT-PACKARD' '-sDeviceModel=HP LaserJet' '-dDEVICEWIDTHPOINTS=612' '-dDEVICEHEIGHTPOINTS=792' '-dDuplex=false' '-r300' '-sIjsParams=Quality:Quality=1,Quality:ColorMode=0,Quality:MediaType=0,Quality:PenSet=0,PS:MediaPosition=7' '-dIjsUseOutputFD' '-sOutputFile=| cat >&3' '/dev/fd/0' 3>&1 1>&2
D [12/Jan/2005:21:42:32 -0500] [Job 13] renderer return value: 139
D [12/Jan/2005:21:42:32 -0500] [Job 13] renderer received signal: 139
D [12/Jan/2005:21:42:32 -0500] [Job 13] Process dying with "The renderer may have dumped core.", exit stat: 3
D [12/Jan/2005:21:42:32 -0500] [Job 13] The renderer may have dumped core.
D [12/Jan/2005:21:42:32 -0500] [Job 13] tail process done writing data to STDOUT

Any help is greatly appreciated.  Thank you.





More information about the cups mailing list