diff -r -N -u hpijs-1.2.2/README.9XX hpijs-1.2.2-rss.2/README.9XX
--- hpijs-1.2.2/README.9XX	Thu Jan  1 01:00:00 1970
+++ hpijs-1.2.2-rss.2/README.9XX	Mon Oct 14 11:19:22 2002
@@ -0,0 +1,108 @@
+This is the unmodified Readme file for Matthias Bunte's original patch. 
+I have left it in the patch because it is still the authoritive source 
+of the changes he has made. However, HP have changed the interface to 
+hpijs from  Ghostscript, so ignore section 3 of this document, and
+instead consult the (modified) hpijs_readme.html, or have a look at 
+the "hpijs-rss" PPD files available at Linuxprinting.org.
+
+Richard Spencer-Smith. 14th October, 2002.
+
+
+Preface
+
+ This file explains the changes I made to improve the print quality
+of the first generation HP Deskjet 9xx-series printers.
+I also made some minor changes to improve the print quality of
+all other printers.
+
+Contents
+
+1. Disadvantages of the hpijs-driver compared to Windows (tm) drivers
+
+2. Improvements of this patch
+
+3. How to use hpijs for the DeskJet 9XX-series
+
+4. Still to do
+
+
+1. Disadvantages of the hpijs-driver compared to Windows (tm) drivers
+
+ 
+ With the HP printer driver for Windows (tm) all capabilities of the
+printer are directly usable. Photos are printable on photo paper with
+best quality as well as presentation text as well as fast printouts.
+There is also a toolbox which can do some special functions like print
+head cleaning, show remaining ink etc.
+ The APDK from HP is now adopted into the hpijs-driver to make the
+special functions and printmodes available with unix-systems. But the
+standard mode has worse quality than the "Normal"-mode within
+Windows (tm). The only modes which are really useful are the photo
+modes.
+
+2. Improvements of this patch
+
+ By examing the source code of the print system I tried to understand
+which functions are built in that are not user accessible. My aims are
+to make all three standard print modes available, to improve photo
+printing even more and to implement the toolbox functions. The
+standard print modes are "Draft", "Normal" and "Presentation".
+ First I detected that the printer uses the color pen even when printing
+black text. Because of this the text printings are so bad. I changed this
+for all printers except for the DJ600 when printing with a CMY-pen.
+ Next I started to experiment with the print modes and resolutions. I
+extended the count of printer modes to 6 (0 - 5):
+- Mode 0 = Grayscale mode, draft, 300 dpi (unchanged)
+- Mode 1 = Normal mode, 300 dpi color, 600 dpi black/white (unchanged)
+- Mode 2 = Photo mode, gossimier paper, 600 dpi color, no black (unchanged)
+- Mode 3 = Presentation mode, 600 dpi color & b/w, (new)
+- Mode 4 = Photo mode, gossimier paper, 1200 dpi color, no black (new)
+- Mode 5 = Draft mode, 300 dpi color & b/w (new)
+ With these mode settings the printer can be used for paper printouts and
+photos very well. I do not have additional transfer tables for the colors
+so I do not know how to make modes for transparents and the other paper
+types.
+
+3. How to use hpijs for the DeskJet 9XX-series
+
+ The modes are dependent on the resolution settings of ghostscript! In
+the following lines are examples how to use this driver with ghostscript.
+Replace "InputFile.ps" by your source to print and "OutputFile.pcl" by
+your desired destination filename. This file can directly be printed. Or
+use ghostscript in a printing filter system.
+
+Mode 0 (Grayscale Mode):
+ gs -sDEVICE=hpijs -sDeviceName=DJ9xx -dPrintMode=0 \
+ -sOutputFile=OutputFile.pcl ~/InputFile.ps
+
+Mode 1 (Normal Mode):
+ gs -sDEVICE=hpijs -sDeviceName=DJ9xx -dPrintMode=1 \
+ -sOutputFile=OutputFile.pcl ~/InputFile.ps
+
+Mode 2 (Normal Photo Mode):
+ gs -sDEVICE=hpijs -r600 -sDeviceName=DJ9xx -dPrintMode=2 \
+ -sOutputFile=OutputFile.pcl ~/InputFile.ps
+
+Mode 3 (Presentation Mode):
+ gs -sDEVICE=hpijs -r600 -sDeviceName=DJ9xx -dPrintMode=3 \
+ -sOutputFile=OutputFile.pcl ~/InputFile.ps
+
+Mode 4 (Presentation Photo Mode):
+ gs -sDEVICE=hpijs -r1200 -sDeviceName=DJ9xx -dPrintMode=4 \
+ -sOutputFile=OutputFile.pcl ~/InputFile.ps
+
+Mode 5 (Draft Mode):
+ gs -sDEVICE=hpijs -sDeviceName=DJ9xx -dPrintMode=5 \
+ -sOutputFile=OutputFile.pcl ~/InputFile.ps
+
+
+4. Still to do
+
+ It would be nice if the driver sets resolution automatic and to add
+the ability of using different paper mediums. In this case the main 
+driver has to be changed and ghostscript has to be recompiled.
+ I like to have a toolbox like the toolbox in Windows (tm) but I did
+not yet manage to examine the commands for this.
+
+
+2001 by Matthias Bunte <M_Bunte@web.de>
diff -r -N -u hpijs-1.2.2/breaks_open.cpp hpijs-1.2.2-rss.2/breaks_open.cpp
--- hpijs-1.2.2/breaks_open.cpp	Mon May 20 23:08:53 2002
+++ hpijs-1.2.2-rss.2/breaks_open.cpp	Mon Oct 14 08:51:22 2002
@@ -823,7 +823,10 @@
 
 {
 0,  0,  255,    0,
-0,  1,  255,    0,
+// 2001.06.16 mrb: changed the value to 0. With the original "1"
+//                 the printer sometimes prints empty lines...
+//0,	1,	255,	0,
+0,	 0,  255,    0,
 0,  3,  255,    0,
 0,  5,  255,    0,
 0,  7,  255,    0,
@@ -1080,4 +1083,525 @@
 2,  255,    255,    0
 };
 
