Esc W Xl Xh Yl Yh Dxl Dxh Dyl Dyh Set Print Area In Page Mode - SNBC BTP-R580II Programming Manual

Table of Contents

Advertisement

② If the starting position is the upper right or lower left of the print area, data is
[Default]
n = 0
[Relative]
ESC $, ESC L, ESC W, ESC \, GS $, GS P, GS \
[Example]
1B 4C (enter page mode)
1D 50 CB CB (set the resolution)
1B 57 20 00 00 00 40 02 90 02 (set print area in page mode)
1B 54 00 (select print 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
(new line)
1B 54 01 (select print 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
(new line)
1B 54 02 (select print 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
(new line)
1B 54 03 (select print 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)
Result:

ESC W xL xH yL yH dxL dxH dyL dyH Set print area in page mode

[Function]
• Define the horizontal starting position, vertical starting position, print area width, and
print area height as follows:
Commands using horizontal motion unit: ESC SP, ESC $, ESC \
Commands using vertical motion unit: ESC 3, ESC J, GS $, GS \
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 \
BTP-R580II Programming Manual
- 8 -

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents