Programmer's Guide
PcOS Series 80PLUS
Control Codes
Horizontal Motion
Rev B 4/13/99
Page 19
Function
Set justification
ASCII
[ESC] a <n>
Hexadecimal
1BH 61H <n>
Decimal
<27><97><n>
IPCL
&%JL, &%JC, &%JR
Description
This command sets the horizontal justification. The print format of the printer
can be right, center, or left justified. The value of <n> specifies the justification.
Where <n>
0 = Left justified
&%JL
1 = Center justified
&%JC
2 = Right justified
&%JR
8 = Left justified (No LF)
None
9 = Center justified (No LF)
None
10 = Right justified (No LF)
None
The power on default is left justified.
NOTE:
Lines that have mixed size characters within the line cannot be
centered. For example, a line with mixed single- and double-high characters
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. For 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:
The justify commands also effect graphics.