Control codes pcos series 150 programmer's guide – Star Micronics 150 User Manual
Page 64
Control Codes
PcOS Series 150
Programmer's Guide
Validation Operation
Page 54
Rev G
12/14/99
Function
Set left/right print margin
ASCII
[ESC] X
Hexadecimal
1BH 58H
Decimal
<27> <88>
IPCL
none
EPOS
[ESC] l or [ESC] Q
Description
Set left and right print margin in characters from the home position.
Where
n1 = Left margin
n2 = Right margin
The absolute position depends on the current print pitch.
8 cpi
10 cpi
12 cpi
15 cpi
17.1 cpi
20 cpi
24 cpi
Maximum
Columns
18
23
28
35
40
46
56
1 to 18
1 to 23
1 to 28
1 to 35
1 to 40
1 to 46
1 to 56
to 18
to 23
to 28
to 35
to 40
to 46
to 56
If the left and right margins are set to the right of the current horizontal
position, the new left and right margins become valid in the same line.
If the left margin is set to the left of the current horizontal position and the
right margin to the right of the current horizontal position, the right
margin becomes valid in the same line, but the left margin setting becomes
valid in the next line.
When the left and right margins are set to the left of the current horizontal
position, both left and right margin settings appear to become valid in the
next line. This is because an AUTO CR is performed by the following data.