Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Changing PCL fonts

Status
Not open for further replies.
Jun 15, 2002
31
0
0
US
I'm trying to change the font in a document.
I have tried changing the symbol set first
Ec(10U
then changing the typeface
Ec(s16602T but I appear to be getting only the defaults.

I'd like to print Arial or Lineprinter.

Thanks,
GrotonGroup
 
You are giving an incomplete typeface description. I guarantee that you will get
12pt Arial if you enter

<esc>(s1p12v0s0b16602T

For LinePrinter

<esc>(s0p16.67h8.5v0s0b0T

There is only one lineprinter size and weight.

You must provide the COMPLETE code to accurately describe the font. The printer selects
the font based on the characteristics you provide in your font SELECT command. The printer
will do its best to accomodate your request, but the font you describe MUST already exist
in the printer's innards. The printer will do its best to match your request, but if there
is no EXACT match, there is a pecking order of priority on which characteristics are more
important. Recognize that the Symbol Set outranks everything else, and the order of priortity
is the order in which they are presented in the sample codes above. Lets go through Arial above.

<esc>(s ------------- Code Start
1p ------------------- Proportional Spacing -- 0p for fixed pitch
12v ------------------ 12 pt
**h ------------------ cpi if a fixed pitch font
0s ------------------- upright or italic etc
0b ------------------- 0b stroke weight 3b for bold
16602T --------------- Typeface for Arial

So you see that the typeface has the LOWEST priority. If you are currently printing a
fixed pitch font like Courier, just changing the typeface to 16602 will NEVER get you
Arial as you are still specifying a fixed pitch font and Arial is proportional.

Always issue a complete font select string.

Print out a typeface list from your printer's internal menu for a complete list
of strings for all the internal fonts.



Jim Asman
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top