TH320/TH420
Programmers Guide
89
Set print area in page mode
ASCII
ESC W n 1, n2 ...n8
Hexadecimal
1B 57 n 1, n2 ...n8
Decimal
27 87 n 1, n2 ...n8
Range of n:
0- 255
Default:
Receipt Slip
n 1–4=
0
0
n 5=
64
164
n 6=
2
1
n 7=
64
00
n 8=
2
6
Set the position and size of the printing area in page mode.
The command can be sent multiple times so that several different print areas, aligned in different print
directions, can be developed in the printer’s page buffer before being printed using the print page mode
commands (0C or 1B 0C).
Formulas
The starting position of the print area is the upper left of the area to be printed (x0, y0). The length of the
area to be printed in the y direction is set to d y inches. The length of the area to be printed in the x
direction is set to d x inches.
Use the equations to determine the Value of x0, y0, dx, and dy.
x0 =
[ ( n
1 +
n
2
×
256)
×
(horizontal direction of the fundamental calculation pitch)]
y0 = [(
n
3 +
n
4
×
256)
×
(vertical direction of the fundamental calculation pitch)]
dx = [(
n
5 +
n
6
×
256)
×
(horizontal direction of the fundamental calculation pitch)]
dy = [(
n
7 +
n
8
×
256)
×
(vertical direction of the fundamental calculation pitch)]
Default values
Receipt Slip
x0 =
0
0
y0 =
0
0
dx =
576
2.8 in.
420
3 in.
Dy =
576
2.8 in
1500
10 in.
Keep the following notes in mind for this command.
The fundamental calculation pitch depends on the vertical or horizontal direction.
Содержание TH320
Страница 1: ...TH320 TH420 Two Color Thermal Impact Hybrid Printer Programmers Guide ...
Страница 75: ...TH320 TH420 Programmers Guide 67 ...
Страница 121: ...TH320 TH420 Programmers Guide 113 Character Sets Character code 437 USA Standard Europe ...
Страница 122: ...Programmers Guide TH320 420 114 Codepage 737 Greek ...
Страница 123: ...TH320 TH420 Programmers Guide 115 Codepage 850 Multilingual ...
Страница 124: ...Programmers Guide TH320 420 116 Codepage 852 Slavic ...
Страница 125: ...TH320 TH420 Programmers Guide 117 Codepage 857 Turkish ...
Страница 126: ...Programmers Guide TH320 420 118 Codepage 858 with Euro symbol ...
Страница 127: ...TH320 TH420 Programmers Guide 119 Codepage 860 Portuguese ...
Страница 128: ...Programmers Guide TH320 420 120 Codepage 862 Hebrew ...
Страница 129: ...TH320 TH420 Programmers Guide 121 Codepage 863 French Canadian ...
Страница 130: ...Programmers Guide TH320 420 122 Codepage 865 Nordic ...
Страница 131: ...TH320 TH420 Programmers Guide 123 Codepage 866 Cyrillic ...
Страница 132: ...Programmers Guide TH320 420 124 Codepage 1252 Windows Latin 1 ...
Страница 134: ...Programmers Guide TH320 420 126 Codepage 1255 Hebrew ...
Страница 142: ...Programmers Guide TH320 420 134 TH420 Additional Features ...
Страница 156: ......
Страница 157: ...TH320 TH420 Programmers Guide Wincor Nixdorf International GmbH D 33094 Paderborn ...