Printronix ANSI Printer Printer User Manual


 
26
Chapter 2 Configuring The ANSI Emulation
Configuring The ANSI Emulation
Control codes transmit information other than printable characters to the
printer. They occupy the first 32 locations on the ASCII code chart (shown in
Appendix A) and are represented by two- or three-letter abbreviations. The
control code LF (decimal 10, hex 0A), for example, is usually interpreted as a
line feed. The response of the printer to other control codes will depend on the
emulation.
NOTE: Commands and control codes sent from a host system generally
override previous settings that result from the configuration menus.
However, any configuration settings from host control codes will be
gone once the printer is powered off (or reset to the default values),
unless you have saved them to memory using the configuration
menus. The User’s Manual describes the configuration menu option
for saving changes.
Control Codes
ACK (Acknowledge 06H)
A received ACK is ignored. A transmitted ACK is used as part of the serial
interface ETX/ACK protocol. Upon the end of transmission of a block of data
terminated with an ETX, the host stops sending data until the printer interface
sends an ACK back to the host.
BEL (Bell 07H)
Receipt of a BEL code causes the beeper to sound for approximately 1
second.
BS (Backspace 08H)
A BS permits overprinting of characters. This command moves the character
position one character width to the left. If the current print position is at column
one, this command is ignored.
CR (Carriage Return 0DH)
If configured CR=CR+LF, the line will print, the paper will advance to the next
line, and the print position will move to column one.
If configured CR=CR, the print position is set at column one of the current line.
Any subsequent printable data preceding a paper motion command will
overstrike previously printed data. If it is set to ignore by the panel, then the
CR will be ignored.
DC1 (Device Control-1 11H)
Switches the printer from local to on-line mode and enables the printer to
receive data. If the serial interface is selected, DC1 acts as a data stream
control code. When the buffer is empty, the printer will send a DC1 (XON) to
the host computer, which will send data to the printer until the printer sends a
DC3 (XOFF) to the host computer.