Star Micronics XR-1000 Printer User Manual


 
1 Set iustification mode
Both 1
1 cESC>
a
cn>
I
1Bh 61h
21 97
CTD
<n>
The command above will set the justification mode in which the printer prints
received data, where 01> is a binary or ASCII value in the range OOh (or W”) through
02h (or “2”). The meanings of these values are shown in the table below:
Value
ooh. “0”
Meaning
Left justification
Olh. “1” 1 centering
02h. “2” I Right justification
The default (when the printer is first turned on) is left justification.
1 Produce character space
Standard 1
I &SC> <SP>
Cn>
I
1Bh 20h
27 32
Cn>
cn>
‘Ihe command above produces a space character, where <SF5 is the ASCII space
character (20h), and 01> is a binary value from 0 through 127 giving the space width
in dots. When in draft mode, the dot spacing is l/120 inch, and when in NLQ, the dot
spacing is l/240 inch. If in superscript or subscript printing, the dot spacing is the
same as above, but if in expanded mode, the resolution is half the above.
Select next horizontal print position (by dot)
Both
<ESC>
$
cnO> cd>
1Bh 24h dh
cd>
27 36
alo>
cd>
The command above will start subsequent printing at a horizontal position deter-
mined by dot spacing, where ore> and al> are two binary numbers (low byte first)
specifying the number of dots (at l/60 inch spacing) by which the print head will
move to the right from the left margin. If the subsequent print position is beyond the
right margin, then printing will start at the left margin.
47