5525B/31/32 Line Matrix Printer LinePrinter Plus Programmer's Reference

58
Chapter 3 Configuring the Proprinter III XL Emulation with Control Codes
Configuring the Proprinter III XL Emulation with Control
Codes
The remainder of this chapter describes the Proprinter printer control
language codes that may be sent from a host computer attached to the
printer, in order to configure numerous Proprinter III XL emulation
parameters.
Format for Control Code Descriptions
In this chapter, the following information is listed for each control code (where
applicable):
Name The title or function of the command.
ASCII Code The ASCII mnemonic for the command is shown. Command
sequences are in 7-bit (ASCII) form.
Hex Code The code or command sequence in hexadecimal numbers.
Dec Code The code or command sequence in decimal numbers.
Purpose The function(s) of the control code.
Discussion A discussion of the uses of the code or command sequence,
including exceptions or limitations to its use.
Example A sample is provided when it is possible to illustrate the effect of
a control code or if a specific syntax is required.
NOTE: If you specify any parameters for a control code other than the ones
that are defined in the control code description, unpredictable results
may occur. The PI line is never recognized in Proprinter III XL
Emulation mode.
Escape Control Codes Overview
Printer capability is greatly increased by the use of escape control code
sequences. Escape sequences always begin with the ASCII escape
sequence introducer, ESC (hex 1B). Many of the ASCII control codes
described in this chapter are escape sequences.
IMPORTANT
An Escape code can occur anywhere in the datastream and is acted
upon immediately if it precedes a valid command.
An ESC sequence introducer in the data stream signals the printer to wait for
special instructions, even if it is ready and printing. The character codes
following the ESC character tell the printer what to do.
NOTE: For readability, code sequences appear in this manual with spaces
inserted between command elements. Do not insert spaces between
code characters when you are programming unless the ASCII space
character (SP) is part of a code sequence. For example, a code
sequence printed in this manual as ESC [ 1 is programmed as ESC[1.