Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Can the Line Printer font be sized??

Can the Line Printer font be sized??

Can the Line Printer font be sized??

My app needs to hardcopy in a fixed-space font.  It also needs to work with any PCL laser printer.
I like the clean look of the Line Printer PCL font "ESC(s0T", as opposed to Courier or Letter Gothic.  Can the cpi of this font be adjusted?
-with thanks,

RE: Can the Line Printer font be sized??


It is a bitmap.

Jim Asman

RE: Can the Line Printer font be sized??

Try Esc(10U Esc(s0p0h12v0s0b0T

it can be resized somewhat h and v values.
Also, (10U should allow the use of box-drawing symbols.

RE: Can the Line Printer font be sized??

Line printer is NOT a scalable font. When you issue the code stated above your are probably getting getting Letter Gothic if it is a sans serif font, although I would expect the printer would substitute Courier.

Jim Asman

RE: Can the Line Printer font be sized??

Ec(10U is the PC-8 symbol set

Ec(s 0T line printer typeface
     3T Courier
     4T Helvetica
     5T times roman
     6T Letter Gothic
     7T Script
     8T Prestige
     10T Orator
     11T Presentation
     14T Futura
     15T Palantino
     16T ITC Souvenir
     17T Optima
     52T Univers
     56T ITC Tiffany
     65T Franklin Gothic
these are base values that can be used with a manufacturer's
value. 4148T for example would be Univer typeface family (52) from Agfa Corporation (4096) version 0.

   Ec(s12340T would be Univers typeface from Linotype (12288).

RE: Can the Line Printer font be sized??

I understand how the PCL codes to call a font are derived, but just issuing a "legal" PCL code for a font that is NOT resident in the printer will NOT put it there.

There simply is NO 12pt lineprinter font resident in
a LaserJet. When the printer receives a request for a font that it can't provide, it will substitute according to its nomal priorities.

Jim Asman

RE: Can the Line Printer font be sized??

Jim is absolutely correct is stating that the standard printer resident 'LinePrinter' font is a bitmap font, and is hence only available in the one fixed size.

It would be selected using something like:


(depending on which symbol set is required - 19U (the Windows ANSI set) is not available with this font).

The thread title is:
   "Can the Line Printer font be sized??"
but the question in the initial text is:
   "Can the cpi of this font be adjusted?"

The size of the font cannot be changed (as explained by Jim, and paraphrased above) but if all that is required is an adjustment to the Characters Per Inch (horizontal spacing), this can be achieved by using the 'Set Horizontal Motion Index' sequence:


where # represents the required character spacing in 1/120 inch units.

This only works with fixed-pitch fonts (LinePrinter is one); with proportionally-spaced fonts, it only affects the width of the space character.

RE: Can the Line Printer font be sized??

As DansDad pointed out, you can certainly use the Horizontal Motion Index command to change the character spacing, I suspect that the intent in the original post was that to change it to 10 cpi would deliver proportionately larger characters.

By the way DansDad, when do we get to hear from Dan himself?

Jim Asman

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close