diff options
author | Till Kamppeter <till.kamppeter@gmail.com> | 2007-06-06 22:03:27 +0000 |
---|---|---|
committer | Till Kamppeter <till.kamppeter@gmail.com> | 2007-06-06 22:03:27 +0000 |
commit | 2bce78bcea74dd4d08a6fb59df978b78af959c39 (patch) | |
tree | 5fd6f1c03269148eeab90e417ab58a8adff7391c /gs/contrib/chp2200/INSTALL | |
parent | ee2a8fbeedada82068808b1fa5181d0a62485060 (diff) |
Finally merged in extra functionality of ESP Ghostscript (from branch "gs-esp-gpl-merger")
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@8026 a1074d23-0009-0410-80fe-cf8c14f379e6
Diffstat (limited to 'gs/contrib/chp2200/INSTALL')
-rw-r--r-- | gs/contrib/chp2200/INSTALL | 104 |
1 files changed, 104 insertions, 0 deletions
diff --git a/gs/contrib/chp2200/INSTALL b/gs/contrib/chp2200/INSTALL new file mode 100644 index 000000000..d823dda74 --- /dev/null +++ b/gs/contrib/chp2200/INSTALL @@ -0,0 +1,104 @@ +Ghostscript driver for HP Business Inkjet 2200 + +============================================================================= +Building the source code +============================================================================= +The source code for the HP 2200 Ghostscript driver consists of 3 files +(gs-hp2200.tar.gz). + 1. gdevcd8.c + 2. contrib.mak + 3. unix-gcc.mak + +Follow these steps to build Ghostscript 6.01 in Linux: +1. Download and install the Ghostscript 6.01 source code + (http://www.cs.wisc.edu/~ghost/aladdin/get601.html) according to the + official instructions shown on the Ghostscript home page. To build for + the Linux platform, you will need the Unix & VMS sources: + a. Ghostscript-6.01-1.src.rpm + b. Ghostscript-fonts-6.0-2.src.rpm + +2. Copy the HP 2200 Ghostscript driver source files (gdevcd8.c, contrib.mak + and unix-gcc.mak) into the Ghostscript source directory, overwriting the + original versions. + +3. Build Ghostscript. + +Here is a summary of the steps to build Ghostscript 6.01 in Linux: + # cd /usr/local/src + # tar zxvf /tmp/ghostscript-6.01.tar.gz + # cd gs6.01 + # tar zxvf /tmp/ghostscript-6.01jpeg.tar.gz + # tar zxvf /tmp/ghostscript-6.01libpng.tar.gz + # tar zxvf /tmp/ghostscript-6.01zlib.tar.gz + # mv jpeg-6b jpeg + # mv libpng-1.0.5 libpng + # mv zlib-1.1.3 zlib + # cd src + # cp /tmp/gdevcd8.c ./ + # cp /tmp/contrib.mak ./ + # cp /tmp/unix-gcc.mak ./ + # cd .. + # ln -s /usr/X11R6 /usr/X11 (needed by some Linux distributions) + # make -f src/unix-gcc.mak + +When the build completes, the binary output is: + /usr/local/src/gs6.01/bin/gs + +============================================================================= +Installation +============================================================================= +1. Download and install Ghostscript 6.01 + (http://www.cs.wisc.edu/~ghost/aladdin/get601.html) according to the + official instructions shown on the Ghostscript home page. + a. Ghostscript-6.01-1.i386.rpm + b. Ghostscript-fonts-6.0-2.noarch.rpm + +2. Copy the HP 2200 Ghostscript binary (gs) and overwrite the original + Ghostscript 6.01 executable: + # type gs + gs is /usr/bin/gs + # cd /usr/bin/gs + # cp gs gs.backup + # cp /usr/local/src/gs6.01/bin/gs . + cp: overwrite `./gs'? y + +3. Run printtool and add a print queue, e.g. lp0 + a. In the Configure Filter dialog box, select + "HP DeskJet 850/855/870/1100 series". + b. In the Paper Size list box, choose the desired paper size, + e.g. Letter + c. In the Extra GS options edit box: + specify "-sDEVICE=chp2200" + d. Enable the checkboxes: "Send EOF after job to eject page" and "Fix + stair-stepping text". + +============================================================================= +Using the driver +============================================================================= +Selecting paper size: +Run printtool and edit the lp0 printer queue. In the Paper Size list box, +choose the desired size. + +Selecting paper type: +Run printtool and edit the lp0 printer queue. In the Extra GS options edit +box, specify: + "-dPapertype=x" +Possible values of x are: + 0=Plain Paper (*default), 1=Bond paper, 2=special paper, 3=photo paper, + 4=transparency + +Selecting print quality: +Run printtool and edit the lp0 printer queue. In the Extra GS options edit +box, specify: + "-dQuality=x" +Possible values of x are: + -1=Draft, 0=Normal (*default), 1=Best + +Printing from an application: +From the application, select File -> Print. In the Print Command field, +specify: + "lpr -Plp0" + +Printing a file from a console window: + # gs -q -sDEVICE=chp2200 -dNOPAUSE -dSAFER -dBATCH -sOutputFile=- test.ps |lpr + |