+ // 2001.07.09 mrb: Added for photo glossy mode of DJ970
+ const unsigned char HT1200x1200x1_PhotoPres970_open[1024]=
+ {
+    0 ,   0 ,   0 ,   0 ,
+    0 ,   0 ,   0 ,   0 ,
+    0 ,   1 ,   0 ,   0 ,
+    0 ,   1 ,   0 ,   0 ,
+    0 ,   2 ,   0 ,   0 ,
+    0 ,   2 ,   0 ,   0 ,
+    0 ,   3 ,   0 ,   0 ,
+    0 ,   3 ,   0 ,   0 ,
+    0 ,   4 ,   0 ,   0 ,
+    0 ,   4 ,   0 ,   0 ,
+    0 ,   5 ,   0 ,   0 ,
+    0 ,   5 ,   0 ,   0 ,
+    0 ,   6 ,   0 ,   0 ,
+    0 ,   6 ,   0 ,   0 ,
+    0 ,   7 ,   0 ,   0 ,
+    0 ,   7 ,   0 ,   0 ,
+    0 ,   8 ,   0 ,   0 ,
+    0 ,   8 ,   0 ,   0 ,
+    0 ,   9 ,   0 ,   0 ,
+    0 ,   9 ,   0 ,   0 ,
+    0 ,  10 ,   0 ,   0 ,
+    0 ,  10 ,   0 ,   0 ,
+    0 ,  11 ,   0 ,   0 ,
+    0 ,  11 ,   0 ,   0 ,
+    0 ,  12 ,   0 ,   0 ,
+    0 ,  12 ,   0 ,   0 ,
+    0 ,  13 ,   0 ,   0 ,
+    0 ,  13 ,   0 ,   0 ,
+    0 ,  14 ,   0 ,   0 ,
+    0 ,  14 ,   0 ,   0 ,
+    0 ,  15 ,   0 ,   0 ,
+    0 ,  15 ,   0 ,   0 ,
+    0 ,  16 ,   0 ,   0 ,
+    0 ,  16 ,   0 ,   0 ,
+    0 ,  17 ,   0 ,   0 ,
+    0 ,  17 ,   0 ,   0 ,
+    0 ,  18 ,   0 ,   0 ,
+    0 ,  18 ,   0 ,   0 ,
+    0 ,  19 ,   0 ,   0 ,
+    0 ,  19 ,   0 ,   0 ,
+    0 ,  20 ,   0 ,   0 ,
+    0 ,  20 ,   0 ,   0 ,
+    0 ,  21 ,   0 ,   0 ,
+    0 ,  21 ,   0 ,   0 ,
+    0 ,  22 ,   0 ,   0 ,
+    0 ,  22 ,   0 ,   0 ,
+    0 ,  23 ,   0 ,   0 ,
+    0 ,  23 ,   0 ,   0 ,
+    0 ,  24 ,   0 ,   0 ,
+    0 ,  24 ,   0 ,   0 ,
+    0 ,  25 ,   0 ,   0 ,
+    0 ,  25 ,   0 ,   0 ,
+    0 ,  26 ,   0 ,   0 ,
+    0 ,  26 ,   0 ,   0 ,
+    0 ,  27 ,   0 ,   0 ,
+    0 ,  27 ,   0 ,   0 ,
+    0 ,  28 ,   0 ,   0 ,
+    0 ,  28 ,   0 ,   0 ,
+    0 ,  29 ,   0 ,   0 ,
+    0 ,  29 ,   0 ,   0 ,
+    0 ,  30 ,   0 ,   0 ,
+    0 ,  30 ,   0 ,   0 ,
+    0 ,  31 ,   0 ,   0 ,
+    0 ,  31 ,   0 ,   0 ,
+    0 ,  32 ,   0 ,   0 ,
+    0 ,  32 ,   0 ,   0 ,
+    0 ,  33 ,   0 ,   0 ,
+    0 ,  33 ,   0 ,   0 ,
+    0 ,  34 ,   0 ,   0 ,
+    0 ,  34 ,   0 ,   0 ,
+    0 ,  35 ,   0 ,   0 ,
+    0 ,  35 ,   0 ,   0 ,
+    0 ,  36 ,   0 ,   0 ,
+    0 ,  36 ,   0 ,   0 ,
+    0 ,  37 ,   0 ,   0 ,
+    0 ,  37 ,   0 ,   0 ,
+    0 ,  38 ,   0 ,   0 ,
+    0 ,  38 ,   0 ,   0 ,
+    0 ,  39 ,   0 ,   0 ,
+    0 ,  39 ,   0 ,   0 ,
+    0 ,  40 ,   0 ,   0 ,
+    0 ,  40 ,   0 ,   0 ,
+    0 ,  41 ,   0 ,   0 ,
+    0 ,  41 ,   0 ,   0 ,
+    0 ,  42 ,   0 ,   0 ,
+    0 ,  42 ,   0 ,   0 ,
+    0 ,  43 ,   0 ,   0 ,
+    0 ,  43 ,   0 ,   0 ,
+    0 ,  44 ,   0 ,   0 ,
+    0 ,  44 ,   0 ,   0 ,
+    0 ,  45 ,   0 ,   0 ,
+    0 ,  45 ,   0 ,   0 ,
+    0 ,  46 ,   0 ,   0 ,
+    0 ,  46 ,   0 ,   0 ,
+    0 ,  47 ,   0 ,   0 ,
+    0 ,  47 ,   0 ,   0 ,
+    0 ,  48 ,   0 ,   0 ,
+    0 ,  48 ,   0 ,   0 ,
+    0 ,  49 ,   0 ,   0 ,
+    0 ,  49 ,   0 ,   0 ,
+    0 ,  50 ,   0 ,   0 ,
+    0 ,  50 ,   0 ,   0 ,
+    0 ,  51 ,   0 ,   0 ,
+    0 ,  51 ,   0 ,   0 ,
+    0 ,  52 ,   0 ,   0 ,
+    0 ,  52 ,   0 ,   0 ,
+    0 ,  53 ,   0 ,   0 ,
+    0 ,  53 ,   0 ,   0 ,
+    0 ,  54 ,   0 ,   0 ,
+    0 ,  54 ,   0 ,   0 ,
+    0 ,  55 ,   0 ,   0 ,
+    0 ,  55 ,   0 ,   0 ,
+    0 ,  56 ,   0 ,   0 ,
+    0 ,  56 ,   0 ,   0 ,
+    0 ,  57 ,   0 ,   0 ,
+    0 ,  57 ,   0 ,   0 ,
+    0 ,  58 ,   0 ,   0 ,
+    0 ,  58 ,   0 ,   0 ,
+    0 ,  59 ,   0 ,   0 ,
+    0 ,  59 ,   0 ,   0 ,
+    0 ,  60 ,   0 ,   0 ,
+    0 ,  60 ,   0 ,   0 ,
+    0 ,  61 ,   0 ,   0 ,
+    0 ,  61 ,   0 ,   0 ,
+    0 ,  62 ,   0 ,   0 ,
+    0 ,  62 ,   0 ,   0 ,
+    0 ,  63 ,   0 ,   0 ,
+    0 ,  63 ,   0 ,   0 ,
+    0 ,  64 ,   0 ,   0 ,
+    0 ,  64 ,   0 ,   0 ,
+    0 ,  65 ,   0 ,   0 ,
+    0 ,  65 ,   0 ,   0 ,
+    0 ,  66 ,   0 ,   0 ,
+    0 ,  66 ,   0 ,   0 ,
+    0 ,  67 ,   0 ,   0 ,
+    0 ,  67 ,   0 ,   0 ,
+    0 ,  68 ,   0 ,   0 ,
+    0 ,  68 ,   0 ,   0 ,
+    0 ,  69 ,   0 ,   0 ,
+    0 ,  69 ,   0 ,   0 ,
+    0 ,  70 ,   0 ,   0 ,
+    0 ,  70 ,   0 ,   0 ,
+    0 ,  71 ,   0 ,   0 ,
+    0 ,  71 ,   0 ,   0 ,
+    0 ,  72 ,   0 ,   0 ,
+    0 ,  72 ,   0 ,   0 ,
+    0 ,  73 ,   0 ,   0 ,
+    0 ,  73 ,   0 ,   0 ,
+    0 ,  74 ,   0 ,   0 ,
+    0 ,  74 ,   0 ,   0 ,
+    0 ,  75 ,   0 ,   0 ,
+    0 ,  75 ,   0 ,   0 ,
+    0 ,  76 ,   0 ,   0 ,
+    0 ,  76 ,   0 ,   0 ,
+    0 ,  77 ,   0 ,   0 ,
+    0 ,  77 ,   0 ,   0 ,
+    0 ,  78 ,   0 ,   0 ,
+    0 ,  78 ,   0 ,   0 ,
+    0 ,  79 ,   0 ,   0 ,
+    0 ,  79 ,   0 ,   0 ,
+    0 ,  80 ,   0 ,   0 ,
+    0 ,  80 ,   0 ,   0 ,
+    0 ,  81 ,   0 ,   0 ,
+    0 ,  81 ,   0 ,   0 ,
+    0 ,  82 ,   0 ,   0 ,
+    0 ,  82 ,   0 ,   0 ,
+    0 ,  83 ,   0 ,   0 ,
+    0 ,  83 ,   0 ,   0 ,
+    0 ,  84 ,   0 ,   0 ,
+    0 ,  84 ,   0 ,   0 ,
+    0 ,  85 ,   0 ,   0 ,
+    0 ,  85 ,   0 ,   0 ,
+    0 ,  86 ,   0 ,   0 ,
+    0 ,  86 ,   0 ,   0 ,
+    0 ,  87 ,   0 ,   0 ,
+    0 ,  87 ,   0 ,   0 ,
+    0 ,  88 ,   0 ,   0 ,
+    0 ,  88 ,   0 ,   0 ,
+    0 ,  89 ,   0 ,   0 ,
+    0 ,  89 ,   0 ,   0 ,
+    0 ,  90 ,   0 ,   0 ,
+    0 ,  90 ,   0 ,   0 ,
+    0 ,  91 ,   0 ,   0 ,
+    0 ,  91 ,   0 ,   0 ,
+    0 ,  92 ,   0 ,   0 ,
+    0 ,  92 ,   0 ,   0 ,
+    0 ,  93 ,   0 ,   0 ,
+    0 ,  93 ,   0 ,   0 ,
+    0 ,  94 ,   0 ,   0 ,
+    0 ,  94 ,   0 ,   0 ,
+    0 ,  95 ,   0 ,   0 ,
+    0 ,  95 ,   0 ,   0 ,
+    0 ,  96 ,   0 ,   0 ,
+    0 ,  96 ,   0 ,   0 ,
+    0 ,  97 ,   0 ,   0 ,
+    0 ,  97 ,   0 ,   0 ,
+    0 ,  98 ,   0 ,   0 ,
+    0 ,  98 ,   0 ,   0 ,
+    0 ,  99 ,   0 ,   0 ,
+    0 ,  99 ,   0 ,   0 ,
+    0 , 100 ,   0 ,   0 ,
+    0 , 100 ,   0 ,   0 ,
+    0 , 101 ,   0 ,   0 ,
+    0 , 101 ,   0 ,   0 ,
+    0 , 102 ,   0 ,   0 ,
+    0 , 102 ,   0 ,   0 ,
+    0 , 103 ,   0 ,   0 ,
+    0 , 103 ,   0 ,   0 ,
+    0 , 104 ,   0 ,   0 ,
+    0 , 104 ,   0 ,   0 ,
+    0 , 105 ,   0 ,   0 ,
+    0 , 105 ,   0 ,   0 ,
+    0 , 106 ,   0 ,   0 ,
+    0 , 106 ,   0 ,   0 ,
+    0 , 107 ,   0 ,   0 ,
+    0 , 107 ,   0 ,   0 ,
+    0 , 108 ,   0 ,   0 ,
+    0 , 108 ,   0 ,   0 ,
+    0 , 109 ,   0 ,   0 ,
+    0 , 109 ,   0 ,   0 ,
+    0 , 110 ,   0 ,   0 ,
+    0 , 110 ,   0 ,   0 ,
+    0 , 111 ,   0 ,   0 ,
+    0 , 111 ,   0 ,   0 ,
+    0 , 112 ,   0 ,   0 ,
+    0 , 112 ,   0 ,   0 ,
+    0 , 113 ,   0 ,   0 ,
+    0 , 113 ,   0 ,   0 ,
+    0 , 114 ,   0 ,   0 ,
+    0 , 114 ,   0 ,   0 ,
+    0 , 115 ,   0 ,   0 ,
+    0 , 115 ,   0 ,   0 ,
+    0 , 116 ,   0 ,   0 ,
+    0 , 116 ,   0 ,   0 ,
+    0 , 117 ,   0 ,   0 ,
+    0 , 117 ,   0 ,   0 ,
+    0 , 118 ,   0 ,   0 ,
+    0 , 118 ,   0 ,   0 ,
+    0 , 119 ,   0 ,   0 ,
+    0 , 119 ,   0 ,   0 ,
+    0 , 120 ,   0 ,   0 ,
+    0 , 120 ,   0 ,   0 ,
+    0 , 121 ,   0 ,   0 ,
+    0 , 121 ,   0 ,   0 ,
+    0 , 122 ,   0 ,   0 ,
+    0 , 122 ,   0 ,   0 ,
+    0 , 123 ,   0 ,   0 ,
+    0 , 123 ,   0 ,   0 ,
+    0 , 124 ,   0 ,   0 ,
+    0 , 124 ,   0 ,   0 ,
+    0 , 125 ,   0 ,   0 ,
+    0 , 125 ,   0 ,   0 ,
+    0 , 126 ,   0 ,   0 ,
+    0 , 126 ,   0 ,   0 ,
+    0 , 127 ,   0 ,   0 ,
+    0 , 127 ,   0 ,   0
+ };
+ 
+ // 2001.07.09 mrb: Added for presentation mode of DJ970
+ const unsigned char HT600x600x4_Pres970_open[1024]=
+ {
+    0 ,   0 , 255 ,   0 ,
+    0 ,   0 , 255 ,   0 ,
+    0 ,   2 , 255 ,   0 ,
+    0 ,   3 , 255 ,   0 ,
+    0 ,   4 , 255 ,   0 ,
+    0 ,   5 , 255 ,   0 ,
+    0 ,   6 , 255 ,   0 ,
+    0 ,   7 , 255 ,   0 ,
+    0 ,   8 , 255 ,   0 ,
+    0 ,   9 , 255 ,   0 ,
+    0 ,  10 , 255 ,   0 ,
+    0 ,  11 , 255 ,   0 ,
+    0 ,  12 , 255 ,   0 ,
+    0 ,  13 , 255 ,   0 ,
+    0 ,  14 , 255 ,   0 ,
+    0 ,  15 , 255 ,   0 ,
+    0 ,  16 , 255 ,   0 ,
+    0 ,  17 , 255 ,   0 ,
+    0 ,  18 , 255 ,   0 ,
+    0 ,  19 , 255 ,   0 ,
+    0 ,  20 , 255 ,   0 ,
+    0 ,  21 , 255 ,   0 ,
+    0 ,  22 , 255 ,   0 ,
+    0 ,  23 , 255 ,   0 ,
+    0 ,  24 , 255 ,   0 ,
+    0 ,  25 , 255 ,   0 ,
+    0 ,  26 , 255 ,   0 ,
+    0 ,  27 , 255 ,   0 ,
+    0 ,  28 , 255 ,   0 ,
+    0 ,  29 , 255 ,   0 ,
+    0 ,  30 , 255 ,   0 ,
+    0 ,  31 , 255 ,   0 ,
+    0 ,  32 , 255 ,   0 ,
+    0 ,  33 , 255 ,   0 ,
+    0 ,  34 , 255 ,   0 ,
+    0 ,  35 , 255 ,   0 ,
+    0 ,  36 , 255 ,   0 ,
+    0 ,  37 , 255 ,   0 ,
+    0 ,  38 , 255 ,   0 ,
+    0 ,  39 , 255 ,   0 ,
+    0 ,  40 , 255 ,   0 ,
+    0 ,  41 , 255 ,   0 ,
+    0 ,  42 , 255 ,   0 ,
+    0 ,  43 , 255 ,   0 ,
+    0 ,  44 , 255 ,   0 ,
+    0 ,  45 , 255 ,   0 ,
+    0 ,  46 , 255 ,   0 ,
+    0 ,  47 , 255 ,   0 ,
+    0 ,  48 , 255 ,   0 ,
+    0 ,  49 , 255 ,   0 ,
+    0 ,  50 , 255 ,   0 ,
+    0 ,  51 , 255 ,   0 ,
+    0 ,  52 , 255 ,   0 ,
+    0 ,  53 , 255 ,   0 ,
+    0 ,  54 , 255 ,   0 ,
+    0 ,  55 , 255 ,   0 ,
+    0 ,  56 , 255 ,   0 ,
+    0 ,  57 , 255 ,   0 ,
+    0 ,  58 , 255 ,   0 ,
+    0 ,  59 , 255 ,   0 ,
+    0 ,  60 , 255 ,   0 ,
+    0 ,  61 , 255 ,   0 ,
+    0 ,  62 , 255 ,   0 ,
+    0 ,  63 , 255 ,   0 ,
+    0 ,  64 , 255 ,   0 ,
+    0 ,  65 , 255 ,   0 ,
+    0 ,  66 , 255 ,   0 ,
+    0 ,  67 , 255 ,   0 ,
+    0 ,  68 , 255 ,   0 ,
+    0 ,  69 , 255 ,   0 ,
+    0 ,  70 , 255 ,   0 ,
+    0 ,  71 , 255 ,   0 ,
+    0 ,  72 , 255 ,   0 ,
+    0 ,  73 , 255 ,   0 ,
+    0 ,  74 , 255 ,   0 ,
+    0 ,  75 , 255 ,   0 ,
+    0 ,  76 , 255 ,   0 ,
+    0 ,  77 , 255 ,   0 ,
+    0 ,  78 , 255 ,   0 ,
+    0 ,  79 , 255 ,   0 ,
+    0 ,  80 , 255 ,   0 ,
+    0 ,  81 , 255 ,   0 ,
+    0 ,  82 , 255 ,   0 ,
+    0 ,  83 , 255 ,   0 ,
+    0 ,  84 , 255 ,   0 ,
+    0 ,  85 , 255 ,   0 ,
+    0 ,  86 , 255 ,   0 ,
+    0 ,  87 , 255 ,   0 ,
+    0 ,  88 , 255 ,   0 ,
+    0 ,  89 , 255 ,   0 ,
+    0 ,  90 , 255 ,   0 ,
+    0 ,  91 , 255 ,   0 ,
+    0 ,  92 , 255 ,   0 ,
+    0 ,  93 , 255 ,   0 ,
+    0 ,  94 , 255 ,   0 ,
+    0 ,  95 , 255 ,   0 ,
+    0 ,  96 , 255 ,   0 ,
+    0 ,  97 , 255 ,   0 ,
+    0 ,  98 , 255 ,   0 ,
+    0 ,  99 , 255 ,   0 ,
+    0 , 100 , 255 ,   0 ,
+    0 , 101 , 255 ,   0 ,
+    0 , 102 , 255 ,   0 ,
+    0 , 103 , 255 ,   0 ,
+    0 , 104 , 255 ,   0 ,
+    0 , 105 , 255 ,   0 ,
+    0 , 106 , 255 ,   0 ,
+    0 , 107 , 255 ,   0 ,
+    0 , 108 , 255 ,   0 ,
+    0 , 109 , 255 ,   0 ,
+    0 , 110 , 255 ,   0 ,
+    0 , 111 , 255 ,   0 ,
+    0 , 112 , 255 ,   0 ,
+    0 , 113 , 255 ,   0 ,
+    0 , 114 , 255 ,   0 ,
+    0 , 115 , 255 ,   0 ,
+    0 , 116 , 255 ,   0 ,
+    0 , 117 , 255 ,   0 ,
+    0 , 118 , 255 ,   0 ,
+    0 , 119 , 255 ,   0 ,
+    0 , 120 , 255 ,   0 ,
+    0 , 121 , 255 ,   0 ,
+    0 , 122 , 255 ,   0 ,
+    0 , 123 , 255 ,   0 ,
+    0 , 124 , 255 ,   0 ,
+    0 , 125 , 255 ,   0 ,
+    0 , 126 , 255 ,   0 ,
+    0 , 127 , 255 ,   0 ,
+    0 , 129 , 255 ,   0 ,
+    0 , 131 , 255 ,   0 ,
+    0 , 133 , 255 ,   0 ,
+    0 , 135 , 255 ,   0 ,
+    0 , 137 , 255 ,   0 ,
+    0 , 139 , 255 ,   0 ,
+    0 , 141 , 255 ,   0 ,
+    0 , 143 , 255 ,   0 ,
+    0 , 145 , 255 ,   0 ,
+    0 , 147 , 255 ,   0 ,
+    0 , 149 , 255 ,   0 ,
+    0 , 151 , 255 ,   0 ,
+    0 , 153 , 255 ,   0 ,
+    0 , 155 , 255 ,   0 ,
+    0 , 157 , 255 ,   0 ,
+    0 , 159 , 255 ,   0 ,
+    0 , 161 , 255 ,   0 ,
+    0 , 163 , 255 ,   0 ,
+    0 , 165 , 255 ,   0 ,
+    0 , 167 , 255 ,   0 ,
+    0 , 169 , 255 ,   0 ,
+    0 , 171 , 255 ,   0 ,
+    0 , 173 , 255 ,   0 ,
+    0 , 175 , 255 ,   0 ,
+    0 , 177 , 255 ,   0 ,
+    0 , 179 , 255 ,   0 ,
+    0 , 181 , 255 ,   0 ,
+    0 , 183 , 255 ,   0 ,
+    0 , 185 , 255 ,   0 ,
+    0 , 187 , 255 ,   0 ,
+    0 , 189 , 255 ,   0 ,
+    0 , 191 , 255 ,   0 ,
+    0 , 193 , 255 ,   0 ,
+    0 , 195 , 255 ,   0 ,
+    0 , 197 , 255 ,   0 ,
+    0 , 199 , 255 ,   0 ,
+    0 , 201 , 255 ,   0 ,
+    0 , 203 , 255 ,   0 ,
+    0 , 205 , 255 ,   0 ,
+    0 , 207 , 255 ,   0 ,
+    0 , 209 , 255 ,   0 ,
+    0 , 211 , 255 ,   0 ,
+    0 , 213 , 255 ,   0 ,
+    0 , 215 , 255 ,   0 ,
+    0 , 217 , 255 ,   0 ,
+    0 , 219 , 255 ,   0 ,
+    0 , 221 , 255 ,   0 ,
+    0 , 223 , 255 ,   0 ,
+    0 , 225 , 255 ,   0 ,
+    0 , 227 , 255 ,   0 ,
+    0 , 229 , 255 ,   0 ,
+    0 , 231 , 255 ,   0 ,
+    0 , 233 , 255 ,   0 ,
+    0 , 235 , 255 ,   0 ,
+    0 , 237 , 255 ,   0 ,
+    0 , 239 , 255 ,   0 ,
+    0 , 241 , 255 ,   0 ,
+    0 , 243 , 255 ,   0 ,
+    0 , 245 , 255 ,   0 ,
+    0 , 247 , 255 ,   0 ,
+    0 , 249 , 255 ,   0 ,
+    0 , 251 , 255 ,   0 ,
+    0 , 253 , 255 ,   0 ,
+    0 , 255 , 255 ,   0 ,
+    1 ,   1 , 255 ,   0 ,
+    1 ,   3 , 255 ,   0 ,
+    1 ,   5 , 255 ,   0 ,
+    1 ,   7 , 255 ,   0 ,
+    1 ,   9 , 255 ,   0 ,
+    1 ,  11 , 255 ,   0 ,
+    1 ,  13 , 255 ,   0 ,
+    1 ,  15 , 255 ,   0 ,
+    1 ,  17 , 255 ,   0 ,
+    1 ,  19 , 255 ,   0 ,
+    1 ,  21 , 255 ,   0 ,
+    1 ,  23 , 255 ,   0 ,
+    1 ,  25 , 255 ,   0 ,
+    1 ,  27 , 255 ,   0 ,
+    1 ,  29 , 255 ,   0 ,
+    1 ,  31 , 255 ,   0 ,
+    1 ,  33 , 255 ,   0 ,
+    1 ,  35 , 255 ,   0 ,
+    1 ,  37 , 255 ,   0 ,
+    1 ,  39 , 255 ,   0 ,
+    1 ,  41 , 255 ,   0 ,
+    1 ,  43 , 255 ,   0 ,
+    1 ,  45 , 255 ,   0 ,
+    1 ,  47 , 255 ,   0 ,
+    1 ,  49 , 255 ,   0 ,
+    1 ,  51 , 255 ,   0 ,
+    1 ,  53 , 255 ,   0 ,
+    1 ,  55 , 255 ,   0 ,
+    1 ,  57 , 255 ,   0 ,
+    1 ,  59 , 255 ,   0 ,
+    1 ,  61 , 255 ,   0 ,
+    1 ,  63 , 255 ,   0 ,
+    1 ,  65 , 255 ,   0 ,
+    1 ,  67 , 255 ,   0 ,
+    1 ,  69 , 255 ,   0 ,
+    1 ,  71 , 255 ,   0 ,
+    1 ,  73 , 255 ,   0 ,
+    1 ,  75 , 255 ,   0 ,
+    1 ,  77 , 255 ,   0 ,
+    1 ,  79 , 255 ,   0 ,
+    1 ,  81 , 255 ,   0 ,
+    1 ,  83 , 255 ,   0 ,
+    1 ,  85 , 255 ,   0 ,
+    1 ,  87 , 255 ,   0 ,
+    1 ,  89 , 255 ,   0 ,
+    1 ,  91 , 255 ,   0 ,
+    1 ,  93 , 255 ,   0 ,
+    1 ,  95 , 255 ,   0 ,
+    1 ,  97 , 255 ,   0 ,
+    1 ,  99 , 255 ,   0 ,
+    1 , 101 , 255 ,   0 ,
+    1 , 103 , 255 ,   0 ,
+    1 , 105 , 255 ,   0 ,
+    1 , 107 , 255 ,   0 ,
+    1 , 109 , 255 ,   0 ,
+    1 , 111 , 255 ,   0 ,
+    1 , 113 , 255 ,   0 ,
+    1 , 115 , 255 ,   0 ,
+    1 , 117 , 255 ,   0 ,
+    1 , 119 , 255 ,   0 ,
+    1 , 121 , 255 ,   0 ,
+    1 , 123 , 255 ,   0 ,
+    1 , 125 , 255 ,   0 ,
+    1 , 127 , 255 ,   0
+};
 APDK_END_NAMESPACE
