Control Codes

Page 70 100-88002 Rev B
Quick PcOS Reference Chart
Description ASCII Hex IPCL
equivalent
code
Page
Low Level paper Motion
Line feed. [LF] 0AH &%LF 76
Carria
g
e return. [CR] 0DH &%CR 76
Horizontal Motion
Back space. [BS] 08H &%BS 77
Horizontal tab. [HT] 09H &%HT 77
Set horizontal tab stops. [ESC] D <n1> <n2>
... <ni> <0>
1BH 44H none 77
Set horizontal position. [ESC] n <n1> <n2>1BH 6EH &%HP<m1>
<m2> <m3>
78
Set justification.
n=0 Left
n=1 Center
n=2 Right
n=8 Left (No line feed)
n=9 Center (No line feed)
n=10 Right (No line feed)
[ESC] a <n> 1BH 61H &%JR
{
n=2
}
&%JC {n=1}
&%JL {n=0}
78
Reset horizontal and vertical tab
stops.
[ESC] R 1BH 52H &%HV 78
Set left/ri
g
ht print mar
g
ins.
n1 = Left margin, n2 = Right margin
[ESC] X <n1><n2>1BH 58H none 154
Select minimum character hei
g
ht
and width in points
[ESC] +P<w><h> 1BH 50H none 215
Select minimum character hei
g
ht
and width in ¼ points
[ESC] + p<w><h> 1BH 70H none 216
Vertical Motion
Perform a fine line feed. [ESC] J <n> 1BH 4AH &%FM <m1>
<m2> <m3>
79
Set 1/8-inch line spacin
g
. [ESC] 0 1BH 30H &%ST 79
Set 7/72-inch line spacin
g
. [ESC] 1 1BH 31H &%SG 80
Be
g
in variable line spacin
g
.
(Enable [ESC] A <n>).
[ESC] 2 1BH 32H none 80
Set variable line spacin
g
to n/216
inch.
[ESC] 3 <n> 1BH 33H &%SV <m1>
<m2> <m3>
79
Set variable line spacin
g
to n/72
inch.
[ESC] A <n> 1BH 41H none 80
Set Line spacin
g
in points [ESC]+V<n> 1BH 2BH 56H None 215
Set Line spacin
g
in ¼ points [ESC]+v<n> 1BH 2BH 76H None 216
Select minimum character hei
g
ht
and width in points
[ESC] + P<w><h> 1BH 50H none 215
Select minimum character hei
g
ht
and width in ¼ points
[ESC] + p<w><h> 1BH 70H none 216
Feed <n> lines at current spacin
g
. [ESC] d <n> 1BH 64H &%FL <m1>
<m2>
82
Set vertical tab stops. [ESC] B <n1> <n2>
<n3>...<ni> 0
1BH 42H none 83
Vertical tab. [VT] 0BH &%VT 82
Form feed. [FF] 0CH &%FF 83
Feed to black dot [ESC][VT] 1BH 0BH None 86