HP 4100 7 Lines per Inch - How?

R

Rover

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?
 
B

Bob Headrick

Rover said:
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
 
W

Warren Block

Rover said:
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.)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top