
Chapter 7: Programming Guide 7-125
Set Printing Area in Page Mode
ASCII:
ESC W
n1, n2 ...n8
.]
Hexadecimal:
1B 57
n1, n2 ...n8]
Decimal:
27
87
n1,n2 ...n8]
Range:
0
-
255
Default:
n1
-
4 =
0
n5 =
64
n6 =
2
n7 =
64
n8 =
2
Sets 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 by the Eject Slip command
(0C).
Defaults equal an origin of 0,0 and a size of 576x576. This command is
allowed in any mode.
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 dy inches. The length of the area to be printed in the x direction is
set to dx inches. Use the equations to determine the Value of x0, y0, dx,
and dy.
See the illustration for a graphic representation of the printing area. For
more information about the fundamental calculation pitch, see the Set
Fundamental Calculation Pitch command (1D 50).
1.
x0 = [(
n
1 +
n
2 x 256) x (horizontal direction of the fundamental
calculation pitch)]
2.
y0 = [(
n
3 +
n
4 x 256) x (vertical direction of the fundamental
calculation pitch)]
3.
dx = [(
n
5 +
n
6 x 256) x (horizontal direction of the fundamental
calculation pitch)]
Содержание 7158
Страница 1: ...NCR 7158 Thermal Receipt and Impact Printer Release 1 0 Owner s Guide B005 0000 1112 Issue D...
Страница 26: ...1 8 Chapter 1 About the Printer...
Страница 50: ...3 12 Chapter 3 Using the Printer Clearing Check Flip Paper Jams Check Check Flip Window Door...
Страница 53: ...Chapter 3 Using the Printer 3 15 Configuration Menu and Print Test samples show approximately 60 of size...
Страница 56: ...3 18 Chapter 3 Using the Printer 1 Set DIP Switch 1 to On Front of Printer Reset Button Front Cover...
Страница 110: ...5 28 Chapter 5 Technical Specifications Code Page 437...
Страница 111: ...Chapter 5 Technical Specifications 5 29 Code Page 850...
Страница 112: ...5 30 Chapter 5 Technical Specifications Code Page 852...
Страница 113: ...Chapter 5 Technical Specifications 5 31 Code Page 858...
Страница 114: ...5 32 Chapter 5 Technical Specifications Code Page 860...
Страница 115: ...Chapter 5 Technical Specifications 5 33 Code Page 863...
Страница 116: ...5 34 Chapter 5 Technical Specifications Code Page 865...
Страница 117: ...Chapter 5 Technical Specifications 5 35 Code Page 866...
Страница 128: ...6 10 Chapter 6 Communication Interface...
Страница 286: ...7 158 Chapter 7 Programming Guide...
Страница 314: ...Index 8 W Weight of printer 5 36 X XON XOFF protocol 6 6...