Programmer's Guide PcOS Series 150 Control Codes
Summary by Function
12/14/99 Rev G Page 85
Control Codes Summary by Function
Normal
ASCII
Second
ASCII
field
Hex Code IPCL equivalent
code
Description Page
Print/paper motion
[CR] 0DH &%CR Set carriage return. 15
Vertical motion
[LF] 0AH &%LF Set line feed. 15
[VT] 0BH &%VT Set vertical tabs. 20
[FF] 0CH &%FF Set form feed. 20
[ESC] 0 1BH,30H &%ST Set 1/8-inch line space. 18
[ESC] 1 1BH,31H &%SG Set 7/72-inch line space. 19
[ESC] 2 1BH,32H Begin variable line spacing.
(Enable [ESC] A n).
19
[ESC] 3 <n> 1BH,33H &%SV
<m
1
><m
2
><m
3
>
Set fine line space n/216 inch where
n=1..255 defines the feed used by
line feed.
18
[ESC] 4 1BH,34H &%ST Set top of form. 20
[ESC] 5 <n> 1BH,35H &%CA {n=0}
&%MA {n=1}
Set auto line feed.
n=0 end
n=1 begin
21
[ESC] A <n> 1BH,41H Set variable line spacing n/72 where
n=1..85 is enabled by [ESC] 2.
19
[ESC] B
<n>
1
<n>
2
<n>
3
...
<n>
k
<0>
1BH,42H Set vertical tabs at lines n
1
n
2
...
n
k
0.
20
[ESC] C <n> 1BH,43H &% Set form length in lines or inches. 21
[ESC] J <n> 1BH,4AH &%FM
<m
1
><m
2
><m
3
>
Do a fine line feed n/216 inch.
n=0 no line feed
n=1..255
18
[ESC] R 1BH,52H &%HV Reset horizontal and vertical tabs to
defaults.
17
[ESC] ] 1BH,5DH &%LR Reverse line feed. 21
[ESC] d <n> 1BH,64H &%FL
<m
1
><m
2
>
Feed <n> lines at the current
spacing.
19
Horizontal motion
[HT] 09H &%HT Set horizontal tabs. 16
[ESC] D
<n>
1
<n>
2
<n>
3
...
<n>
k
<0>
1BH,44H Set horizontal tabs at columns n
1
n
2
... n
k
0. The maximum value of n
depends on the station selected.
16
[ESC] R 1BH,52H &%HV Reset horizontal and vertical tabs to
defaults.
17
[ESC] V <n> 1BH,56H Set intercharacter spacing. 32
[ESC] X
<n
1
><n
2
>
1BH,58H Set left and right margins.
n
1
=left in characters
n
2
=right in characters
[ESC] a <n> 1BH,61H &%JR
&%JC
&%JL
Set justification.
n=0 left
n=1 center
n=2 right
n=4 180° right
n=5 180° center
n=6 180° left
180° mode not available in IPCL.
17