14
3.11 DP6 & DP7 PROGRAMMING
CAUTION: DURING PROGRAM DEVELOPMENT ALL PRINTING SHOULD BE DONE ON SINGLE
SHEET PAPER UNTIL PRINT FIELDS ARE CORRECTLY FORMATTED. PRINTING DIRECTLY ACROSS
THICK FOLDS AND DOCUMENT EDGES CAN DAMAGE THE PRINTHEAD.
The printer accepts two separate command sets, C and I, that are selectable either from the keypad using 9
3 FUNCT (see 3.6.2) or the interface. Mode C is compatible with previous versions of this printer while Mode
I is compatible with popular PC based printers. If Mode I is selected, the DP6 can use a IBM Proprinter driver
and the DP7 can use a IBM Proprinter X24 driver. Unique Mode C commands to communicate with the
keypad/display and request status can still be accessed in Mode I by preceding the Mode C command with a
ESC character.
3.11.1 Mode C Command Summary
Mode C recognizes the following ASCII control sequences:
ASCII
Hex
Command
STX
02
Start envelope data
ENQ
05
Status request
BEL
07
Load upper display immediate
* BS
08
Reverse line feed
HT
09
Configuration download
* LF
0A
Line feed
* VT
0B
Vertical tab feed
* FF
0C
Eject document
* CR
0D
Print buffer
SO
0E
Begin expanded characters
SI
0F
End expanded characters
DC1/DLE
11/10
Key buffer request
DC2
12
Line count request
DC3/ETB
13/17
Load upper display delayed
DC4
14
Master reset
EM
19
Document length request
SUB
1A
Status request delayed
ESC SO
1B 0E
Begin double height characters
ESC SI
1B 0F
End double height characters
* ESC n
1B 3#
Feed document up #/120 inches
ESC A
1B 41
Begin 60 dot/inch graphics
ESC B
1B 42
Begin 120 dot/inch graphics
ESC E
1B 45
Begin bold print
ESC F
1B 46
End bold print
* ESC J n
1B 4A
Feed document up n/216 inches
ESC ]
1B 5D
Reverse line feed
ESC ~ I
1B 7E 49
Select Mode I
FS
1C
Load lower display immediate
GS
1D
Load lower display delayed
RS n
1E n
Skip n blank spaces in print line
US
1F
Begin/End underscore
Commands prefixed with a * will not be executed until after an ENQ is received if the BLOCK protocol is
used. ENQs are not required if DTR or XON/XOF protocols are used.