diff -r -N -u hpijs-1.2.2/creator.cpp hpijs-1.2.2-rss.2/creator.cpp
--- hpijs-1.2.2/creator.cpp	Mon May 20 23:08:53 2002
+++ hpijs-1.2.2-rss.2/creator.cpp	Mon Oct 14 08:51:22 2002
@@ -86,6 +86,14 @@
     return (BYTE*)HT600x6004level970_open;
 }
 
+// 2001.07.09 mrb: Added for photo glossy mode of DJ970
+BYTE* GetHT12x12x1_PhotoPres_970()
+{ return (BYTE*)HT1200x1200x1_PhotoPres970_open; }
+
+// 2001.07.09 mrb: Added for presentation mode of DJ970
+BYTE* GetHT6x6x4_Pres_970()
+{ return (BYTE*)HT600x600x4_Pres970_open; }
+
 // functions to identify versions of system
 BOOL ProprietaryImaging()
 {
diff -r -N -u hpijs-1.2.2/dj660_maps.cpp hpijs-1.2.2-rss.2/dj660_maps.cpp
--- hpijs-1.2.2/dj660_maps.cpp	Thu Sep  5 01:35:33 2002
+++ hpijs-1.2.2-rss.2/dj660_maps.cpp	Mon Oct 14 08:51:22 2002
@@ -38,7 +38,10 @@
 //const
 uint32_t ulMapVOLTAIRE_CCM_KCMY[ 9 * 9 * 9 ]=
     {
-        422720226UL, 142187374UL, 94354238UL, 62442785UL, 45668877UL, 27648516UL, 8972032UL, 7335680UL, 5895424UL,
+// 2001.06.14 mrb: Replaced the first entry so the printer will
+// use only the black pen when he should print real black.
+//		422720226UL, 142187374UL, 94354238UL, 62442785UL, 45668877UL, 27648516UL, 8972032UL, 7335680UL, 5895424UL, 
+ 		226UL, 142187374UL, 94354238UL, 62442785UL, 45668877UL, 27648516UL, 8972032UL, 7335680UL, 5895424UL,
 2519110233UL, 807846483UL, 391693109UL, 260029471UL, 143570703UL, 42776580UL, 8501760UL, 7782400UL, 6539520UL,
 3072173868UL, 1881129514UL, 841465387UL, 524792087UL, 358391818UL, 174364420UL, 40408577UL, 6920704UL, 6530560UL,
 3407591425UL, 2551891200UL, 1612695808UL, 824489479UL, 506699268UL, 306153730UL, 105283329UL, 5144320UL, 5737216UL,
diff -r -N -u hpijs-1.2.2/dj690_maps.cpp hpijs-1.2.2-rss.2/dj690_maps.cpp
--- hpijs-1.2.2/dj690_maps.cpp	Thu Sep  5 01:35:55 2002
+++ hpijs-1.2.2-rss.2/dj690_maps.cpp	Mon Oct 14 08:51:22 2002
@@ -38,7 +38,10 @@
 uint32_t ulMapCONQUEST_CMYK[ 9 * 9 * 9 ]=
 // CONQUEST_CMYK
     {
- 337848575UL,   37838470UL,  155209268UL,  137905152UL,   36454656UL,    2310144UL,
+// 2001.06.14 mrb: Replaced the first entry so the printer will
+// use only the black pen when he should print real black.
+// 337848575UL,   37838470UL,  155209268UL,  137905152UL,   36454656UL,    2310144UL, 
+ 226UL,   37838470UL,  155209268UL,  137905152UL,   36454656UL,    2310144UL,
    2179072UL,    2051072UL,    1733120UL, 2013280119UL,  385897321UL,  303379741UL,
  270610688UL,  102772224UL,    1844992UL,    1911552UL,    1847296UL,    1784832UL,
 2080387626UL, 1157643294UL,  452996881UL,  335555072UL,  202384384UL,   50991872UL,
diff -r -N -u hpijs-1.2.2/dj895_maps.cpp hpijs-1.2.2-rss.2/dj895_maps.cpp
--- hpijs-1.2.2/dj895_maps.cpp	Thu Sep  5 01:38:55 2002
+++ hpijs-1.2.2-rss.2/dj895_maps.cpp	Mon Oct 14 08:51:22 2002
@@ -37,7 +37,10 @@
 
 uint32_t ulMapVENICE_KCMY[ 9*9*9 ]=
 {
-1819176703UL, 79494215UL, 112983330UL, 79035667UL, 78183948UL, 60489224UL, 59571718UL, 42007811UL, 7405312UL,
+// 2001.06.14 mrb: Replaced the first entry so the printer will
+// use only the black pen when he should print real black.
+//1819176703UL, 79494215UL, 112983330UL, 79035667UL, 78183948UL, 60489224UL, 59571718UL, 42007811UL, 7405312UL, 
+226UL, 79494215UL, 112983330UL, 79035667UL, 78183948UL, 60489224UL, 59571718UL, 42007811UL, 7405312UL,
 4230922555UL, 655358293UL, 176553263UL, 128253208UL, 61209869UL, 60751368UL, 26606852UL, 9305345UL, 8650496UL,
 4248940299UL, 3776766759UL, 756415798UL, 308083743UL, 142671120UL, 59440646UL, 9239553UL, 9109248UL, 8779520UL,
 4248086274UL, 4214276619UL, 2786390812UL, 942206231UL, 491516427UL, 224131588UL, 6616320UL, 7399168UL, 7857664UL,
diff -r -N -u hpijs-1.2.2/dj895_maps2.cpp hpijs-1.2.2-rss.2/dj895_maps2.cpp
--- hpijs-1.2.2/dj895_maps2.cpp	Thu Sep  5 01:38:33 2002
+++ hpijs-1.2.2-rss.2/dj895_maps2.cpp	Mon Oct 14 08:51:22 2002
@@ -179,7 +179,10 @@
 
 uint32_t ulMapVENICE_Binary_KCMY[ 9*9*9 ]=
 {
-1819176648UL,   64158794UL,   80805158UL,   80215318UL,   62389519UL,   61406730UL,
+// 2001.06.14 mrb: Replaced the first entry so the printer will
+// use only the black pen when he should print real black.
+//1819176648UL,   64158794UL,   80805158UL,   80215318UL,   62389519UL,   61406730UL, 
+226UL,   64158794UL,   80805158UL,   80215318UL,   62389519UL,   61406730UL,
   60292615UL,   42401028UL,    7601920UL, 4230922301UL,  571406681UL,  160889651UL,
  113048859UL,   62717200UL,   45415944UL,   27917573UL,   10419457UL,    9238272UL,
 4248940557UL, 3743081259UL,  790296119UL,  325515810UL,  127007505UL,   27196678UL,
diff -r -N -u hpijs-1.2.2/dj970_maps.cpp hpijs-1.2.2-rss.2/dj970_maps.cpp
--- hpijs-1.2.2/dj970_maps.cpp	Thu Sep  5 01:39:53 2002
+++ hpijs-1.2.2-rss.2/dj970_maps.cpp	Mon Oct 14 08:51:22 2002
@@ -127,7 +127,10 @@
 
 uint32_t ulMapBROADWAY_KCMY[ 9*9*9 ]=
 {
-976236799UL,  280493625UL,  398065443UL,  380960535UL,  347078160UL,  363724298UL,
+// 2001.06.14 mrb: Replaced the first entry so the printer will
+// use only the black pen when he should print real black.
+//976236799UL,  280493625UL,  398065443UL,  380960535UL,  347078160UL,  363724298UL,
+       226UL,  280493625UL,  398065443UL,  380960535UL,  347078160UL,  363724298UL,
  498335489UL,  313130752UL,   10092288UL, 4279031100UL,  774831941UL,  562954021UL,
  446955286UL,  346423054UL,  447610628UL,  413990656UL,  212074240UL,    9895680UL,
 4280144159UL, 3457285931UL, 1027473182UL,  763035409UL,  428604936UL,  345571072UL,
diff -r -N -u hpijs-1.2.2/dj970_maps3.cpp hpijs-1.2.2-rss.2/dj970_maps3.cpp
--- hpijs-1.2.2/dj970_maps3.cpp	Thu Sep  5 01:21:56 2002
+++ hpijs-1.2.2-rss.2/dj970_maps3.cpp	Mon Oct 14 08:51:22 2002
@@ -37,7 +37,8 @@
 
 uint32_t ulMapBROADWAY_Draft_KCMY[ 9*9*9 ]=
 {
-1802205183UL,   22740362UL,    5832524UL,    5635892UL,    5570340UL,    5308188UL,
+//1802205183UL,   22740362UL,    5832524UL,    5635892UL,    5570340UL,    5308188UL,
+       226UL,   22740362UL,    5832524UL,    5635892UL,    5570340UL,    5308188UL,
    5308180UL,    5504778UL,    5504768UL, 4278239136UL,      65446UL,    4194132UL,
    5308210UL,    5373728UL,    5308182UL,    5504784UL,    5504776UL,    5504768UL,
 4278498896UL, 1862336354UL,      65388UL,    2621242UL,    4128540UL,    4718348UL,
diff -r -N -u hpijs-1.2.2/dj9xx.cpp hpijs-1.2.2-rss.2/dj9xx.cpp
--- hpijs-1.2.2/dj9xx.cpp	Wed Aug 21 00:02:53 2002
+++ hpijs-1.2.2-rss.2/dj9xx.cpp	Mon Oct 14 11:15:28 2002
@@ -44,6 +44,9 @@
 APDK_BEGIN_NAMESPACE
 extern BYTE* GetHT3x3_4();
 extern BYTE* GetHT6x6_4_970();
+// 2001.07.09 mrb: Added for presentation and photo glossy mode of DJ970
+extern BYTE* GetHT12x12x1_PhotoPres_970();
+extern BYTE* GetHT6x6x4_Pres_970();
 APDK_END_NAMESPACE
 #endif
 
@@ -80,10 +83,19 @@
     pMode[GRAYMODE_INDEX]      = new BroadwayMode3 ();   // Draft Grayscale K
     pMode[SPECIALMODE_INDEX+1] = new BroadwayMode4 ();   // Normal Grayscale K
     pMode[SPECIALMODE_INDEX+2] = new BroadwayMode5 ();   // Draft Color
-    ModeCount = 5;
+	 // 2001.06.14 mrb: The following two modes added
+    pMode[PRESMODE_INDEX] = new BroadwayModePres();
+    pMode[PHOTOPRESMODE_INDEX] = new BroadwayModePhotoPres();
+// 2002.07.06 mrb+rss: We now have 7 instead of 5 modes
+    ModeCount=7;
 #else
     pMode[GRAYMODE_INDEX]    = new GrayMode (ulMapVOLTAIRE_CCM_K);
-    ModeCount=3;
+
+	 // 2001.06.14 mrb: The following two modes added
+    pMode[PRESMODE_INDEX] = new BroadwayModePres();
+    pMode[PHOTOPRESMODE_INDEX] = new BroadwayModePhotoPres();
+// 2001.06.14 mrb: We now have 5 instead of 3 modes
+    ModeCount=6;
 #endif
 
     CMYMap = ulMapBROADWAY_KCMY;
@@ -157,6 +169,71 @@
 
     pmQuality   = QUALITY_BEST;
     pmMediaType = MEDIA_PHOTO;
+}
+
+// 2001.06.14 mrb: Added Presentation Mode: 600x600x2 for color,
+//                                          600x600x1 for b/w
+BroadwayModePres::BroadwayModePres()
+: PrintMode(ulMapBROADWAY_KCMY)
+// 600x600x1 K
+// 600x600x2 CMY
+{
+    ColorDepth[K]=1;
+    
+    ColorDepth[C]=2;
+    ColorDepth[M]=2;
+    ColorDepth[Y]=2;
+
+    ResolutionX[K]=ResolutionY[K]=600;
+    TextRes=600;
+
+    ResolutionX[C]=ResolutionY[C]=600;
+    ResolutionX[M]=ResolutionY[M]=600;
+    ResolutionX[Y]=ResolutionY[Y]=600;
+
+    BaseResX = BaseResY = 600;
+    theQuality = qualityPresentation;
+#ifdef APDK_AUTODUPLEX
+    bDuplexCapable = TRUE;
+#endif
+
+    // 2001.07.09 mrb: Added for presentation mode of DJ970
+    ColorFEDTable = GetHT6x6x4_Pres_970();
+
+//    strcpy(ModeName, "Presentation");
+    pmQuality   = QUALITY_BEST;
+}
+
+// 2001.06.14 mrb: Added Presentation Photo Mode: 1200x1200x1 for color,
+BroadwayModePhotoPres::BroadwayModePhotoPres()
+: PrintMode(ulMapBROADWAY_Gossimer_Normal_KCMY) 
+// 1200x1200x1 CMY
+{
+    ColorDepth[K]=1;
+    ColorDepth[C]=1;
+    ColorDepth[M]=1;
+    ColorDepth[Y]=1;
+
+    ResolutionX[K]=ResolutionY[K]=1200;
+    ResolutionX[C]=ResolutionY[C]=1200;
+    ResolutionX[M]=ResolutionY[M]=1200;
+    ResolutionX[Y]=ResolutionY[Y]=1200;
+
+    BaseResX = BaseResY = 1200;
+
+    medium = mediaGlossy;
+    theQuality = qualityPresentation;
+
+    // 2001.07.09 mrb: Added for presentation mode of DJ970
+    ColorFEDTable = GetHT12x12x1_PhotoPres_970();
+
+//    strcpy(ModeName, "PhotoPres");
+    bFontCapable=FALSE;
+    pmQuality   = QUALITY_HIGHRES_PHOTO;
+    pmMediaType = MEDIA_PHOTO;
+#ifdef APDK_AUTODUPLEX
+    bDuplexCapable = FALSE;
+#endif
 }
 
 #ifdef APDK_AUTODUPLEX
diff -r -N -u hpijs-1.2.2/dj9xx.h hpijs-1.2.2-rss.2/dj9xx.h
--- hpijs-1.2.2/dj9xx.h	Tue Jun 11 01:59:47 2002
+++ hpijs-1.2.2-rss.2/dj9xx.h	Mon Oct 14 08:51:22 2002
@@ -110,6 +110,28 @@
 };
 #endif // APDK_AUTODUPLEX
 
+// 2001.06.14 mrb: The following three modes added
+class BroadwayModePres : public PrintMode
+{
+public:
+    BroadwayModePres();
+
+};
+
+class BroadwayModePhotoPres : public PrintMode
+{
+public:
+    BroadwayModePhotoPres();
+
+};
+
+class BroadwayModeDraft : public PrintMode
+{
+public:
+    BroadwayModeDraft();
+
+};
+
 
 #ifdef APDK_PROTO
 extern PEN_TYPE ProtoPenType;
diff -r -N -u hpijs-1.2.2/hpijs_readme.html hpijs-1.2.2-rss.2/hpijs_readme.html
--- hpijs-1.2.2/hpijs_readme.html	Thu Sep  5 02:51:13 2002
+++ hpijs-1.2.2-rss.2/hpijs_readme.html	Mon Oct 14 11:16:44 2002
@@ -33,6 +33,7 @@
 <ul>
 <li><a href="#Spool">7.1 Spooler Example</a>
 <li><a href="#Command">7.2 Ghostscript Example</a>
+<li><a href="#NewCommand">7.3 Ghostscript Example of the new modes</a>
 </ul>
 <li><a href="http://sourceforge.net/projects/hpinkjet/">8 Project Development</a>
 </ul>
@@ -367,6 +368,15 @@
    <b>Photo</b> 
      Quality=2 ColorMode=2 MediaType=2 PenSet=2	    
 </pre>
+<p>The following modes have been added thanks to a patch by Matthias Bunte which has been
+updated for use with v1.2.2 of hpijs. Presentation mode offers 600x600 resolution in color on
+normal media, and HiRes Photo gives 1200x1200 in color on Photo paper
+<pre>
+   <b>Presentation Color</b>
+     Quality=2 ColorMode=2 MediaType=0 PenSet=2
+   <b>HiRes Photo</b>
+     Quality=3 ColorMode=2 MediaType=2 PenSet=2
+</pre>
 <p>
 <li>
 <b>DeskJet 990C series (DJ9xxVIP)</b> -  This device class supports the DESKJET 960, DESKJET 980, DESKJET 990, DESKJET 995,  
@@ -573,6 +583,23 @@
 <H2><a name="Updates"></a>5 Updates</H2>
 <ul>
 <li>
+<b>HPIJS 1.2.2-rss.2</b> - This release has the following changes.
+<pre>
+   1. Fixed the problem where duplex wasn't working with the newly added modes (presentation and high res photo)
+	2. Removed the sample .ppd file, now that Linuxprinting.org has full support for this patch.
+</pre>
+<p>
+<li>
+<b>HPIJS 1.2.2-rss.1</b> - This release has the following changes.
+<pre>
+   1. Applied Matthias Bunte's 0.97 patch to the current (1.2.2) version. Features include:
+      - Changed color modes to use Black pen for Black text
+      - Added Presentation Mode (600x600dpi, plain paper)
+      - Added HiRes Photo Mode (1200x1200dpi, photo paper)
+      - Included a sample .ppd file (for Cups and my own 920c)
+</pre>
+<p>
+<li>
 <b>HPIJS 1.2.2</b> - This release has the following changes.
 <pre>
    1. Made support for stdint.h conditional.
@@ -974,6 +1001,19 @@
 $ convert -rotate 90 p8160010.jpg p8160010.png
 $ convert -page 324x432-18+0 p8160010.png photo.ps
 $ gs -sDEVICE=ijs -sIjsServer=hpijs -dIjsUseOutputFD -sDeviceManufacturer="HEWLETT-PACKARD" -sDeviceModel="PHOTOSMART 100" -r600 -sIjsParams="Quality:FullBleed=1" -dNOPAUSE -dSAFER -sOutputFile="/dev/usb/lp0" -dDEVICEWIDTHPOINTS=288 -dDEVICEHEIGHTPOINTS=432 photo.ps -c quit
+</pre>
+<p>
+<H4><a name="NewCommand"></a>7.3 Ghostscript Examples of the new modes</H4>
+Here are two Ghostscript examples using our patched driver on a 920C deskjet from the command line.
+This command bye passes the spooler and prints directly to the printer.
+You must be logged in as root in order direct the output directly to /dev/lp0.
+<p>The first prints in Presentation Mode, color at 600x600 resolution.
+<pre>
+$ gs -sDEVICE=ijs -sIjsServer=hpijs -dIjsUseOutputFD -sDeviceManufacturer="HEWLETT-PACKARD" -sDeviceModel="DESKJET 920" -r600 -sIjsParams="Quality:Quality=2,Quality:ColorMode=2,Quality:MediaType=0,Quality:PenSet=2" -dNOPAUSE -dSAFER -sOutputFile="/dev/lp0" file.ps -c quit
+</pre>
+<p>The second prints in Hi Resolution Mode, color at 1200x1200.
+<pre>
+$ gs -sDEVICE=ijs -sIjsServer=hpijs -dIjsUseOutputFD -sDeviceManufacturer="HEWLETT-PACKARD" -sDeviceModel="DESKJET 920" -r1200 -sIjsParams="Quality:Quality=3,Quality:ColorMode=2,Quality:MediaType=2,Quality:PenSet=2" -dNOPAUSE -dSAFER -sOutputFile="/dev/lp0" file.ps -c quit
 </pre>
 <p>
 <hr>
diff -r -N -u hpijs-1.2.2/modes.h hpijs-1.2.2-rss.2/modes.h
--- hpijs-1.2.2/modes.h	Mon May 20 23:08:53 2002
+++ hpijs-1.2.2-rss.2/modes.h	Mon Oct 14 08:51:22 2002
@@ -1,6 +1,11 @@
-#define MAX_PRINTMODES 8
+#define MAX_PRINTMODES 7
 
 #define GRAYMODE_INDEX 0
 #define DEFAULTMODE_INDEX 1
 #define SPECIALMODE_INDEX 2
 #define EXTRASPECIALMODE_INDEX 3
+
+// 2001.06.14 mrb: These are the additional modes
+#define DRAFTMODE_INDEX 4
+#define PRESMODE_INDEX 5
+#define PHOTOPRESMODE_INDEX 6
diff -r -N -u hpijs-1.2.2/resources.h hpijs-1.2.2-rss.2/resources.h
--- hpijs-1.2.2/resources.h	Mon May 20 23:08:53 2002
+++ hpijs-1.2.2-rss.2/resources.h	Mon Oct 14 08:51:22 2002
@@ -44,4 +44,8 @@
 extern const unsigned char HT600x6004level970_open[1024];
 extern const unsigned char HT600x6004level970_prop[1024];
 
+// 2001.07.09 mrb: Added for presentation and photo glossy mode of DJ970
+extern const unsigned char HT1200x1200x1_PhotoPres970_open[1024];
+extern const unsigned char HT600x600x4_Pres970_open[1024];
+
 APDK_END_NAMESPACE

