Chapter 5: Programming commands 103
A776-PG00001 D 07/13
A776 (B780) Programming Guide
Page mode
Page mode is one of two modes that the A776 printer uses to operate. Standard mode is typical
of how most printers operate by printing data as it is received and feeding paper as the various
paper feed commands are received. Page mode is different in that it processes or prepares the
data as a “page” in memory before it prints it. Think of this as a virtual page. The page can be any
area within certain parameters that you define. Once the printer receives the (0
×
0C) command,
it prints the page and returns the printer to standard mode.
The select page mode command (1B 4C) puts the printer into page mode. Any commands that
are received are interpreted as page mode commands. Several commands react differently
when in standard mode and page mode. The descriptions of these individual commands in this
chapter indicate the differences in how they operate in the two modes.
Slip page mode considerations
Suggested command sequence to print bank check
1B 40
reset to power-on parameters
1B 63 30 04
select the slip
1B 4C
select Page Mode
1B 54 03
select printing direction
1B 57 00 00 00 00 90 01 80 05
select page size (not necessary for default size)
Text and print commands
as required
0C
print the page and exit Page Mode
1B 63 30 01
eject the check and select receipt
When switching between Page Mode print on the receipt and Page Mode print on the slip, 1B
40 should precede the station selection command to ensure the correct Page Mode defaults are
restored for each station.
Page size
The default page size is 200 full dots wide by 704 full dots long. (2.5” wide by 9.7” long.)
On the B780, the right side margin can be configured to .1”, .3”, or .5”. The .3” and .5” margins are for A721 emulations,
and provide a maximum width of 200 full dots. With the right side margin set to .1” the maximum width is 242 full dots
(3.024”).
On the A776, the right side margin is .1”, and provides a maximum width of 242 full dots.
The maximum length can be set to any size, but is limited by available memory. Width and length other than default
are set by command 1B 57…, with parameters specified in half dots. The length controls how much paper is fed.
For applications specifying a page size greater than 242 full dots wide, there is a configuration option for trimming
blank areas. The command is 1F 03 2F n.
Some examples of setting page size:
1B 57 00 00 00 00 90 01 80 05
0x190 = 400 half dots = 200 full dots wide
0x580 = 1408 half dots = 704 full dots long
1B 57 00 00 00 00 E4 01 F0 03
0x1E4 = 484 half dots = 242 full dots wide = 3.024”
0x3F0 = 1008 half dots = 504 full dots long = 7”
Character Size
It is best to use the Select Print Mode command (1B 21 n) to set character size. The Select Character Size command
(1D 21 n) can be used to set double wide and double high, but impact characters are not increased any further. When
using the legacy command 0x12 to set double wide, you must use the corresponding command 0x13 to turn off
double wide.
Содержание A776 ColorPOS
Страница 12: ...Contents x A776 B780 Programming Guide A776 PG00001 D 07 13...
Страница 14: ...Chapter 1 About this Guide 2 A776 B780 Programming Guide A776 PG00001 D 07 13...
Страница 160: ...Appendix B Resident Character Sets 148 A776 B780 Programming Guide A776 PG00001 D 07 13 Code page 737 Greek...
Страница 161: ...Appendix B Resident Character Sets A776 PG00001 D 07 13 A776 B780 Programming Guide 149 Code page 850 Multilingual...
Страница 162: ...Appendix B Resident Character Sets 150 A776 B780 Programming Guide A776 PG00001 D 07 13 Code Page 852 Slavic...
Страница 163: ...Appendix B Resident Character Sets A776 PG00001 D 07 13 A776 B780 Programming Guide 151 Code Page 857 Turkish...
Страница 164: ...Appendix B Resident Character Sets 152 A776 B780 Programming Guide A776 PG00001 D 07 13 Code page 858 with Eurosymbol...
Страница 165: ...Appendix B Resident Character Sets A776 PG00001 D 07 13 A776 B780 Programming Guide 153 Code page 860 Portugese...
Страница 166: ...Appendix B Resident Character Sets 154 A776 B780 Programming Guide A776 PG00001 D 07 13 Code page 862 Hebrew...
Страница 167: ...Appendix B Resident Character Sets A776 PG00001 D 07 13 A776 B780 Programming Guide 155 Code page 863 French Canadian...
Страница 168: ...Appendix B Resident Character Sets 156 A776 B780 Programming Guide A776 PG00001 D 07 13 Code page 865 Nordic...
Страница 169: ...Appendix B Resident Character Sets A776 PG00001 D 07 13 A776 B780 Programming Guide 157 Code page 866 Cyrillic...
Страница 170: ...Appendix B Resident Character Sets 158 A776 B780 Programming Guide A776 PG00001 D 07 13 Code page 1251 Cyrillic...
Страница 171: ...Appendix B Resident Character Sets A776 PG00001 D 07 13 A776 B780 Programming Guide 159 Code page 1252 Windows Latin 1...
Страница 172: ...Code page 1255 Hebrew...
Страница 173: ...Code page KZ_1048 Kazakh Code Page KZ_1048 Kazakh...
Страница 174: ...Appendix C Electronic Journal 162 A776 B780 Programming Guide A776 PG00001 D 07 13...
Страница 179: ......
Страница 180: ...A776 PG00001 Rev D 07 2013...