Draft document
Code Page Commands
Set Code Page
Use this printer command to change the active code page.
Format
ESC
[
Decimal
27
91
Hexadecimal 1B
5B
USAGE NOTES
•
•
•
•
•
•
Continuously Print From All Character Chart
This command prints the next (n = m X 256) characters from the All Characters Chart.
Format
ESC
\
Decimal
27
92
Hexadecimal 1B
5C
USAGE NOTES
•
T
n1
n2
n3
84
n1
n2
0
54
n1
n2
00
n1 is a one-byte binary number that is the less significant byte of the two-byte
parameter count.
n2 is a one-byte binary number that is the more significant byte of the two-
byte parameter count. Zero is a valid count.
n3 and n4 are always 0.
Hc and Lc are two-byte values that specify the code page to be used.
See"Code Page Table" on page A-1 for decimal and hexadecimal values.
This command is ignored if an unavailable code page is specified.
To calculate Hc Lc for a code page that is not shown:
– Divide the code page number, such as 437, by 256.
– The whole number result is the Hc value.
– The remainder is the Lc value.
– If your code page has an alphabetic character, such as 437G, add 10,000
to the code page number, then divide by 256.
Ln
Hn
n1
...
Ln
Hn
n1
...
Ln
Hn
n1
...
Identify the number of characters (A) that you want to print.
2-19
n4
Hc
Lc
0
Hc
Lc
00
Hc
Lc
nn
nn
nn
Code Page