Star Micronics 150 Printer User Manual


 
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 <n1> <n2>
Hexadecimal 1BH 58H <n1> <n2>
Decimal <27> <88> <n1> <n2>
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
<n1>
1 to 18 1 to 23 1 to 28 1 to 35 1 to 40 1 to 46 1 to 56
<n2>
<n1>+2
to 18
<n1>+2
to 23
<n1>+3
to 28
<n1>+3
to 35
<n1>+4
to 40
<n1>+4
to 46
<n1>+4
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.