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.
Содержание P6000L
Страница 1: ...P600L P6200L Line Printers User s Reference Manual R...
Страница 2: ......
Страница 3: ...P6000L P6200L Line Printers User s Reference Manual R P N 140576 001 Rev C...
Страница 20: ...Overview 1 6...
Страница 23: ...2 3 Operation Figure 2 1 Power Switch Floor Cabinet Model Figure 2 2 Power Switch Pedestal Model...
Страница 28: ...Operation 2 8 Figure 2 4 Paper Adjustment Controls Floor Cabinet Model...
Страница 34: ...Operation 2 14 Figure 2 10 Loading Paper...
Страница 51: ...3 7 Configuration Figure 3 1 Sample Configuration Printout...
Страница 56: ...Configuration 3 12 Figure 3 4 PCBA Removal Pedestal Model Printer...
Страница 100: ...Vertical Format Units 5 16...
Страница 167: ...7 9 Interfaces Figure 7 1 Alternate Terminating Resistor Location Floor Cabinet Model...
Страница 169: ...7 11 Interfaces Figure 7 2 Alternate Terminating Resistor Location Pedestal Model...
Страница 190: ...RibbonMinder 9 14...
Страница 200: ...Installation 10 10 Figure 10 9 Side Shock Mount Restraint Screw Removal Floor Cabinet Model...
Страница 202: ...Installation 10 12 Figure 10 10 Pedestal Legs Installation Pedestal Model...
Страница 203: ...10 13 Installation Figure 10 11 Rubber Feet Removal Pedestal Model Figure 10 12 Pedestal Mounting Pedestal Model...
Страница 206: ...Installation 10 16 Figure 10 14 Shipping Restraint Removal Pedestal Model...
Страница 208: ...Installation 10 18 Figure 10 16 Cable Connections Pedestal Model...
Страница 210: ...Installation 10 20...
Страница 212: ...Appendix A 2...
Страница 213: ...B 1 Appendix APPENDIX B Serial Emulation Mode Character Set 1 80 9F Control Codes...
Страница 214: ...Appendix B 2 Serial Emulation Mode Character Set 2 80 9f Printable Symbols...
Страница 215: ...B 3 Appendix P Series Mode Character Set 1 80 9f Control Codes...
Страница 216: ...Appendix B 4 P Series Mode Character Set 2 80 9f Printable Symbols...
Страница 217: ...B 5 Appendix International Characters...
Страница 218: ...Appendix B 6...
Страница 232: ...P6000L P6200L User s Reference Manual Index 6...
Страница 233: ......