HP 4100 7 Lines per Inch - How?

rover

Distinguished
Jun 17, 2004
25
0
18,530
Archived from groups: comp.periphs.printers (More info?)

I have a number of HP printers. I want this to work on any one of them
but right now I'll settle for the 4100.

I can see how to set font through PCL codes programmatically and can get
a list of those by printing them from the front panel menu. I need to
print 7 lines per inch vertically. That's 70 lines on a 8.5 X 11 inch
standard paper portrait with 1/2 inch margin top and bottom.

How?
 
Archived from groups: comp.periphs.printers (More info?)

"Rover" <rover44614@RemoveThisStuffNetscape.net> wrote in message
news:10rv3scir9imeff@corp.supernews.com...
>I have a number of HP printers. I want this to work on any one of them but
>right now I'll settle for the 4100.
>
> I can see how to set font through PCL codes programmatically and can get a
> list of those by printing them from the front panel menu. I need to print 7
> lines per inch vertically. That's 70 lines on a 8.5 X 11 inch standard paper
> portrait with 1/2 inch margin top and bottom.

I believe you need to send the PCL command Esc&l#D where # is 7 for the
desired line spacing, Esc is the escape character and l is a lowercase L. It
is possible that this will only work for # values of 1-4, 6, 8, 12, 16, 24 and
48 lines/inch. There is also a line motion index command, Esc&l#C where # is
the number of 1/48" increments per linefeed.

Regards,
Bob Headrick, not speaking for my employer HP
 
Archived from groups: comp.periphs.printers (More info?)

Rover <rover44614@RemoveThisStuffNetscape.net> wrote:
> I have a number of HP printers. I want this to work on any one of them
> but right now I'll settle for the 4100.
>
> I can see how to set font through PCL codes programmatically and can get
> a list of those by printing them from the front panel menu. I need to
> print 7 lines per inch vertically. That's 70 lines on a 8.5 X 11 inch
> standard paper portrait with 1/2 inch margin top and bottom.

Most versions of PCL had only fixed sizes of fonts available in ROM, and
7 LPI is probably not one of those sizes.

More recent versions of PCL (6, maybe 5 or 5e) can scale fonts, and the
4100 should be able to do that. HP has a PCL manual somewhere on their
site, or did in the past. If you use PCL font scaling, your output will
only work on printers with that later version of PCL.

You could also convert your program to create PostScript output, which
can easily scale fonts. However, it would only work on PostScript
printers. (Or with software RIPs like Ghostscript, but let's not
complicate things too much.)

--
Warren Block * Rapid City, South Dakota * USA