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] 01BH,30H &%ST Set 1/8-inch line space. 18
[ESC] 11BH,31H &%SG Set 7/72-inch line space. 19
[ESC] 21BH,32H Begin variable line spacing.
(Enable [ESC] A n). 19
[ESC] 3 <n> 1BH,33H &%SV
<m1><m2><m3>Set fine line space n/216 inch where
n=1..255 defines the feed used by
line feed.
18
[ESC] 41BH,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 n1 n2...
nk 0. 20
[ESC] C <n> 1BH,43H &% Set form length in lines or inches. 21
[ESC] J <n> 1BH,4AH &%FM
<m1><m2><m3>Do a fine line feed n/216 inch.
n=0 no line feed
n=1..255
18
[ESC] R1BH,52H &%HV Reset horizontal and vertical tabs to
defaults. 17
[ESC] ]1BH,5DH &%LR Reverse line feed. 21
[ESC] d <n> 1BH,64H &%FL
<m1><m2>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 n1 n2
... nk 0. The maximum value of n
depends on the station selected.
16
[ESC] R1BH,52H &%HV Reset horizontal and vertical tabs to
defaults. 17
[ESC] V <n> 1BH,56H Set intercharacter spacing. 32
[ESC] X
<n1><n2>1BH,58H Set left and right margins.
n1=left in characters
n2=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