HP_LJ driver for Hewlett Packard LaserJet printers Version 35 Revision 2 driver: 23 August 1992 release: 23 August 1992 Density 1 2 3 4,5,7 Printable 75 dpi 100 dpi 150 dpi 300 dpi Area PaperSize Letter 600,795 800,1060 1200,1590 2400,3180 8"x10.6" Legal 600,1020 800,1360 1200,2040 2400,4080 8"x13.6" DIN A4 584,847 779,1130 1169,1695 2338,3390 197.95mmx287mm DIN A5 400,590 533,786 800,1180 1600,2360 135.5mmx199.8mm CUSTOM: MaxXDots = ((RightMargin - LeftMargin + 1) * Density) / 10 MaxYDots = (PaperLength * Density) / LPI Where Density is one of 75, 100, 150 or 300 (1, 2, 3, 4-7) RightMargin, LeftMargin, PaperLength are set in preferences LPI is 6 or 8 lines per inch, as set in preferences Revision 2: The size for DIN A4 was increased a couple of dots. Density 6 is a special case. The printer density is 300 dpi, but the driver tells the operating system the print area is the size of the paper, not the actual print area. The MaxXDots and MaxYDots, and resultant "print area" for density 6 are: Letter 2550,3300 8.5"x11.0" Legal 2550,4200 8.5"x14.0" DIN A4 2480,3507 210mmx296.9mm DIN A5 1748,2480 148mmx210mm CUSTOM see above The above tables have values in the form of MaxXDots,MaxYDots. When using CUSTOM, be sure to take into account the unprintable area on left and right edge (about 0.25 inches), or the top and bottom edges (0.2 inches). Use CUSTOM to set the printable area, not the the size of the paper. Revision 2: If using Density 6 and CUSTOM, then set the values to the size of the paper. Electronic Art's Deluxe Paint version 4.0 has a problem with this driver. I honestly believe it is something in DP 4.0, since I can't find anything in the driver to account for the problem. EA is aware of the problem and has been sent source and executable to the driver. Haven't upgraded to DP 4.1 yet, so don't know if the problem is fixed. This driver is virtually identical to CBM'S HP_LaserJet driver in it's text handling capabilities. The only difference here are in the commands sent to the printer when doing the text mode initialization. CBM'S driver had a couple of commands meant for the HP DeskJet and I nuked them from my driver. They were the commands to set Font Quality (draft or letter) and Font Placement (normal, superscript, or subscript). These commands could be put back in if demand warrants it. The major differences is in the graphic printing mode, as the chart above indicates. The driver is able to start printing so close to the top of the page because it resets the top margin and positions the print cursor 60 dots down the page, giving a 0.2 inch top margin. The driver will not do this operation if anything has been sent to the printer for the CURRENT page, whether it be text or graphics. This allows the driver to work with strip mode graphic printing (as ProPage uses) or with programs that can mix the printers fonts with graphic printing. I have not heard of any instances where this caused a problem. Revision 2: When using density setting 6, the driver does not move the print cursor down the page 60 dots. Also, the driver will eat the first 80 printer dots in each print row of data sent to the printer. Since density 6 is 300 dpi only, this results in the first 0.26 inches of graphic data to be eaten. Why? The printer's cursor can not be set to the left edge of the paper, rather it sits about .25 inches in from the left edge (closer to 0.26 inches for my printer). Density setting 6 tells the system the print area is the full size of the paper, but since I can't move the cursor to the left edge, I have to eat the data that would be printed there. The printer will eat the data for the first 0.2 inches from the top of the page, so the driver does not have to do this. So why bother with all this? Easy, no page alignment problems when using programs like ProPage that do not allow you to specify the no print zones for your printer (like FinalCopy does). With the default page size for letter, legal, or any of the other standard paper sizes, when you set up a left margin at 1 inch, it will now be at 1 inch, not 1.25 inches. An outline box with the top-left corner at 1.0,1.0 and the bottom-right corner at 7.5,10 will now print exactly where it is supposed to be. Don't forget the no print zones still exist. If you print anything too close to the paper's edge, it will get eaten or clipped. For text printing, you will have to take into account the no print zones when doing your margins. If you want a left margin of 1 inch, you already have a no print margin of 0.25 inches, so you would have to tell your word processor to make the left margin 0.75 inches. The default top margin is 2 blank lines. I wanted to add more features to the driver before releasing it, but don't have the time right now. Hopefully this fall. The driver may come out being LaserJet III family specific. I am using this on the HP LJIIIP. Mr. Kelly Jordan P.O. Box 1039 Marathon, Ontario P0T 2E0 Canada CompuServe: 76475,1146