User's Guide
D-36 Code Sets
Table D-6. Epson and IBM Escape Sequences––continued
Function ASCII Hexadecimal Decimal Description
Boundaries, Tabs and Page Formatting––continued
Set page length in lines...... ESC C n1B 43 n27 67 nThis sequence sets the number of lines per page and sets
the top-of-form at the current line position. The value of
variable n (0 to 182) determines the number of lines per
page. Variable n should equal the actual form length in
inches divided by the current line spacing. For example, if
the current form length is 11 inches and the line spacing is
1/6 inch, 11 divided by 1/6 is 66--so n should equal 66
decimal. The number of lines per page is unaffected by
subsequent changes to line spacing.
Set page length in inches... ESC C NUL n1B 43 00 n27 67 0 nThis sequence sets the number of inches per page and sets
the top-of-form at the current line position. The value of
variable n (1 to 30) determines the number of inches per
page. For example, if the form length is 11 inches, the
correct n value is 11 decimal.
Text Functions
Set print quality................. ESC x n1B 78 n27 120 nThis sequence selects letter-, memo- or draft-quality print-
Letter.............................. ESC x SOH 1B 78 01 27 120 1 ing. Letter-quality characters are formed from a 32-dot-
Memo............................. ESC x STX 1B 78 02 27 120 2 high by 36-dot-wide matrix. Memo-quality characters are
Draft............................... ESC x NUL 1B 78 00 27 120 0 formed from a 16-dot-high by 36-dot-wide matrix. Draft-
quality characters are formed from an 8-dot-high by 15-
dot-wide matrix.
Some fonts do not contain character sets for all print qual-
ities. If letter-quality is selected, but the font does not
contain this character set, memo-quality is selected; and
vice-versa. If the font contains neither a letter- or memo-
quality character set, the letter- or memo-quality Courier
character set is selected. If draft-quality is selected, but
the font does not contain this character set, the draft-
quality Courier character set is selected.
Set print quality................. ESC ESC P n1B 1B 50 n27 27 80 nThis sequence selects letter-, memo- or draft-quality print-
Letter.............................. ESC ESC P L 1B 1B 50 4C 27 27 80 76 ing.
Memo............................. ESC ESC P M 1B 1B 50 4D 27 27 80 77
Draft............................... ESC ESC P D 1B 1B 50 44 27 27 80 68
Set typestyle family........... ESC k n1B 6B n27 107 nThis sequence selects the Courier, Gothic, Elite or Script
Courier (10 cpi).............. ESC k NUL 1B 6B 00 27 107 0 font and sets character spacing and cell size to the default
Gothic (12 cpi)............... ESC k SOH 1B 6B 01 27 107 1 of the selected font. If the sequence selects a font that is
Courier (10 cpi).............. ESC k STX 1B 6B 02 27 107 2 not in the installed Intelli-card(s), the printer sounds the
Elite (12 cpi) .................. ESC k ETX 1B 6B 03 27 107 3 audible alarm, displays the message FONT UNAVAIL-
Script (12 cpi) ................ ESC k EOT 1B 6B 04 27 107 4 ABLE on the control panel, and continues printing.
User's Guide
D-36 Code Sets
Table D-6. Epson and IBM Escape Sequences––continued
Function ASCII Hexadecimal Decimal Description
Boundaries, Tabs and Page Formatting––continued
Set page length in lines...... ESC C n1B 43 n27 67 nThis sequence sets the number of lines per page and sets
the top-of-form at the current line position. The value of
variable n (0 to 182) determines the number of lines per
page. Variable n should equal the actual form length in
inches divided by the current line spacing. For example, if
the current form length is 11 inches and the line spacing is
1/6 inch, 11 divided by 1/6 is 66--so n should equal 66
decimal. The number of lines per page is unaffected by
subsequent changes to line spacing.
Set page length in inches... ESC C NUL n1B 43 00 n27 67 0 nThis sequence sets the number of inches per page and sets
the top-of-form at the current line position. The value of
variable n (1 to 30) determines the number of inches per
page. For example, if the form length is 11 inches, the
correct n value is 11 decimal.
Text Functions
Set print quality................. ESC x n1B 78 n27 120 nThis sequence selects letter-, memo- or draft-quality print-
Letter.............................. ESC x SOH 1B 78 01 27 120 1 ing. Letter-quality characters are formed from a 32-dot-
Memo............................. ESC x STX 1B 78 02 27 120 2 high by 36-dot-wide matrix. Memo-quality characters are
Draft............................... ESC x NUL 1B 78 00 27 120 0 formed from a 16-dot-high by 36-dot-wide matrix. Draft-
quality characters are formed from an 8-dot-high by 15-
dot-wide matrix.
Some fonts do not contain character sets for all print qual-
ities. If letter-quality is selected, but the font does not
contain this character set, memo-quality is selected; and
vice-versa. If the font contains neither a letter- or memo-
quality character set, the letter- or memo-quality Courier
character set is selected. If draft-quality is selected, but
the font does not contain this character set, the draft-
quality Courier character set is selected.
Set print quality................. ESC ESC P n1B 1B 50 n27 27 80 nThis sequence selects letter-, memo- or draft-quality print-
Letter.............................. ESC ESC P L 1B 1B 50 4C 27 27 80 76 ing.
Memo............................. ESC ESC P M 1B 1B 50 4D 27 27 80 77
Draft............................... ESC ESC P D 1B 1B 50 44 27 27 80 68
Set typestyle family........... ESC k n1B 6B n27 107 nThis sequence selects the Courier, Gothic, Elite or Script
Courier (10 cpi).............. ESC k NUL 1B 6B 00 27 107 0 font and sets character spacing and cell size to the default
Gothic (12 cpi)............... ESC k SOH 1B 6B 01 27 107 1 of the selected font. If the sequence selects a font that is
Courier (10 cpi).............. ESC k STX 1B 6B 02 27 107 2 not in the installed Intelli-card(s), the printer sounds the
Elite (12 cpi) .................. ESC k ETX 1B 6B 03 27 107 3 audible alarm, displays the message FONT UNAVAIL-
Script (12 cpi) ................ ESC k EOT 1B 6B 04 27 107 4 ABLE on the control panel, and continues printing.