AMT Datasouth AMTACCEL-5350 Printer User Manual


 
User's Guide
D-2 Code Sets
AMT and Diablo 630 Code Set
The first part of this appendix describes the AMT and Diablo 630 code
set. The printer responds to this code set when either of these emulations
is active.
Character Codes
Most of the 256 codes that a computer can send to the printer are as-
signed a printable character (see table D-1). When the printer receives a
character code, it prints the assigned character at the current print
position and then moves the current print position one character space to
the right.
Some codes are assigned control functions that override the printable
characters. These codes are called control codes. To print the characters
assigned to control codes, it is necessary to use a special code sequence
that tells the printer to ignore control functions and print the assigned
characters.
One code that is assigned a control function is especially important to the
printer––code 27 decimal––which is the ASCII ESCape code. This code
tells the printer that an escape sequence is beginning. An escape se-
quence is a series of codes that performs a specific printer function.
When a code is sent as part of an escape sequence, the assigned character
doesn't print.
Printing Characters Assigned to Control Codes
There are several control codes and escape sequences in the code set that
enable the printing of characters assigned to control codes.
The GS control code enables the printing of any character assigned a
code in the range 00 to 1F hex. Just send a GS code and then the desired
character code. The SO code performs the same function as the GS
code, except that it affects all subsequent codes until an SI code or ESC
SI sequence disables the printing of these characters.
The ESC Y sequence prints the character assigned to the SP control
code; ESC Z prints the character assigned to the DEL control code.
These codes and sequences are described later in this appendix.
User's Guide
D-2 Code Sets
AMT and Diablo 630 Code Set
The first part of this appendix describes the AMT and Diablo 630 code
set. The printer responds to this code set when either of these emulations
is active.
Character Codes
Most of the 256 codes that a computer can send to the printer are as-
signed a printable character (see table D-1). When the printer receives a
character code, it prints the assigned character at the current print
position and then moves the current print position one character space to
the right.
Some codes are assigned control functions that override the printable
characters. These codes are called control codes. To print the characters
assigned to control codes, it is necessary to use a special code sequence
that tells the printer to ignore control functions and print the assigned
characters.
One code that is assigned a control function is especially important to the
printer––code 27 decimal––which is the ASCII ESCape code. This code
tells the printer that an escape sequence is beginning. An escape se-
quence is a series of codes that performs a specific printer function.
When a code is sent as part of an escape sequence, the assigned character
doesn't print.
Printing Characters Assigned to Control Codes
There are several control codes and escape sequences in the code set that
enable the printing of characters assigned to control codes.
The GS control code enables the printing of any character assigned a
code in the range 00 to 1F hex. Just send a GS code and then the desired
character code. The SO code performs the same function as the GS
code, except that it affects all subsequent codes until an SI code or ESC
SI sequence disables the printing of these characters.
The ESC Y sequence prints the character assigned to the SP control
code; ESC Z prints the character assigned to the DEL control code.
These codes and sequences are described later in this appendix.