A795 User Guide: Programming Supplement
Chapter 4: Programming commands
98
Set print area in page mode
ASCII
ESC W n1, n2 ...n8
Hexadecimal
1B 57 n1, n2 ...n8
Decimal
27 87 n1, n2 ...n8
Range of n:
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 using the print page mode commands
(0C or 1B 0C).
Formulas
(x0, y0)
dx
(x0 + dx, y0 + dy)
dy
Print Area
y direction maximum
monochome = 1800
two-color =
900
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.
•
x0 = [(n1 + n2 x 256) x (horizontal direction of the
fundamental calculation pitch)]
•
y0 = [(n3 + n4 x 256) x (vertical direction of the
fundamental calculation pitch)]
•
dx = [(n5 + n6 x 256) x (horizontal direction of the
fundamental calculation pitch)]
•
dy = [(n7 + n8 x 256) x (vertical direction of the
fundamental calculation pitch)]
Keep the following notes in mind for this command.
•
The fundamental calculation pitch depends on the
vertical or horizontal direction.
•
The maximum printable area in the x direction is
576/203 inches.
•
The maximum printable area in the y direction is
576/203 inches.
See the illustration for a graphic representation of the
printing area. For more information about the fundamental
calculation pitch, see the set horizontal and vertical motion
units command (1D 50).
Maximum area specification in page mode
Maximizing the possible area in page mode consumes
almost all of the 127 kBytes of free RAM. Without any
free RAM, bitmap rotations and enlargements cannot be
performed. The table below shows the maximum area in
page mode, limited by free RAM.
Paper type
Total memory
Maximum possible
allocated (kBytes)
area (mm)
Monochome 126.5
72 wide x 225 high
paper
Two-color
126.5
72 wide x 112 high
paper
(dots)
72 wide x 112 high
(energy)
Exceptions
The command is effective only in page mode.
Содержание A795
Страница 1: ...A795 D100 PS UserGuide ProgrammingSupplement A795Two ColorThermalReceiptPrinter TM...
Страница 10: ...A795 User Guide Programming Supplement Chapter 1 About this Supplement 10...
Страница 110: ...A795 User Guide Programming Supplement Chapter 4 Programming commands 110...
Страница 118: ...A795 User Guide Programming Supplement Appendix B Resident Character Sets 118 Code page 737 Greek...
Страница 119: ...A795 User Guide Programming Supplement Appendix B Resident Character Sets 119 Code page 850 Multilingual...
Страница 120: ...A795 User Guide Programming Supplement Appendix B Resident Character Sets 120 Code page 852 Slavic...
Страница 121: ...A795 User Guide Programming Supplement Appendix B Resident Character Sets 121 Code page 858 with Eurosymbol...
Страница 122: ...A795 User Guide Programming Supplement Appendix B Resident Character Sets 122 Code page 860 Portuguese...
Страница 123: ...A795 User Guide Programming Supplement Appendix B Resident Character Sets 123 Code page 862 Hebrew...
Страница 124: ...A795 User Guide Programming Supplement Appendix B Resident Character Sets 124 Code page 863 French Canadian...
Страница 125: ...A795 User Guide Programming Supplement Appendix B Resident Character Sets 125 Code page 865 Nordic...
Страница 126: ...A795 User Guide Programming Supplement Appendix B Resident Character Sets 126 Code page 866 Cyrillic...
Страница 127: ...A795 User Guide Programming Supplement Appendix B Resident Character Sets 127 Code page 1252 Windows Latin 1...
Страница 128: ...189 9200281 E A795 D100 PS 05 01 TM...