BT-T080 Programming Manual
- 8 -
n
Print direction
Starting position
0, 48
Left to right
Upper left (A in the figure)
1, 49
Bottom to top
Lower left (B in the figure)
2, 50
Right to left
Lower right (C in the figure)
3, 51
Top to bottom
Upper right (D in the figure)
• When the command is input in standard mode, the printer executes only internal flag
operation. This command does not affect printing in standard mode.
• This command sets the starting position of the print data within the printing area.
• Parameters for horizontal or vertical motion units (x or y) differ as follows, depending
on the starting position of the printable area:
①
If the print starting position is the upper left or lower right of the printable area, data
is buffered in the direction perpendicular to the paper feed direction:
Commands using horizontal motion unit:
ESC SP, ESC $, ESC \
Commands using vertical motion unit:
ESC 3, ESC J, GS $, GS \
②
If the starting position is the upper right or lower left of the printable area, data is
buffered in the paper feed direction:
Commands using horizontal motion unit:
ESC 3, ESC J, GS $, GS \
Commands using vertical motion unit:
ESC SP, ESC $, ESC
[Default]
n = 0
[Relative]
ESC $, ESC L, ESC W, ESC \, GS $, GS \, GS P
[Example]
1B 4C
(enter page mode)
1D 50 CB CB
(set printer resolution)
1B 57 20 00 00 00 40 02 90 02
(set the printable area in page mode)
1B 54 00
(select the printable area direction in page mode)
30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30
0A
(newline)
1B 54 01
(select the printable area direction in page mode)
31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31
0A
(newline)
1B 54 02
(select the printable area direction in page mode)
32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32
0A
(newline)
1B 54 03
(select the printable area direction in page mode)
33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33
0A
(print)
50 72 69 6E 74 20 45 6E 64
0C
(print)
Results: