Zebra 01219-901 User Manual

Page of 116
Programming
Summary of Control Codes and Escape Sequences
28
P1003643-001
TTP 1020™/TTP 1030™ Technical Manual
03/03/2009
Summary of Control Codes and Escape Sequences
You need not use the programming commands when you print through a Windows printer 
driver.
 
Table 3 • Control codes & escape sequences in alphabetical order
Note • 
Text commands were added in firmware release 2.00. 
Command
Hex
Decimal
Function
Page
08
008
Backspace
18
024
Cancel
0D
013
Carriage return
ENQ
05
005
Clear presenter
ESC ACK n
1B 06 n
027 006
Set acknowledge marker
ESC ! n
1B 21 n
027 033
Select font
ESC & 4
1B 26 04
027 038 004
Store current parameter values in flash PROM
ESC & 6 n
1B 26 06 n
027 038 006 n
Calibrate eject length
ESC & F
1B 26 46
027 038 070
ESC & P n v
1B 26 50 n v
027 038 080 n v
Set parameter value
ESC ?
1B 3F
027 063
Reset (full)
ESC @
1B 40
027 064
Reset (initialize)
ESC 3 n
1B 33 n
027 051
Line spacing
ESC b 0 x1 x2 y1 y2
1B 62 n…
027 098 n…
Print bitmap at XY position
ESC B n
1B 42 n
027 066 n
Bold ON/OFF
ESC BC
1B 42 43
027 066 067
Barcode Clear
ESC BS n1-n11
1B 42 54 n1-n11
027 066 084 n…
Barcode Specify
ESC BW n1…nn
1B 42 57 n1-nn
027 066 087 n…
Barcode Write
ESC c n
1B 63 n
027 099 n
Variable page length ON/OFF
ESC C n1 n2
1B 43 n1n2
027 067 n1 n2
Page length
ESC d n
1B 64 n
027 100 n
Make n line feeds
ESC ENQ 01
1B 05 01
027 005 001
Status enquiry, general
ESC ENQ 02
1B 05 02
027 005 002
Paper-near-end enquiry
ESC ENQ 04
1B 05 04
027 005 004
Fonts enquiry
ESC ENQ 06
1B 05 06
027 005 006
Status report
ESC ENQ 07
1B 05 07
027 005 007
Firmware version enquiry
ESC ENQ 09
1B 05 09
027 005 009
Serial number enquiry
ESC ENQ 10
1B 05 0A
027 005 010
Control board revision enquiry
ESC ENQ 11
1B 05 0B
027 005 011
Head temperature enquiry