User's Guide
Code Sets D-7
Table D-3. AMT and Diablo 630 Escape Sequences
Function ASCII Hexadecimal Decimal Description
Basic Functions
Reset printer ...................... ESC SUB I 1B 1A 49 27 26 73 These sequences set the top-of-form at the current print line
Alternate ......................... ESC CR P 1B 0D 50 27 13 80 and reset the print modes, page setup parameters, tabs and
special modes to the Setup menu defaults. These sequences
do not affect the current emulation or communications
parameters.
Restore printer settings..... ESC @ r n 1B 40 72 n 27 64 114 n This sequence restores the printer settings to the factory
Factory setup .................. ESC @ r 0 1B 40 72 30 27 64 114 48 default settings or the settings you saved previously using
User 1 setup ................... ESC @ r 1 1B 40 72 31 27 64 114 49 the SAVE parameter on the printer's Setup menu. The
User 2 setup ................... ESC @ r 2 1B 40 72 32 27 64 114 50 SAVE parameter lets you save up to five printer setups for
User 3 setup ................... ESC @ r 3 1B 40 72 33 27 64 114 51 recall later. Each setup is assigned a unique user number
User 4 setup ................... ESC @ r 4 1B 40 72 34 27 64 114 52 from 1 to 5.
User 5 setup ................... ESC @ r 5 1B 40 72 35 27 64 114 53
Note: Since communications settings are saved as part of
the user setup, be careful not to restore a user setup that
changes the active interface, unless you specifically want
to do so.
Set emulation ..................... ESC @ E n 1B 40 45 n 27 64 69 n This sequence selects the active emulation which deter-
AMT .............................. ESC @ E SOH 1B 40 45 01 27 64 69 1 mines the active code set. A partial list of sequences is
AMT (alternate) ............. ESC @ E 1 1B 40 45 31 27 64 69 49 shown to the left. If a sequence selects an emulation that
Diablo 630 ..................... ESC @ E STX 1B 40 45 02 27 64 69 2 is not in the installed Intelli-card(s), the printer sounds
Epson JX ........................ ESC @ E EOT 1B 40 45 04 27 64 69 4 the audible alarm, displays the message EMULATION
Epson LQ-2550.............. ESC @ E ENQ 1B 40 45 05 27 64 69 5 ERROR, and ignores the sequence.
IBM XL24 ..................... ESC @ E ACK 1B 40 45 06 27 64 69 6
Bar code ......................... ESC @ E BS 1B 40 45 08 27 64 69 8
Set color .............................. ESC @ R n 1B 40 52 n 27 64 82 n This sequence selects a color from a seven-color palette. If
Black .............................. ESC @ R 1 1B 40 52 31 27 64 82 49 a monochrome ribbon is installed, the printer ignores this
Black (alternate) ............. ESC B 1B 42 27 66 sequence.
Blue ................................ ESC @ R 2 1B 40 52 32 27 64 82 50
Red ................................. ESC @ R 3 1B 40 52 33 27 64 82 51
Yellow............................ ESC @ R 4 1B 40 52 34 27 64 82 52
Yellow (alternate) .......... ESC A 1B 41 27 65
Purple ............................. ESC @ R 5 1B 40 52 35 27 64 82 53
Green.............................. ESC @ R 6 1B 40 52 36 27 64 82 54
Orange............................ ESC @ R 7 1B 40 52 37 27 64 82 55
Auto carriage return ......... ESC @ CR n 1B 40 0D n 27 64 13 n This sequence starts and ends the automatic carriage return
Start ................................ ESC @ CR 1 1B 40 0D 31 27 64 13 49 mode, wherein the printer performs a carriage return and
End ................................. ESC @ CR 0 1B 40 0D 30 27 64 13 48 line feed for every line feed code it receives.
Auto line feed ..................... ESC @ LF n 1B 40 0A n 27 64 10 n This sequence starts and ends the automatic line feed mode,
Start ................................ ESC @ LF 1 1B 40 0A 31 27 64 10 49 wherein the printer performs a carriage return and line feed
End ................................. ESC @ LF 0 1B 40 0A 30 27 64 10 48 for every carriage return code it receives.
User's Guide
Code Sets D-7
Table D-3. AMT and Diablo 630 Escape Sequences
Function ASCII Hexadecimal Decimal Description
Basic Functions
Reset printer ...................... ESC SUB I 1B 1A 49 27 26 73 These sequences set the top-of-form at the current print line
Alternate ......................... ESC CR P 1B 0D 50 27 13 80 and reset the print modes, page setup parameters, tabs and
special modes to the Setup menu defaults. These sequences
do not affect the current emulation or communications
parameters.
Restore printer settings..... ESC @ r n 1B 40 72 n 27 64 114 n This sequence restores the printer settings to the factory
Factory setup .................. ESC @ r 0 1B 40 72 30 27 64 114 48 default settings or the settings you saved previously using
User 1 setup ................... ESC @ r 1 1B 40 72 31 27 64 114 49 the SAVE parameter on the printer's Setup menu. The
User 2 setup ................... ESC @ r 2 1B 40 72 32 27 64 114 50 SAVE parameter lets you save up to five printer setups for
User 3 setup ................... ESC @ r 3 1B 40 72 33 27 64 114 51 recall later. Each setup is assigned a unique user number
User 4 setup ................... ESC @ r 4 1B 40 72 34 27 64 114 52 from 1 to 5.
User 5 setup ................... ESC @ r 5 1B 40 72 35 27 64 114 53
Note: Since communications settings are saved as part of
the user setup, be careful not to restore a user setup that
changes the active interface, unless you specifically want
to do so.
Set emulation ..................... ESC @ E n 1B 40 45 n 27 64 69 n This sequence selects the active emulation which deter-
AMT .............................. ESC @ E SOH 1B 40 45 01 27 64 69 1 mines the active code set. A partial list of sequences is
AMT (alternate) ............. ESC @ E 1 1B 40 45 31 27 64 69 49 shown to the left. If a sequence selects an emulation that
Diablo 630 ..................... ESC @ E STX 1B 40 45 02 27 64 69 2 is not in the installed Intelli-card(s), the printer sounds
Epson JX ........................ ESC @ E EOT 1B 40 45 04 27 64 69 4 the audible alarm, displays the message EMULATION
Epson LQ-2550.............. ESC @ E ENQ 1B 40 45 05 27 64 69 5 ERROR, and ignores the sequence.
IBM XL24 ..................... ESC @ E ACK 1B 40 45 06 27 64 69 6
Bar code ......................... ESC @ E BS 1B 40 45 08 27 64 69 8
Set color .............................. ESC @ R n 1B 40 52 n 27 64 82 n This sequence selects a color from a seven-color palette. If
Black .............................. ESC @ R 1 1B 40 52 31 27 64 82 49 a monochrome ribbon is installed, the printer ignores this
Black (alternate) ............. ESC B 1B 42 27 66 sequence.
Blue ................................ ESC @ R 2 1B 40 52 32 27 64 82 50
Red ................................. ESC @ R 3 1B 40 52 33 27 64 82 51
Yellow............................ ESC @ R 4 1B 40 52 34 27 64 82 52
Yellow (alternate) .......... ESC A 1B 41 27 65
Purple ............................. ESC @ R 5 1B 40 52 35 27 64 82 53
Green.............................. ESC @ R 6 1B 40 52 36 27 64 82 54
Orange............................ ESC @ R 7 1B 40 52 37 27 64 82 55
Auto carriage return ......... ESC @ CR n 1B 40 0D n 27 64 13 n This sequence starts and ends the automatic carriage return
Start ................................ ESC @ CR 1 1B 40 0D 31 27 64 13 49 mode, wherein the printer performs a carriage return and
End ................................. ESC @ CR 0 1B 40 0D 30 27 64 13 48 line feed for every line feed code it receives.
Auto line feed ..................... ESC @ LF n 1B 40 0A n 27 64 10 n This sequence starts and ends the automatic line feed mode,
Start ................................ ESC @ LF 1 1B 40 0A 31 27 64 10 49 wherein the printer performs a carriage return and line feed
End ................................. ESC @ LF 0 1B 40 0A 30 27 64 10 48 for every carriage return code it receives.