Updated July 4 2003

Font Selection using Characteristics


Here is a real world example

When you are selecting a font, both HP and Canon recommend that you send all the values you need even if the printer already has some of the settings as defualt.

Lets do an example using the secondary font select table.  Here are all the characteristics for the font we want.
    Symbol set : PC8 Danish/Norwegian
    fixed-space font
    Pitch : 16.67cpi
    Hieght : 8.5 points
    Style : upright
    Stroke weight : medium
    Typeface : lineprinter

Look up the escape sequence for each characteristics.  You should get:
    Symbol set : PC8 Danish/Norwegian :  <ESC>)11U
    fixed-space font : <ESC>)s0P
    Pitch : 16.67cpi : <ESC>)s16.67H
    Hieght : 8.5 points : <ESC>)s8.5V
    Style : upright : <ESC>)s0S
    Stroke weight : medium : <ESC>)s0B
    Typeface : lineprinter : <ESC>)s0T

Now we need to send it off to the printer.  In your editor you would type:
<ESC>)11U<ESC>)s0P<ESC>)s16.67H<ESC>)s8.5V<ESC>)s0S<ESC>)s0B<ESC>)s0T

So that is the string to send just to select the font.  Since the parameterized character is the same for most of these setting we can shorten the string to :
<ESC>)11U<ESC>)s0p16.67h8.5v0s0b0T

Much shorter and easier to type.

Lets try another example with a scalable proportional spaced font, this time lets use the primary font select table.  Here are all the characteristics for the font we want.
    Symbol set : PC8
    Proportional spaced font
    Hieght : 12.75 points
    Style : italic
    Stroke weight : bold
    Typeface : New Century Schoolbook

Look up the escape sequence for each characteristics.  You should get:
    Symbol set : PC8 : <ESC>(10U
    Proportional spaced font : <ESC>(s1P
    Hieght : 12.75 points : <ESC>(s12.75V
    Style : italic : <ESC>(s1S
    Stroke weight : bold : <ESC>(s3B
    Typeface : New Century Schoolbook : <ESC>(s24703T      (for the Canon iR3300)

The long form look like this:
<ESC>(10U<ESC>(s1P<ESC>(s12.75V<ESC>(s1S<ESC>(s3B<ESC>(s24703T

The short form looks like this:
<ESC>(10U<ESC>(s1p12.75v1s3b24703T



Back to the pcl guide