home *** CD-ROM | disk | FTP | other *** search
-
- Please read whole file: latest changes will be at the end.
-
- MP_DeskJet_C Printer Driver - buffered version
- -----------------------------------------------
-
- 2/8/92 - Beta release 0.9.9
-
- MAXIMUM memory required (full 8 x 10.750 image): 3 megabytes (color)
- 1 megabyte (not color)
-
- Revised version of my never-quite-released DeskJet driver.
-
- Oh, I passed it out, but found bugs and never got the debugged version
- out to the public after PeopleLink folded.
-
- Monochrome graphics have been tested here on my DeskJet PLUS, but the color
- hasn't been tested as of today. That's the job of whoever downloads this.
-
- Graphics data is compressed before sending to the printer, using the
- "TIFF PackBits" or method 2 compression scheme.
-
- This driver is designed to be a DeskJet PLUS driver, not a real 500 C driver
- or even a monochrome 500. Fonts not supported by a PLUS aren't used.
-
- Density settings: 1 - 50 DPI
- 2 - 100 DPI
- 3 - 150 DPI
- 4 - 300 DPI
-
- This driver creates a complete image of the printout in RAM, then copies
- it to the printer. It "asks" via an Alert message at the end of the
- printout if you want another copy (much faster than doing another dump;
- not as effective as using the CMD program to send the image to disk.)
-
- If you don't ever want copies, set Preferences' Paper Type to FANFOLD.
- No Alert, no copies.
-
- The time it takes for the printer to start printing varies from 2 to 8
- minutes, depending on the density setting and the size of the image being
- printed.
-
- The manual says that Shingling and Depletion will produce big quality
- improvements when used, so I added a lame method of setting them. The
- Threshold slider in Preferences is only meant to control what level of
- black is printed in Black&White print mode. I decided to use it for Grey
- Scale and Color modes to control shingling and depletion. (Please note that
- the manual says monochrome graphics will NOT be depleted.) If you REALLY
- print a lot of stuff in Black&White mode and find the threshold settings
- annoying, write and tell me a better way to do it without having to code
- myself to death.
-
-
- The threshold settings are as follows:
-
- Threshold 1 2 3 4 5 6 7 8 9
-
- Shingling none 50% 25% none 50% 25% none 50% 25%
-
- Depletion none none none 25% 25% 25% 50% 50% 50%
-
-
- The manual also lists "Draft", "Normal", and "Best" modes, based on
- these settings.
-
- Draft: 150 DPI (density 3), no Shingling or Depletion (Threshold 1)
-
- Normal: 300 DPI (density 4), Shingling 50% and Depletion 25% (Threshold 5)
-
- Best: 300 DPI (density 4), Shingling 25% and Depletion 25% (Threshold 6)
-
-
- If you find this driver useful, please send $5 or so to:
-
- Michael Paul
- Box 9222
- New Haven, CT 06533
-
- Praise minus cash, sample printouts of nice looking women, complaints, and
- other communications also accepted.
-
- If enough funding comes in, I can afford to buy a DeskJet C and work on some
- improvements. The 500 series models have more built-in fonts that could
- be supported. Compression methods 3 and 9 in the manual look like they
- would be much better for color due to potentially higher compression ratios.
-
- I intend no changes that will prevent this driver from working on any
- monochrome models of the DeskJet.
-
- ---------------------------------
-
- 2/15/92
-
- Dithering secrets uncovered.
-
- The dither matrix was a 4 x 4 set of numbers:
-
- 0 8 2 10 o X o X
- 12 4 14 6 or X o X o as dither matrix stuff goes.
- 3 11 1 9 o X o X
- 14 7 13 5 X o X o
-
- When the dither matrix is compared to a potential pixel, that pixel must
- have a value higher than the matrix to be printed. Lower matrix numbers
- make it more likely to print a pixel, higher ones are less likely. Pixels
- with a value of 15 will always print.
-
- What I've done so far is to add 2 to each of the low values (corresponding
- to the 'o' in the second matrix) which makes it a little harder for those
- pixels to print.
-
- I like the results, so I'm letting others decide if it needs more or less
- lightening. Please get back to me.
-
- If you want to play with the dithering, use a hex editor to find the
- following sequence (spaces are for clarity):
-
- 02 08 04 0a 0c 06 0e 08 05 0b 03 09 0e 09 0d 07
-
- and modify it to your heart's content. (I'd save a copy of the unmodified
- driver if I were you.)
-
- ---------------------------------
-
- 2/24/92
-
- OK, I never said I was perfect.
-
- All I left in was one dither pattern, the one used by Ordered and Floyd.
- Halftone was omitted. Now it's here, for those of you who use it.
-
- The dither pattern is:
-
- 5 12 14 3 o X X o
- 8 0 6 10 or X o o X
- 13 2 4 14 X o o X
- 7 11 9 1 o X X o
-
- My initial tests didn't show any improvement by changing this pattern,
- so it has been installed unmodified. If you want to change it, look for:
-
- 05 0c 0e 03 08 00 06 0a 0d 02 04 0e 07 0b 09 01
-
- In fact, neither Halftone or Floyd showed any improvement, even though Floyd
- uses the same pattern as Ordered. Strange.
-
- One final note for now: my copy of "Practical Image Processing in C" by
- Craig A. Lindley has, on page 271, the Bayer Ordered Dither Matrix, which
- is almost exactly the same as the Ordered/Floyd matrix the system uses,
- except that instead of 14 in the lower left corner he has 15, which would
- ALWAYS remove that pixel, cutting off 1/16 of all pixels in the printout
- all the time. I tried that, and didn't like the results, but you could
- experiment if you want. FileZap is wonderful that way.
-
- ---------------------------------
-
- 3/6/92
-
- The color bug has been found and killed.
-
- Also, the timeout has been increased to 240 seconds, so when the printer
- bogs down under full shingling you won't get a "printer trouble" requester
- as fast.
-
- Also, the regular version of the driver is now included. Not very exciting,
- it exists mainly because not everybody has a lot of memory.
-
- ---------------------------------
-
- 3/14/92
-
- Thanks to Jeff Berg and Paul Gerhardt for pointing out that Art Department
- Professional does strip-printing, and since I was sending a reset at the
- start of each dump it would eject a page after each small section.
-
- Now that the printer isn't being reset, you must make sure it is in the
- mode you want at the start of the dump.
-
- Enclosed in this archive is a screen-shot from "Colors", a program I sold
- to AmigaWorld's disk a few years back (It's on Volume 2, disk 1). If you
- print this picture, you'll get a sample of the 256 colors that have a green
- level of 15. Using my dithering, some of the colors will appear the same.
-
- Since somebody may "need" the old dithering for some reason, you can now
- ask for it by selecting LETTER quality printing. Picking DRAFT quality
- uses the modified dither pattern.
-
- (BTW, owners of regular DeskJets will want to print the colors screen shot
- in Grey Scale, since it shows what colors in the Amiga spectrum are
- condsidered the same. Now you'll know why some color pictures look OK on
- the screen but print so badly in Grey Scale.)
-
- I consider this driver closed now. I have no more fixes available to me to
- make it work better, and I really don't want to work on something that the
- commercial DeskJet C driver already does better. If you like mine, you can
- send me $5. If I ever can afford a printer, I'll work on the better
- compression schemes for color. I'm going to be working on fax software
- for a while, in hopes there's money in it.
-
- Later...
-
-
-