Format For Control Code Descriptions - Printronix ANSI Printer Programmer's Reference Manual

Printronix printer programmer's reference manual
Table of Contents

Advertisement

Chapter
2
Configuring The ANSI Emulation
NOTE: Channel 12 is always used with the VT character. See Chapter 3,

Format For Control Code Descriptions

The following information is listed for each control code (where applicable):
Name
ASCII Code The ASCII mnemonic for the command is shown for the printer
Hex Code
Dec Code
Expression The control codes used in the BASIC programming language.
Purpose
Discussion A discussion of the uses of the code or command sequence,
Example
Examples are shown below of escape sequences as written in the text, shown
with parameters filled in, and written in the BASIC program language.
Tab Clear
Horizontal Tabs Set
Expand Characters
NOTE: If you specify parameters for a control code other than the ones
NOTE: Throughout this chapter the term "decipoints" is used. A decipoint
28
"Vertical Page Formatting," for more details.
The title or function of the command.
and the ANSI protocol. Command sequences are in 7-bit (ASCII)
form.
The code or command sequence in hexadecimal numbers.
The code or command sequence in decimal numbers.
The function(s) of the control code.
including exceptions or limitations to its use.
A sample program written in BASIC programming language is
provided when it is possible to illustrate the effect of a control
code or if a specific syntax is required.
defined in the control code description, unpredictable results may
occur.
equals 1/720 inch and is used as a standard of measurement for
parameters associated with distances.
ESC [p1 g
ESC[3g
LPRINT CHR$(27);"[3g"
ESC [p1;p2...pn u
ESC[648;1386;2808u
LPRINT CHR$(27);"[648;1386;2808u"
ESC [p1;p2 SP B
ESC[200;200 B
LPRINT CHR$(27);"[200;200 B"

Advertisement

Table of Contents
loading

Table of Contents