Graphic rendition – Printronix ANSI Printer User Manual
Page 35

Graphic Rendition
35
Graphic Rendition
ASCII Code ESC [p1;p2...;pn m
Hex Code
1B 5B p1 3B p2 ... 3B pn 6D
Dec Code
27 91 p1 59 p2 ... 59 pn 109
Expression CHR$(27);“[p1;p2...;pn m”;
Purpose
Sets the character type and enhancements, such as boldface,
underscore, expanded, or proportional. One font designator plus
any number of enhancements can be entered in the escape
sequence using the parameter values in Table 4.
Discussion If the requested font is not installed, the Data Processing font will
be activated. When a new font is selected, the horizontal
spacing is initially set to the default spacing (10 cpi).
This sequence is also valid in graphics.
Table 4. Character Types and Enhancements
Parameter
Enhancement
0
Normal Mode
1
Bold/shadow
4
Underline
5
2X horizontal expansion (Note: This mode cancels any
horizontal or vertical expansion previously set. Can be
cleared by either a parameter value of 0 in this sequence
or by ESC[p1;p2 SP B.)
6
Proportional printing (Note: This mode is valid for all cpi
values, expansion values, print modes, and fonts except
high speed draft and character graphics.)
10
Default font (Data Processing)
11
Gothic draft font
12
Character graphics/mathematical symbol font
13
Gothic NLQ font
14
Courier NLQ font
15
High speed draft font
16
OCR-A
17
OCR-B
18
Italic NLQ font
19
Correspondence