Patched Ghostscript driver for HP DeskJet 880C/882C and 895C printers.

Matthew J. Gelhaus (mgelhaus@proaxis.com)
Updated May 1, 1999

This package is based very heavily on the work of Uli Wortmann
(uli@bonk.ethz.ch), and I do not claim to be the original author of very
much of this code.  Uli has done a tremendous amount of excellent work, and
this package is a modification to his driver by me to add the ability to print
to the DeskJet 880C, 882C, and 895C printers.  Under the terms of the GNU
General Public License (see LICENSING TERMS below), I am distributing this
package under the same license.

Please also see the file readme.hp8 for Uli's notes about the package.

It is my intent to submit this work as a patch to Uli Wortmann for inclusion
in the original HP850C driver package.

WHAT'S NEW:

A couple of bug fixes:  when most print jobs completed, it left the printer
in a "resume" state with a blinking yellow light.  Also, there was a bug in
my contrib.mak which necessitated a code change in one of the ghostscript
source files.  Credit for fixing both of these bugs goes to Norihito Ohmori
(thanks for the fixes!).

I have tried out the driver with a 1.4 beta version of Uli Wortmanns' driver
(my code is based off of Uli's 1.3 release version).  It worked OK, and had
improved dithering, but the colors were WAY off.  There will need to be some
work to solve this.

LICENSING TERMS:

    Copyright (C) 1999  <Matthew J. Gelhaus mgelhaus@proaxis.com>

    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 2 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
    
    To view the General Public License in its entirety, check the file
    LICENSE.

DISCLAIMER:

This is a work still under development, and as such I do not guarantee
it will work (see LICENSING TERMS above).  However, please send bug
reports to me (mgelhaus@proaxis.com), along with as much information
as you can.

I do not have as much time as I would like to work on this driver, so
it is not progressing very quickly.  I try to respond to all e-mails I get
regarding it, but I am currently in a job that requires a lot of travel so
I am often a couple of weeks behind in answering them.  Thanks for your
patience!

SYSTEM REQUIREMENTS:

This package is designed to work with Aladdin Ghostscript 5.50 (available
from ftp://ftp.cs.wisc.edu/ghost/aladdin/gs550/).  It may work with earlier
versions of Ghostscript, but I have not tested it.  You can follow the
directions included to compile Ghostscript, but here are is a condensed
version that worked for me:

INSTALLATION INSTRUCTIONS:

1.  Obtain the files 
       
       ghostscript-5.50.tar.gz            2826251 bytes 
       jpegsrc.v6b.tar.gz                  613261 bytes
         (aka ghostscript-5.50jpeg.tar.gz) 
       libpng-1.0.2.tar.gz                 225386 bytes 
         (aka ghostscript-5.50libpng.tar.gz)
       zlib-1.1.3.tar.gz                   168463 bytes
         (aka ghostscript-5.50zlib.tar.gz)
       ghostscript-fonts-std-5.50.tar.gz  1444863 bytes
       
    If you do not already have jpeg, png, or zlib libraries installed in
    your system, then install them now.  See each of the above files'
    documentation for information on how to do this.
       
2.  Create a directory to perform the build in, for example,
    /usr/local/src/gs.  Unpack each of the files into this directory:
    
    $ cd /usr/local/src
    $ mkdir gs ; cd gs
    $ tar zxf $HOME/ghostscript-5.50.tar.gz
    $ tar zxf $HOME/jpegsrc.v6b.tar.gz
    $ tar zxf $HOME/libpng-1.0.2.tar.gz
    $ tar zxf $HOME/zlib-1.1.3.tar.gz
    
    If your library files had the alternate names listed in step 1, then
    substitute the filenames for the ones in the above commands.
    
3.  Copy all the files from this driver package into the ghostscript
    directory.  For example,
    
    $ cp $HOME/hp850C-880p/* /usr/local/src/gs/gs5.50/
    
    This will overwrite the files contrib.mak and makefile.  This is OK.

4.  If desired, edit the makefile.  This should only be necessary if you
    want to build a ghostscript binary that uses your existing PNG and
    ZLIB libraries dynamically.  Normally ghostscript compiles these in
    statically.  Note that you still need to download the sources to those
    libraries (as listed in step 1) even if you want to link dynamically.
    
5.  Type 'make'.

6.  Type 'make install' (as root).

7.  To specify the 880C/882C/895C driver, use -sDEVICE=cdj880:

    $ gs -q -sDEVICE=cdj880 -dNOPAUSE -dSAFER -dBATCH -sOutputFile=- 
      test.ps | lpr
    
    NOTE:  The above command requires being in a directory containing a file
           'test.ps'.

FEEDBACK:

Please report any bugs to me at mgelhaus@proaxis.com.  I try to respond to
every e-mail I receive, but due to my job (which involves a lot of travel),
it sometimes takes me a week or two.
