Graphic Rendition

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

0Normal Mode

1Bold/shadow

4Underline

52X 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.)

6Proportional printing (Note: This mode is valid for all cpi values, expansion values, print modes, and fonts except high speed draft and character graphics.)

10Default font (Data Processing)

11Gothic draft font

12Character graphics/mathematical symbol font

13Gothic NLQ font

14Courier NLQ font

15High speed draft font

16OCR-A

17OCR-B

18Italic NLQ font

19Correspondence

35

Page 35
Image 35
Printronix ANSI Printer manual Graphic Rendition, Ascii Code ESC p1p2...pn m, Character Types and Enhancements Parameter