home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 10
/
amigaformatcd10.iso
/
-readerstuff-
/
peter_hutchison
/
hp_drivers.lzx
/
HP_LJ4
/
ReadMe
< prev
Wrap
Text File
|
1996-11-27
|
6KB
|
160 lines
HP_LJ_4 driver for Hewlett Packard LaserJet 4 printer
Version 35 Revision 8
driver: 14 December 1992
release: 15 December 1992
Density 1 2 3 4 5
75 dpi 100 dpi 150 dpi 300 dpi 600 dpi
PaperSize
Letter 600,795 800,1060 1200,1590 2400,3180 4800,6360
Legal 600,1020 800,1360 1200,2040 2400,4080 4800,8160
DIN A4 584,847 779,1130 1169,1695 2338,3390 2480,3507
DIN A5 400,590 533,786 800,1180 1600,2360 3200,4720
Density 6 7 1,2,3,4,5 6,7
300 dpi 600 dpi Printable Area Printable Area
PaperSize
Letter 2550,3300 5100,6600 8"x10.6" 8.5"x11.0"
Legal 2550,4200 5100,8400 8"x13.6" 8.5"x14.0"
DIN A4 2480,3507 4960,7014 197.95mmx287mm 210mmx296.9mm
DIN A5 1748,2480 3496,4960 135.5mmx199.8mm 148mmx210mm
The above tables have values in the form of MaxXDots,MaxYDots.
CUSTOM: MaxXDots = ((RightMargin - LeftMargin + 1) * Density) / 10
MaxYDots = (PaperLength * Density) / LPI
Where Density is one of 75, 100, 150 ,300, or 600 (see chart above)
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.
Revision 6:
Added 600 dpi raster graphics under Densities 5 and 7. Density 7 is similiar
to Density 6 above, but at 600 dpi.
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, 6:
If using Density 6/7 and CUSTOM, then set the values (LeftMargin, RightMargin,
PaperLength, LPI) to the size of the paper.
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/6:
When using density setting 6/7, the driver does not move the print cursor down
the page 60 dots. Also, the driver will eat the first 80 (160 with density 7)
printer dots in each print row of data sent to the printer. Since density 6
is 300 dpi (7 is 600 dpi), 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/7 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.
Revision 5:
Added TIFF compression to raster graphic printing. This driver will not run
on all laserjets! It will run on all of HP's series III lasers (III, IIID,
IIISi, IIIP) and on the series 4. It will NOT work on an HP LaserJet II
printer or on any other printer that is not have TIFF compression. If you
fall in this category, use the HP_LJ driver of mine.
With the TIFF compression, I have not noticed any real speed change on my '020
equiped machine, but the resulting data output count can be reduced anywhere
from 62% down to 7% of the original data stream.
Revision 6:
As stated above, added 600 dpi raster density, and the special case of density
setting 7 to simulate having the full page printable. Even thought this driver
is titled as being for the LJ4, it can be used on any LJ3 series printer as
long as density settings 5 or 7 are not selected.
Revision 8:
Fixed a bug I created in the expunge code.
Mr. Kelly Jordan
P.O. Box 1039
Marathon, Ontario
P0T 2E0 Canada
CompuServe: 76475,1146