Programming
6-2
Control Code Functions
The following information is listed for each code function (where applicable and possible).
ASCII Mnemonic
- The standard ASCII name for the control code.
Hex Code
- The code's numeric equivalent in hexadecimal.
Purpose
- The function(s) of the control code.
Expression
- A sample program statement written in the BASIC programming language.
Comment
- A description of exceptions or limitations to normal use.
Special Function Code - Control Code Header
A Special Function Code (SFC) is used to extend the control code protocol. The SFC is the
control code introducer (or header); it is the first input in the sequence of parameters. The
general control code sequence is:
(SFC)(parameter 1)(parameter 2)...(parameter n)
P-Series codes use SOH as the control code introducer. For example, to enable bold print in
the P-Series mode, use the P-Series SFC and the bold print control code character G:
ASCII:
Hex:
BASIC:
CHR$(1);
”
G
”
01 47
SOH G
Similarly, Serial Matrix codes use ESC as the control code introducer. For example, to enable
bold print in the Serial Matrix mode, use the Serial Matrix SFC and the bold print control code
character G:
ASCII:
Hex:
BASIC:
CHR$(27);
”
G
”
1B 47
ESC G
NOTE: All ESC and SOH commands must be terminated by a ;" in a BASIC program
or by text following the command string. A paper motion command directly following a
special function code command may result in erroneous paper movement.
Attribute Set and Reset Codes
Certain print attributes are set and reset (turned on or off) by using the appropriate ESC or
SOH code sequence and the numbers 1 or 0. These may be either the hexadecimal code 01 and
00, or the ASCII code for the printable symbols of decimal 1 and 0 (hexadecimal code 31 and
30, respectively). Expanded Print, Super/Subscript Print, and Underline are attributes which
are set/reset in this fashion.
Summary of Contents for P6000L
Page 1: ...P600L P6200L Line Printers User s Reference Manual R...
Page 2: ......
Page 3: ...P6000L P6200L Line Printers User s Reference Manual R P N 140576 001 Rev C...
Page 20: ...Overview 1 6...
Page 28: ...Operation 2 8 Figure 2 4 Paper Adjustment Controls Floor Cabinet Model...
Page 34: ...Operation 2 14 Figure 2 10 Loading Paper...
Page 51: ...3 7 Configuration Figure 3 1 Sample Configuration Printout...
Page 56: ...Configuration 3 12 Figure 3 4 PCBA Removal Pedestal Model Printer...
Page 100: ...Vertical Format Units 5 16...
Page 167: ...7 9 Interfaces Figure 7 1 Alternate Terminating Resistor Location Floor Cabinet Model...
Page 169: ...7 11 Interfaces Figure 7 2 Alternate Terminating Resistor Location Pedestal Model...
Page 190: ...RibbonMinder 9 14...
Page 200: ...Installation 10 10 Figure 10 9 Side Shock Mount Restraint Screw Removal Floor Cabinet Model...
Page 202: ...Installation 10 12 Figure 10 10 Pedestal Legs Installation Pedestal Model...
Page 206: ...Installation 10 16 Figure 10 14 Shipping Restraint Removal Pedestal Model...
Page 208: ...Installation 10 18 Figure 10 16 Cable Connections Pedestal Model...
Page 210: ...Installation 10 20...
Page 212: ...Appendix A 2...
Page 213: ...B 1 Appendix APPENDIX B Serial Emulation Mode Character Set 1 80 9F Control Codes...
Page 214: ...Appendix B 2 Serial Emulation Mode Character Set 2 80 9f Printable Symbols...
Page 215: ...B 3 Appendix P Series Mode Character Set 1 80 9f Control Codes...
Page 216: ...Appendix B 4 P Series Mode Character Set 2 80 9f Printable Symbols...
Page 217: ...B 5 Appendix International Characters...
Page 218: ...Appendix B 6...
Page 232: ...P6000L P6200L User s Reference Manual Index 6...
Page 233: ......