User's guide d-38 code sets – AMT Datasouth AMTACCEL-5350 User Manual
Page 216
User's Guide
D-38 Code Sets
Table D-6. Epson and IBM Escape Sequences––continued
Function
ASCII
Hexadecimal
Decimal
Description
Text Functions––continued
Download font coding ........
ESC ESC D
1B 1B 44
27 27 68
This sequence downloads a font to the printer. Variable
a1 a2 n1 n2
a1 a2 n1 n2
a1 a2 n1 n2
a1 is the number assigned to the font. The Set Font
coding
coding
coding
escape sequence uses this number to identify and select
the font. Normally, the first downloaded font is assigned
255 (FF hex), the second font downloaded is assigned
254 (FE hex), and so on. Variable a2 must always be 00
hex. Variable n2 and n1 are a 16-bit number that
specifies the number of bytes in the font coding. Variable
n2 is the high-order byte; n1 is the low-order byte. The
font coding must conform to a prescribed binary coding
format.
Note: For more detailed information on this escape se-
quence, refer to AMT Technical Notes––Downloading
Fonts, available separately from AMT.
Set language .......................
ESC ESC G n
1B 1B 47 n
27 27 71 n
These sequences set a language for the printer to use
English, US ....................
ESC ESC G NUL
1B 1B 47 00
27 27 71 0
while printing text. This setting causes the printer
English, US (alternate) ...
ESC R NUL
1B 52 00
27 82 0
to replace some standard ASCII printable characters
French ............................
ESC ESC G SOH
1B 1B 47 01
27 27 71 1
with alternate characters that are used in a specific lan-
French (alternate) ...........
ESC R SOH
1B 52 01
27 82 1
guage. The character replacements are shown in the Con-
German ...........................
ESC ESC G STX
1B 1B 47 02
27 27 71 2
trol Panel section of this guide, under the Set Language
German (alternate) .........
ESC R STX
1B 52 02
27 82 2
heading.
English, UK ....................
ESC ESC G ETX
1B 1B 47 03
27 27 71 3
English, UK (alternate) ...
ESC R ETX
1B 52 03
27 82 3
Note: These sequences apply only to fonts with inter-
Danish I ..........................
ESC ESC G EOT
1B 1B 47 04
27 27 71 4
national characters. Also, the ESC R n sequence is not
Danish I (alternate) .........
ESC R EOT
1B 52 04
27 82 4
supported when the IBM XL24 emulation is active.
Swedish ..........................
ESC ESC G ENQ
1B 1B 47 05
27 27 71 5
Swedish (alternate) .........
ESC R ENQ
1B 52 05
27 82 5
Italian .............................
ESC ESC G ACK
1B 1B 47 06
27 27 71 6
Italian (alternate) ............
ESC R ACK
1B 52 06
27 82 6
Spanish I ........................
ESC ESC G BEL
1B 1B 47 07
27 27 71 7
Spanish I (alternate) .......
ESC R BEL
1B 52 07
27 82 7
Japanese .........................
ESC ESC G BS
1B 1B 47 08
27 27 71 8
Japanese (alternate) ........
ESC R BS
1B 52 08
27 82 8
Norwegian ......................
ESC ESC G HT
1B 1B 47 09
27 27 71 9
Norwegian (alternate) .....
ESC R HT
1B 52 09
27 82 9
Danish II ........................
ESC ESC G LF
1B 1B 47 0A
27 27 71 10
Danish II (alternate) .......
ESC R LF
1B 52 0A
27 82 10
Spanish II .......................
ESC ESC G VT
1B 1B 47 0B
27 27 71 11
Spanish II (alternate) ......
ESC R VT
1B 52 0B
27 82 11
Portuguese ......................
ESC ESC G FF
1B 1B 47 0C
27 27 71 12
Portuguese (alternate) .....
ESC R FF
1B 52 0C
27 82 12
Print character string .......
ESC \ n1 n2
1B 5C n1 n2
27 92 n1 n2
This sequence prints a character string beginning at the
list
list
list
current print position. Any printable character can be
included in the series, even those assigned control codes.
The values of n1 and n2 define the number of characters
to print. This number equals the number of character
codes in list. The printer interprets n1 and n2 as follows:
Number of characters = (256 x n2) + n1
User's Guide
D-38 Code Sets
Table D-6. Epson and IBM Escape Sequences––continued
Function
ASCII
Hexadecimal
Decimal
Description
Text Functions––continued
Download font coding ........
ESC ESC D
1B 1B 44
27 27 68
This sequence downloads a font to the printer. Variable
a1 a2 n1 n2
a1 a2 n1 n2
a1 a2 n1 n2
a1 is the number assigned to the font. The Set Font
coding
coding
coding
escape sequence uses this number to identify and select
the font. Normally, the first downloaded font is assigned
255 (FF hex), the second font downloaded is assigned
254 (FE hex), and so on. Variable a2 must always be 00
hex. Variable n2 and n1 are a 16-bit number that
specifies the number of bytes in the font coding. Variable
n2 is the high-order byte; n1 is the low-order byte. The
font coding must conform to a prescribed binary coding
format.
Note: For more detailed information on this escape se-
quence, refer to AMT Technical Notes––Downloading
Fonts, available separately from AMT.
Set language .......................
ESC ESC G n
1B 1B 47 n
27 27 71 n
These sequences set a language for the printer to use
English, US ....................
ESC ESC G NUL
1B 1B 47 00
27 27 71 0
while printing text. This setting causes the printer
English, US (alternate) ...
ESC R NUL
1B 52 00
27 82 0
to replace some standard ASCII printable characters
French ............................
ESC ESC G SOH
1B 1B 47 01
27 27 71 1
with alternate characters that are used in a specific lan-
French (alternate) ...........
ESC R SOH
1B 52 01
27 82 1
guage. The character replacements are shown in the Con-
German ...........................
ESC ESC G STX
1B 1B 47 02
27 27 71 2
trol Panel section of this guide, under the Set Language
German (alternate) .........
ESC R STX
1B 52 02
27 82 2
heading.
English, UK ....................
ESC ESC G ETX
1B 1B 47 03
27 27 71 3
English, UK (alternate) ...
ESC R ETX
1B 52 03
27 82 3
Note: These sequences apply only to fonts with inter-
Danish I ..........................
ESC ESC G EOT
1B 1B 47 04
27 27 71 4
national characters. Also, the ESC R n sequence is not
Danish I (alternate) .........
ESC R EOT
1B 52 04
27 82 4
supported when the IBM XL24 emulation is active.
Swedish ..........................
ESC ESC G ENQ
1B 1B 47 05
27 27 71 5
Swedish (alternate) .........
ESC R ENQ
1B 52 05
27 82 5
Italian .............................
ESC ESC G ACK
1B 1B 47 06
27 27 71 6
Italian (alternate) ............
ESC R ACK
1B 52 06
27 82 6
Spanish I ........................
ESC ESC G BEL
1B 1B 47 07
27 27 71 7
Spanish I (alternate) .......
ESC R BEL
1B 52 07
27 82 7
Japanese .........................
ESC ESC G BS
1B 1B 47 08
27 27 71 8
Japanese (alternate) ........
ESC R BS
1B 52 08
27 82 8
Norwegian ......................
ESC ESC G HT
1B 1B 47 09
27 27 71 9
Norwegian (alternate) .....
ESC R HT
1B 52 09
27 82 9
Danish II ........................
ESC ESC G LF
1B 1B 47 0A
27 27 71 10
Danish II (alternate) .......
ESC R LF
1B 52 0A
27 82 10
Spanish II .......................
ESC ESC G VT
1B 1B 47 0B
27 27 71 11
Spanish II (alternate) ......
ESC R VT
1B 52 0B
27 82 11
Portuguese ......................
ESC ESC G FF
1B 1B 47 0C
27 27 71 12
Portuguese (alternate) .....
ESC R FF
1B 52 0C
27 82 12
Print character string .......
ESC \ n1 n2
1B 5C n1 n2
27 92 n1 n2
This sequence prints a character string beginning at the
list
list
list
current print position. Any printable character can be
included in the series, even those assigned control codes.
The values of n1 and n2 define the number of characters
to print. This number equals the number of character
codes in list. The printer interprets n1 and n2 as follows:
Number of characters = (256 x n2) + n1