Bugzilla – Bug 114068
some Ghostscript devices produce no output (in particular cljet5)
Last modified: 2005-09-01 13:20:10 UTC
I have the newest ghostscript packages (where bug #112659 is fixed) installed on nelson.suse.de (i386) and caps.suse.de (x86_64). I tested all ghostscript devices (except bbox, cups, ijs, nullpage, omni, stp) with the following command which uses the same fd-redirection as the print filter foomatic-rip does: -------------------------------------------------------------------- for d in $( gs -h \ | grep '^ [a-t]' \ | tr -d '\n' \ | tr -s ' ' '\n' \ | egrep -v 'bbox|cups|ijs|nullpage|omni|stp' ) do echo -e "\n$d" cat /usr/share/doc/packages/ghostscript/examples/colorcir.ps \ | gs -dBATCH -dSAFER -dQUIET -dNOPAUSE -sDEVICE=$d \ -sOutputFile='| cat >&3' /dev/fd/0 3>&1 1>&2 \ | cat - >/tmp/$d.prn ls -l /tmp/$d.prn done &>/tmp/log -------------------------------------------------------------------- The following Ghostscript devices produce no output: bmpa* (see bug #114056), cgm24, cgm8, cgmmono, cljet5, devicen, inferno, oprp, opvp, pcx2up, pnga The only Ghostscript device which is used in our PPDs is cljet5 in: /usr/share/cups/model/Generic/PCL_5c_Printer-cljet5.ppd.gz /usr/share/cups/model/HP/Color_LaserJet_5-cljet5.ppd.gz /usr/share/cups/model/HP/Color_LaserJet_5000-cljet5.ppd.gz /usr/share/cups/model/HP/Color_LaserJet_5M-cljet5.ppd.gz /usr/share/cups/model/Kyocera/FS-5800C-cljet5.ppd.gz /usr/share/cups/model/Kyocera/FS-5900C-cljet5.ppd.gz /usr/share/cups/model/Kyocera/FS-8000C-cljet5.ppd.gz /usr/share/cups/model/Xerox/DocuPrint_C20-cljet5.ppd.gz But by default cljet5c (which does work) is used in this PPDs because in those PPDs there is "*DefaultColorMode: Contone" which uses cljet5c. All other of the above Ghostscript devices are not used in any of our PPDs. Therefore we may ignore the non-working devices for 10.0
bmpa* I can not reproduce cgm24, cgm8, cgmmono do their own OutputFile handling and expect a real file (don't know why) g31:espgs-8.15rc1 # file '| cat >&3' | cat >&3: binary Computer Graphics Metafile devicen Wrong color model handling with gs 8.15 inferno Segfault oprp, opvp OpenPrinting Vector Printer Driver Glue Code is an interface like jis or stp, not a device pcx2up The 2-up PCX device is here only as an example, and for testing as. As mentioned in devs.mak. pnga Does nothing, used internal by pngmono, pnggray, png16, png256, png16m, pngalpha
Removed pcx2up from build list. Please remove oprp, opvp, and pnga from your check list.
For bmpa* please report your locale and environment
forgot cljet5: cljet5 Unrecoverable error: rangecheck in .putdeviceprops
cgm now uses the gs standard interface in opening files and pipes
Fix broken driver, removed exmaple driver. Only the cgm* are broken, now they can write to a pipe but the output to a regluar file or to stdout is shorten.
Beside cgm* driver all is fixed
FIXED