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.
Decimal Code
- The code's numeric equivalent in decimal.
Purpose
- The function(s) of the control code.
Comment
- A description of exceptions or limitations to normal use.
A sample
Expression
written in BASIC programming language is provided for some control
codes when a specific syntax is required to complete the program statement (ie: Bit Image
modes, Download a Language, Download a Character, Horizontal Tab Set, Vertical Tab Set/
Clear). The programs in this chapter were run on an IBM Personal Computer using Microsoft
GW-BASIC version 3.22.
Special Function Control Code - Control Code Header
A Special Function Control Code (SFCC) is used to extend the control code protocol. The
SFCC is the control code introducer (or header); it is the first input in the sequence of parameĆ
ters. The general control code sequence is:
(SFCC)(parameter 1)(parameter 2)...(parameter n)
P-Series codes
can use SOH, ETX, ESC, ^ (hat") or ~ (tilde") as control code introĆ
ducers. For example, bold print can be enabled in the P-Series protocol using any of the folĆ
lowing control code introducers:
ASCII:
Hex:
BASIC:
CHR$(1);
“
G
”
;
01 47
SOH G
ETX G
ESC G
^ G
~ G
03 47
27 47
5E 47
7E 47
CHR$(3);
“
G
”
;
CHR$(27);
“
G
”
;
CHR$(94);
“
G
”
;
CHR$(126);
“
G
”
;
Serial Matrix codes
use
only
ESC as the control code introducer. For example, to enable bold
print in the Serial Matrix printer protocol, use the Serial Matrix SFCC and the bold print conĆ
trol code character G as follows:
ASCII:
Hex:
BASIC:
CHR$(27);
“
G
”
;
1B 47
ESC G
The SFCC is selected from the control panel. To select the SFCC for your application, refer to
the Application Compatibility diagrams in the Configuration chapter. (Most programming exĆ
amples in this chapter have been created using the ESC control code introducer.)
NOTE: SFCC commands must be terminated by a semicolon (;) in a BASIC program or
by text following the command string. A paper motion command directly following a speĆ
cial function code command may result in erroneous paper movement.
Содержание P9000 Series
Страница 1: ...P9000 Series Multifunction Printer User s Reference Manual R...
Страница 2: ......
Страница 3: ...P9000 Series Multifuction Printer User s Reference Manual R P N 133397 001 Rev B...
Страница 12: ...P9012 Multinational User s Reference Manual viii...
Страница 18: ...Overview 1 6...
Страница 26: ...Operation 2 8 Figure 2 2 Loading Paper...
Страница 31: ...2 13 Operation Figure 2 5 Paper Tent Installation Figure 2 6 Paper Stacking...
Страница 40: ...Operation 2 22...
Страница 43: ...3 3 Configuration Figure 3 1 Sample Configuration Printout...
Страница 68: ...Configuration 3 28...
Страница 182: ...Routine Service Diagnostics 8 4 Figure 8 2 Cleaning the Paper Motion Detector...
Страница 200: ...RibbonMinder 9 14...
Страница 230: ...Multinational Character Sets 10 30...
Страница 234: ...Installation 11 4 Figure 11 2 Shipping Restraint Removal...
Страница 238: ...Installation 11 8...
Страница 240: ...P9000 Appendices 10 A 2...
Страница 306: ...Appendix C 6...
Страница 312: ...Appendix D 6...
Страница 322: ...Appendix E 10...
Страница 326: ...Appendix F 4 Figure F 2 Removing the DCU PCBA...
Страница 333: ......