Guardian Programmer's Guide

Table Of Contents
Communicating With Printers
Guardian Programmer’s Guide 421922-014
11 - 17
Printing Text
For internal fonts and downloaded soft fonts, you can alter the font characteristics
including:
The typeface (Courier, Times Roman, and so on)
The symbol set; for example, to correspond to a national standard
The character spacing (fixed or proportional)
The pitch (number of characters per horizontal inch—proportional fonts only)
The point size or character height
The style (upright or italic)
The stroke weight or boldness
The orientation (portrait or landscape)
You specify the font characteristics by writing escape sequences with the following
formats to the printer:
Escape sequence for specifying the typeface for the primary font:
esc(sfont-numberT
Escape sequence for specifying the symbol set for the primary font:
esc(id
Escape sequence for specifying the spacing for the primary font:
esc(svalueP
Escape sequence for specifying the pitch for the primary font:
esc(spitch-valueH
Escape sequence for specifying the point size for the primary font:
esc(spoint-sizeV
Escape sequence for selecting the printing style for the primary font:
esc(sstyle-valueS
Escape sequence for selecting the stroke weight for the primary font:
esc(sdensity-valueB
Escape sequence for selecting orientation:
esc&lorientationO