3-6 horizontal direction printing position, Esc rs a n – Star Micronics Dot Impact Printer User Manual
Page 35

3-27
STAR Command Specifications
Rev. 0.70
3-3-6 Horizontal Direction Printing Position
ESC RS A n
[Name]
Set print region
[Code]
ASCII
ESC
RS
A
n
Hexadecimal
1B
1E 41
n
Decimal
27
30 65
n
[Defined Area]
Specification 1
0 ≤ n ≤ 3
Specification 2
0 ≤ n ≤ 5
[Initial Value]
MSW Setting
[Function]
After printing data in the line buffer, this sets the printable region in the horizontal direction according to the n
value.
Setting this command partway will print the data in the line buffer at that time, perform a line feed and then
take affect from the next line.
n
Print Region (Number of Dots)
Spec. 1
Spec. 2
0
210 Dots
○
○
1
160 Dots
○
○
2
200 Dots
○
○
3
150 Dots
○
○
4
190 Dots
-
○
5
180 Dots
-
○
The next horizontal position settings are all initialized.
• Left margin
• Right margin
• Current horizontal position
• Horizontal tab position
The setting of this command is not initialized by <ESC> “@”, <CAN>.
The horizontal position parameters are initialized by this command. Execute the commands related to
position settings in the horizontal position after sending this command.
Sending example: <ESC> “@” → <ESC> <RS> “A” n → each command setting → print data
The following illustrates the relationship between the printable region, and the left and right margins.
Printable Region (ESC GS A n)
Print Region
Left Margin
Right Margin