Ghostscript Driver for HP DeskJet 812C/815C/832C/880C/882C/895C HP880C Ghostscript Driver March 6, 2000
printer | GS device | support |
812C 815C 832C 880C 882C 895C |
cdj880 | v1.31 - Good text & color, photos
poor. v1.4beta - Photos working, not suitable for text. |
932C | cdj880 | ??? - probably the same as the 970C below. Please let me know if you try this out! |
970C | cdj880 | v1.31 -
Good text & color, photos poor, doesn't use color cartridge optimally. v1.4beta - Photos working, not suitable for text. Doesn't use color cartridge optimally. |
Regarding the 900-series printers above, I have received reports of it working with the new 970C printer, but I am sure it doesn't take full advantage of that printer's new color cartridge.
BTW, if you are looking for a good list of how various printers are supported under Linux be sure to check out Grant Taylor's Linux Printing HOWTO Database. (Yes, I know his page looks similar to mine. I think he liked the style of my web page. ;-) )
v1.31 This driver works pretty well for most tasks. Text and color graphics come out guite good. The main known problem is the dithering for photographs is too coarse, given the capabilities of the printer. For most tasks, except printing of photographs, this driver is an acceptable substitute for the Windows driver. For photographs, this driver is still the best alternative I have found for Ghostscript. This version also has an annoying blinking-light bug (on the printer) after a job is finished, but it doesn't really affect anything. This version currently produces the best text output and good graphics (but not photo) output.
Ghostscript is platform independent, but as I use Linux I can give info about the systems I have tested it on. I have successfully tested it on Linux 2.0.30, 2.0.36, and 2.2.5 with both libc5 (2.0 kernels) and glibc (2.2 kernel). I only have an 880C, so I rely on reports from others to confirm it works on other HP DeskJet models.
You may want to shift-click to save the following links directly to a file:
1.4beta | 26-Feb-2000 | gdevcd8.c (103K) |
tar/gz (24K) |
ZIP (24K) |
BETA! Photo-quality, but too dark and contrasty. Composite black, so unsuitable for text. Lays down too much ink. Blinking-light bug finally squashed for good. |
1.31 | 15-Mar-1999 | gdevcd8.c (98K) |
tar/gz (23K) |
ZIP (23K) |
Excellent text, good graphics, poor photos. Currently the best general-purpose driver. |
Ghostscript 6.0
1. Unpack the Ghostscript distribution according to the official instructions at the Ghostscript home page.
2. Copy the file gdevcd8.c you obtained above into the Ghostscript source directory. (if necessary, unpack the archive first).
3. Edit the file contrib.mak. Find the section for the cdj850 driver (it begins at line 451 for Ghostscript 6.0). Insert the following between the cdj670.dev line and the cdj890.dev line:
$(DD)cdj880.dev : $(cdeskjet8_) $(DD)page.dev $(SETPDEV2) $(DD)cdj880 $(cdeskjet8_)
For your convenience, here is a copy of contrib.mak already edited (for GS 6.0 only!): contrib.mak.
4. Edit the appropriate makefile for your system and add the cdj880 device to one of the DEVICE_DEVS# lines. For example:
DEVICE_DEVS19=$(DD)cdj880.dev
5. Build Ghostscript. Refer to the Ghostscript home page if you need instructions.
Example build of Ghostscript 6.0 on Linux:
$ su Password: # cd /usr/local/src # tar zxvf /tmp/ghostscript-6.0.tar.gz # cd gs6.0 # tar zxvf /tmp/ghostscript-6.0jpeg.tar.gz # tar zxvf /tmp/ghostscript-6.0libpng.tar.gz # tar zxvf /tmp/ghostscript-6.0zlib.tar.gz # mv jpeg-6b jpeg # mv libpng-1.0.3 libpng # mv zlib-1.1.3 zlib # cd src # cp /tmp/gdevcd8.c ./ # kwrite contrib.mak
This driver adds a few specific command-line options to Ghostscript:
option | default | meaning |
-dPapertype | 0 | 0=plain paper, 1=bond paper, 2=special paper, 3=photo paper, 4=transparency |
-dQuality | 1 | -1=draft, 0=normal, 1=best |
-dMasterGamma | 1.0 | (v1.31) Master gamma value. Must be >1.0 for other gamma values to have an effect. |
-dGammaValC | 0.0 | (v1.31) Cyan gamma value. |
-dGammaValM | 0.0 | (v1.31) Magenta gamma value. |
-dGammaValY | 0.0 | (v1.31) Yellow gamma value. |
Consult the Ghostscript documentation for general usage information about Ghostscript.
Example using the driver in Linux:
$ gs -q -sDEVICE=cdj880 -dNOPAUSE -dSAFER -dBATCH\ -sOutputFile=- test.ps |lpr