Programmer's guide pcos series 150 control codes – Star Micronics 150 User Manual
Page 27

Programmer's Guide
PcOS Series 150
Control Codes
Horizontal Motion
12/14/99
Rev G
Page 17
Function
Reset horizontal and vertical tab stops
ASCII
[ESC] R
Hexadecimal
1BH 52H
Decimal
<27> <82>
IPCL
&%HV
EPOS
none
Description
This command resets horizontal and vertical tab stops to power up
configuration. The power up horizontal default is every 8 spaces, i.e., 9,
17, 25, etc. The vertical default is every line.
Function
Set justification
ASCII
[ESC] a
Hexadecimal
1BH 61H
Decimal
<27> <97>
IPCL
&%JL, &%JC, &%JR
EPOS
[ESC] a
Description
This command sets the horizontal justification.
Where
0 = left justified
&%JL
1 = center justified
&%JC
2 = right justified
&%JR
The print format can be right, center, or left justified. The value of
specifies the justification.
The power on default is left justified.
Note: Lines that have mixed size characters cannot be centered. For
example, a line with mixed single- and double-high cannot be centered. If
a line of print is to be double-high and centered, the change to single-high
must be done after the line terminator for the double-high line.
Example: [ESC] W <3> Centered [ESC] W <0> [CR] will not print
correctly because the printer assumes that more data will follow the [ESC]
W <0>. This should be [ESC] W <3> Centered [CR] [ESC] W <0>.
Note: Several line graphic characters stress the printer. If the printer is to
print a very dark area, it will do it in steps. The stepping operation only
works in left justified mode. In general, this will not cause a problem
because the printer will print several black blocks in a row before the
stepping program is activated. Autocenter and line graphics should be
avoided because of character alignment.
Note: Justify commands do not affect graphics.