28
Chapter
2
Configuring The ANSI Emulation
NOTE:
Channel 12 is always used with the VT character. See Chapter 3,
“Vertical Page Formatting,” for more details.
Format For Control Code Descriptions
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 for the printer
and the ANSI protocol. 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.
Expression
The control codes used in the BASIC programming language.
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 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.
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
ESC [
p1
g
ESC[3g
LPRINT CHR$(27);“[3g”
Horizontal Tabs Set
ESC [
p1
;
p2
...
pn
u
ESC[648;1386;2808u
LPRINT CHR$(27);“[648;1386;2808u”
Expand Characters
ESC [
p1
;
p2
SP B
ESC[200;200 B
LPRINT CHR$(27);“[200;200 B”
NOTE:
If you specify parameters for a control code other than the ones
defined in the control code description, unpredictable results may
occur.
NOTE:
Throughout this chapter the term “decipoints” is used. A decipoint
equals 1/720 inch and is used as a standard of measurement for
parameters associated with distances.
Summary of Contents for ANSI Printer
Page 1: ...Programmer s Reference Manual ANSI Printers ...
Page 2: ......
Page 3: ...164305 001D Programmer s Reference Manual ANSI Printers ...
Page 7: ...Table of Contents B Conversion Tables 77 C Glossary 85 ...
Page 8: ...Table of Contents ...
Page 22: ...22 Chapter 1 Installing Printer Emulations ...
Page 58: ...58 Chapter 2 Oversize Character Font Option ...
Page 74: ...74 Chapter 3 ANSI EVFU ...
Page 76: ...76 Appendix A ...
Page 84: ...84 Appendix B ...
Page 100: ...100 Appendix C ...
Page 104: ...104 ...
Page 105: ......