Control Codes
PcOS Series 80PLUS
Programmer's Guide
Summary by Code
Page 58
Rev B 4/13/99
Normal
ASCII
Second
ASCII
Field
Hex Code
IPCL Equivalent
Code
Description
Page
[ESC]
Z <n>1
<n>2
1BH,5AH
Quad-density full-speed graphics
n1 = 0..255
n2 = 0..3
len = n1 +256 * n2
37
[ESC]
[ @ ...
1BH,5BH,
40H
Set print style
(See command description).
31
[ESC]
[ P <n>
1BH,5BH,
50H
&%F1-7
Set character pitch
27
[ESC]
[ T <n>
1BH,5BH,
54H
&%CP
Set character set by code page.
24
[ESC]
^<n>
1BH,5EH
&%CC
Print control code
25
[ESC]
a <n>
1BH,61H
&%JR
&%JC
&%JL
Set justification to
n = 0 Left
n = 1 Center
n = 2 Right
19
[ESC]
b <n> ...
[ETX]
1BH,62H
&%25 {n=0}
&%39 {n=1}
&%12 {n=2}
&%UP {n=3}
&%EA {n=4}
Print Bar code
n = 0 Interleave 2 of 5
n = 1 Code 39
n = 2 Code 128
n = 3 UPC A
n = 4 EAN-13
42
[ESC]
d <n>
1BH,64H
&%FL
Feed <n> lines at the current spacing
21
[ESC]
g <n>
1BH,67H
&%GP {n=0}
&%GS {n=1}
&%GE {n=2}
&%GW {n=3}
Graphic save buffer control where
n = 0 Print buffer
n = 1 Clear and start save
n = 2 End save
n = 3 End save and store to nonvolatile
memory
41
[ESC]
q <n>
1BH,71H
None
Buffer marker query
44
[ESC]
r <n>
1BH,72H
&%R0 {n=0}
&%R1 {n=1}
&%R2 {n=2}
&%R3 {n=3}
Rotated print
n = 0 End
n = 1 Rotated by 90°
n = 2 Rotate left 180°
n = 3 Rotate by 270°
NOTE:
Other font and format options
are available.
34
[ESC]
v
1BH,76H
&%FC
Cycle receipt cutter
45
[ESC]
w <n>
1BH,77H
Enable dynamic response
54
[ESC]
x <n>
1BH,78H
&%D1 {n=1}
&%D2 {n=2}
Open cash drawer
n = 1 Cash Drawer 1
n = 2 Cash Drawer 2
45
[ESC]
y <n>
1BH,79H
&%Y0 – 9
Control diagnostics and extended
features (See description).
46
[GS]
<n>
1DH,7FH
Diagnostic commands
55