4
Control Codes and Escape Sequences
Function
Code
Decimal
Hex
Function
Code
Decimal
Hex
Horizontal tab
HT
9
09
Country select
ESC R n
27 82 n
1B 52 n
Line feed
LF
10
0A
Double width on
ESC W 1
27 87 1
1B 57 01
Form feed
FF
12
0C
Double width off
ESC W 0
27 87 0
1B 57 00
Carriage return
CR
13
0D
Compress bit image graphics
ESC n[d1]… n24[d24]
27 90 n1 … n24
1B 5A n1 … n24
Double width on
SO
14
0
E
Print & feed paper
ESC d n
27 100 n
1B 64 n
Double width off
SI
15
0F
Lable advance
ESC f
27 102
1B 66
Cancel
CAN
24
18
Reversed on
ESC i 1
27 105 1
1B 69 01
Set print mode
ESC ! n
27 33 n
1B 21 n
Reversed off
ESC I 0
27 105 0
1B 69 00
Set barcode start position
ESC $ n1 n2
27 36 n1 n2
1B 24 n1 n2
Double height on
ESC w 1
27 119 1
1B 77 01
Set bit image (8 pin single density)
ESC * 0 n1 n2 [d]
27 42 0 n1 n2 [d]
1B 2A 00 n1 n2 [d]
Double height off
ESC w 0
27 119 0
1B 77 00
Set bit image (8 pin single density)
ESC * 1 n1 n2 [d]
27 42 1 n1 n2 [d]
1B 2A n1 n2 [d]
Inverse on
ESC { 1
27 123 1
2B 7B 00
Set bit image (24 pin single density)
ESC * 32 n1 n2 [d]
27 42 32 n1 n2 [d]
1B 1A 20 n1 n2 [d]
Inverse off
ESC { 0
27 123 0
1B 7B 00
Set bit image (24 pin single density)
ESC + 33 n1 n2 [d]
27 42 33 n1 n2 [d]
1B 1A 21 n1 n2 [d]
Set barcode height (1<n<225)
GS h n
29 104 n
1D 68 n
Underline on
ESC – 1
27 45 1
1B 2D 01
Print UPC-A barcode
GS k 0 [d] NULL
27 107 0 [d] 0
1D 6B 00 [D] 00
Underline off
ESC -0
27 45 0
1B 2D 00
Print UCP-E barcode
GS k 1 [d] NULL
27 107 1 [d] 0
1D 6B 01 [D] 00
Reset
ESC @
27 64
1B 40
Print EAN13 barcode
GS k 2 [d] NULL
27 107 2 [d] 0
1D 6B 02 [D] 00
Set page length
ESC C n
27 67 n
1B 43 n
Print EAN8 barcode
GS k 3 [d] NULL
27 107 3 [d] 0
1D 6B 03 [D] 00
Set horizontal length
ESC D n
27 68 n
1B 44 n
Print Code 39 barcode
GS k 4 [d] NULL
27 107 4 [d] 0
1D 6B 04 [D] 00
Bold on
ESC G
27 71
1B 47
Print 2 of 5 barcode
GS k 5 [d] NULL
27 107 5 [d] 0
1D 6B 05 [D] 00
Bold off
ESC H
27 72
1B 48
Print codabar barcode
GS k 6 [d] NULL
27 107 6 [d] 0
1D 6B 06 [D] 00
Set bit image
ESC K n1 n2 [d]
27 75 n1 n2 [d]
1B 4B n1 n2 [d]
Print CODE 128 barecode
GS k 7 n [d]
27 107 7 n [d]
1D 6B 07 [D] 00
Set barecode magnification
2<n<4
GS w n
29 119 n
1D 77 n
Print Mode (ESC !)
Value
Bit
Function
0
1
0
Print Density
Bit 3
Bit 2
Character Font
Bit 1
Bit 0
1
Character font
(see below)
Light
1 (Default)
0
0
24 characters per line
0
0
2
2
0
1
48 characters per line
0
1
3
Print density
(see below)
3 (Label Default)
1
0
32 characters per line
1
0
4
Double height
Cancelled
Set
Dark
4
1
1
Undefined
1
1
5
Double width
Cancelled
Set
6
Undefined
7
Undefined
Cancelled
Set
Replacing Paper Roll
If the paper roll needs replacing, open the paper cup lid (squeeze cup lid as shown in Fig 3) and remove the
remaining paper using the Paper Feed button,
do not pull paper through the printer mechanism.
Reel off a few
centimetres from a new roll of paper and check that the end has a clean straight edge (see Fig 4). Slide the leading
edge of the paper through the paper entry slot, with the leading edge of the paper feeding forwards from the bottom
of the roll, until you feel resistance. Press the paper feed button and feed the paper through the printer mechanism
(see Fig 5). Keep the paper feed button depressed until enough paper is fed through the printer mechanism to pass
through the paper exit slot. Sit the new paper roll in the paper cup and close the lid.
Should the paper become creased or out of line when feeding in a new roll, cut the end off the paper roll, feed out
the creased paper using the Paper Feed button, and reload ensuring the paper has a clean straight edge.
TAG Heuer
PROFESSIONAL TIMING
6A Louis-Joseph Chevrolet
2300 la Chaux-de-Fonds
Switzerland
Tel : 032 919 8000
Fax : 032 919 9026
www.tagheuer-timing.com