Tom's Hardware > Forum > Computer Peripherals > Printers > HP 4100 7 Lines per Inch - How?

HP 4100 7 Lines per Inch - How?

Forum Computer Peripherals : Printers - HP 4100 7 Lines per Inch - How?

Tom's Hardware: Over 1.4 million members in 6 different countries available to answer all your high-tech questions. Sign up now! Its free!
Word :    Username :           
 

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?

Sponsored Links
Register or log in to remove.

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

Reply to Anonymous

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

Reply to Anonymous
Tom's Hardware > Forum > Computer Peripherals > Printers > HP 4100 7 Lines per Inch - How?
Go to:

There are 1139 identified and unidentified users. To see the list of identified users, Click here.

Please mind

You are about to answer a thread that has been inactive for more than 6 months.
If you still wish to proceed, please ensure that your posting is original and does not duplicate or overlap any prior responses to this thread.

Add a reply Cancel
Sponsored links
  • Ask the community now
  • Publish
Ad
They won a badge
Join us in greeting them