Comment 4 for bug 182658

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

I have applied the patch of Tim Waugh's posting and this makes the command line of the initial posting working correctly. This command line works also if feeding in a PostScript file with high-resolution photos, but printing through a CUPS queue still leads to an immediate crash of Ghostscript. So there is probably also another bug. For end users printing is still impossible.

Here is the output in error_log:

----------
D [28/Jan/2008:12:18:11 +0000] [Job 111] renderer PID kid4=24640
D [28/Jan/2008:12:18:11 +0000] [Job 111] renderer command: gs -q -dBATCH -dPARAN
OIDSAFER -dQUIET -dNOPAUSE -sDEVICE=ijs -sIjsServer=hpijs -sDeviceManufacturer="
HEWLETT-PACKARD" -sDeviceModel="deskjet 5600" -dDEVICEWIDTHPOINTS=595 -dDEVICEHE
IGHTPOINTS=842 -dDuplex=false -r1200 -sIjsParams=Quality:Quality=3,Quality:Color
Mode=2,Quality:MediaType=2,Quality:PenSet=2,PS:MediaPosition=7 -dIjsUseOutputFD
-sOutputFile=- -
D [28/Jan/2008:12:18:13 +0000] [Job 111] foomatic-gswrapper: gs '-sstdout=%stderr' '-dBATCH' '-dPARANOIDSAFER' '-dQUIET' '-dNOPAUSE' '-sDEVICE=ijs' '-sIjsServer=hpijs' '-sDeviceManufacturer=HEWLETT-PACKARD' '-sDeviceModel=deskjet 5600' '-dDEVICEWIDTHPOINTS=595' '-dDEVICEHEIGHTPOINTS=842' '-dDuplex=false' '-r1200' '-sIjsParams=Quality:Quality=3,Quality:ColorMode=2,Quality:MediaType=2,Quality:PenSet=2,PS:MediaPosition=7' '-dIjsUseOutputFD' '-sOutputFile=%stdout' '-_'
D [28/Jan/2008:12:18:14 +0000] [Job 111] unable to open PrintContext object err=2
D [28/Jan/2008:12:18:14 +0000] [Job 111] GPL Ghostscript 8.61: Can't start ijs server "hpijs"
D [28/Jan/2008:12:18:14 +0000] [Job 111] **** Unable to open the initial device, quitting.
D [28/Jan/2008:12:18:14 +0000] [Job 111] renderer return value: 1
D [28/Jan/2008:12:18:14 +0000] [Job 111] renderer received signal: 1
D [28/Jan/2008:12:18:14 +0000] [Job 111] Process dying with "Possible error on renderer command line or PostScript error. Check options.", exit stat: 3
----------

The problem is this "unable to open PrintContext object err=2".