home *** CD-ROM | disk | FTP | other *** search
/ Otherware / Otherware_1_SB_Development.iso / amiga / info / dj500c.lha / MP_DESKJET_C_README < prev    next >
Encoding:
Text File  |  1992-03-14  |  7.4 KB  |  203 lines

  1.  
  2. Please read whole file: latest changes will be at the end.
  3.  
  4. MP_DeskJet_C Printer Driver -  buffered version
  5. -----------------------------------------------
  6.  
  7. 2/8/92 - Beta release 0.9.9
  8.  
  9. MAXIMUM memory required (full 8 x 10.750 image): 3 megabytes (color) 
  10.                                                  1 megabyte (not color)
  11.  
  12. Revised version of my never-quite-released DeskJet driver.
  13.  
  14. Oh, I passed it out, but found bugs and never got the debugged version
  15. out to the public after PeopleLink folded.
  16.  
  17. Monochrome graphics have been tested here on my DeskJet PLUS, but the color
  18. hasn't been tested as of today.  That's the job of whoever downloads this.
  19.  
  20. Graphics data is compressed before sending to the printer, using the
  21. "TIFF PackBits" or method 2 compression scheme.
  22.  
  23. This driver is designed to be a DeskJet PLUS driver, not a real 500 C driver
  24. or even a monochrome 500.  Fonts not supported by a PLUS aren't used.
  25.  
  26. Density settings: 1 -  50 DPI
  27.                   2 - 100 DPI
  28.                   3 - 150 DPI
  29.                   4 - 300 DPI
  30.  
  31. This driver creates a complete image of the printout in RAM, then copies
  32. it to the printer.  It "asks" via an Alert message at the end of the 
  33. printout if you want another copy (much faster than doing another dump;
  34. not as effective as using the CMD program to send the image to disk.)
  35.  
  36. If you don't ever want copies, set Preferences' Paper Type to FANFOLD.
  37. No Alert, no copies.
  38.  
  39. The time it takes for the printer to start printing varies from 2 to 8
  40. minutes, depending on the density setting and the size of the image being
  41. printed.
  42.  
  43. The manual says that Shingling and Depletion will produce big quality
  44. improvements when used, so I added a lame method of setting them. The
  45. Threshold slider in Preferences is only meant to control what level of
  46. black is printed in Black&White print mode.  I decided to use it for Grey
  47. Scale and Color modes to control shingling and depletion. (Please note that
  48. the manual says monochrome graphics will NOT be depleted.)  If you REALLY
  49. print a lot of stuff in Black&White mode and find the threshold settings
  50. annoying, write and tell me a better way to do it without having to code
  51. myself to death.
  52.  
  53.  
  54. The threshold settings are as follows:
  55.  
  56. Threshold       1     2     3     4     5     6     7     8     9
  57.  
  58. Shingling     none   50%   25%  none   50%   25%  none   50%   25% 
  59.  
  60. Depletion     none  none  none   25%   25%   25%   50%   50%   50%
  61.  
  62.  
  63. The manual also lists "Draft", "Normal", and "Best" modes, based on 
  64. these settings.
  65.  
  66.   Draft:  150 DPI (density 3), no Shingling or Depletion (Threshold 1)
  67.  
  68.   Normal: 300 DPI (density 4), Shingling 50% and Depletion 25% (Threshold 5)
  69.  
  70.   Best:   300 DPI (density 4), Shingling 25% and Depletion 25% (Threshold 6)
  71.  
  72.  
  73. If you find this driver useful, please send $5 or so to:
  74.  
  75. Michael Paul
  76. Box 9222
  77. New Haven, CT  06533
  78.  
  79. Praise minus cash, sample printouts of nice looking women, complaints, and 
  80. other communications also accepted.
  81.  
  82. If enough funding comes in, I can afford to buy a DeskJet C and work on some
  83. improvements.  The 500 series models have more built-in fonts that could
  84. be supported.  Compression methods 3 and 9 in the manual look like they
  85. would be much better for color due to potentially higher compression ratios.
  86.  
  87. I intend no changes that will prevent this driver from working on any
  88. monochrome models of the DeskJet.
  89.  
  90. ---------------------------------
  91.  
  92. 2/15/92
  93.  
  94. Dithering secrets uncovered.
  95.  
  96. The dither matrix was a 4 x 4 set of numbers:
  97.  
  98.      0  8  2 10         o X o X
  99.     12  4 14  6   or    X o X o  as dither matrix stuff goes.
  100.      3 11  1  9         o X o X
  101.     14  7 13  5         X o X o
  102.  
  103. When the dither matrix is compared to a potential pixel, that pixel must
  104. have a value higher than the matrix to be printed.  Lower matrix numbers 
  105. make it more likely to print a pixel, higher ones are less likely.  Pixels
  106. with a value of 15 will always print.
  107.  
  108. What I've done so far is to add 2 to each of the low values (corresponding
  109. to the 'o' in the second matrix) which makes it a little harder for those
  110. pixels to print.
  111.  
  112. I like the results, so I'm letting others decide if it needs more or less
  113. lightening.  Please get back to me.
  114.  
  115. If you want to play with the dithering, use a hex editor to find the
  116. following sequence (spaces are for clarity):
  117.  
  118. 02 08 04 0a 0c 06 0e 08 05 0b 03 09 0e 09 0d 07
  119.  
  120. and modify it to your heart's content.  (I'd save a copy of the unmodified
  121. driver if I were you.)
  122.  
  123. ---------------------------------
  124.  
  125. 2/24/92
  126.  
  127. OK, I never said I was perfect.
  128.  
  129. All I left in was one dither pattern, the one used by Ordered and Floyd.
  130. Halftone was omitted.  Now it's here, for those of you who use it.
  131.  
  132. The dither pattern is:
  133.  
  134.      5  12  14   3      o X X o 
  135.      8   0   6  10  or  X o o X   
  136.     13   2   4  14      X o o X
  137.      7  11   9   1      o X X o   
  138.  
  139. My initial tests didn't show any improvement by changing this pattern,
  140. so it has been installed unmodified.   If you want to change it, look for:
  141.  
  142. 05 0c 0e 03 08 00 06 0a 0d 02 04 0e 07 0b 09 01
  143.  
  144. In fact, neither Halftone or Floyd showed any improvement, even though Floyd
  145. uses the same pattern as Ordered.  Strange.
  146.  
  147. One final note for now: my copy of "Practical Image Processing in C" by
  148. Craig A. Lindley has, on page 271, the Bayer Ordered Dither Matrix, which
  149. is almost exactly the same as the Ordered/Floyd matrix the system uses,
  150. except that instead of 14 in the lower left corner he has 15, which would
  151. ALWAYS remove that pixel, cutting off 1/16 of all pixels in the printout
  152. all the time.  I tried that, and didn't like the results, but you could
  153. experiment if you want.  FileZap is wonderful that way.
  154.  
  155. ---------------------------------
  156.  
  157. 3/6/92
  158.  
  159. The color bug has been found and killed.
  160.  
  161. Also, the timeout has been increased to 240 seconds, so when the printer
  162. bogs down under full shingling you won't get a "printer trouble" requester
  163. as fast.
  164.  
  165. Also, the regular version of the driver is now included.  Not very exciting,
  166. it exists mainly because not everybody has a lot of memory.
  167.  
  168. ---------------------------------
  169.  
  170. 3/14/92
  171.  
  172. Thanks to Jeff Berg and Paul Gerhardt for pointing out that Art Department
  173. Professional does strip-printing, and since I was sending a reset at the 
  174. start of each dump it would eject a page after each small section.
  175.  
  176. Now that the printer isn't being reset, you must make sure it is in the
  177. mode you want at the start of the dump.
  178.  
  179. Enclosed in this archive is a screen-shot from "Colors", a program I sold
  180. to AmigaWorld's disk a few years back (It's on Volume 2, disk 1).  If you
  181. print this picture, you'll get a sample of the 256 colors that have a green
  182. level of 15.  Using my dithering, some of the colors will appear the same.
  183.  
  184. Since somebody may "need" the old dithering for some reason, you can now 
  185. ask for it by selecting LETTER quality printing.  Picking DRAFT quality
  186. uses the modified dither pattern.
  187.  
  188. (BTW, owners of regular DeskJets will want to print the colors screen shot
  189. in Grey Scale, since it shows what colors in the Amiga spectrum are
  190. condsidered the same.  Now you'll know why some color pictures look OK on
  191. the screen but print so badly in Grey Scale.)
  192.  
  193. I consider this driver closed now.  I have no more fixes available to me to
  194. make it work better, and I really don't want to work on something that the
  195. commercial DeskJet C driver already does better.  If you like mine, you can
  196. send me $5.  If I ever can afford a printer, I'll work on the better
  197. compression schemes for color.  I'm going to be working on fax software
  198. for a while, in hopes there's money in it.
  199.  
  200. Later...
  201.  
  202.  
  203.