HP 4100 7 Lines per Inch - How?
PC Hardware Forum Index PC Hardware
Dicussion of PC hardware and peripherals
 
 FAQFAQ   MemberlistMemberlist    RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web hwtalk.net
HP 4100 7 Lines per Inch - How?

 
Post new topic   Reply to topic    PC Hardware Forum Index -> Printers
Author Message
Rover
Guest





Posted: Wed Dec 15, 2004 6:12 am    Post subject: HP 4100 7 Lines per Inch - How? Reply with quote

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?
Back to top
Bob Headrick
Guest





Posted: Wed Dec 15, 2004 9:43 am    Post subject: Re: HP 4100 7 Lines per Inch - How? Reply with quote

"Rover" <rover44614@RemoveThisStuffNetscape.net> wrote in message
news:10rv3scir9imeff@corp.supernews.com...
Quote:
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
Back to top
Warren Block
Guest





Posted: Thu Dec 16, 2004 12:26 am    Post subject: Re: HP 4100 7 Lines per Inch - How? Reply with quote

Rover <rover44614@RemoveThisStuffNetscape.net> wrote:
Quote:
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
Back to top
 
Post new topic   Reply to topic    PC Hardware Forum Index -> Printers All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Electronics VoIP DSP
New Topics php BB