Chapter 5: Programming commands
31
A776-PG00001 D 07/13
A776 (B780) Programming Guide
Generate pulse to open cash drawer
ASCII
ESC p
n
p
1
p
2
Hexadecimal
1B 70
n
p
1
p
2
Decimal
27 112
n
p
1
p
2
Value of
n:
00, 48 (Decimal) = Drawer 1;
01, 49 (Decimal) = Drawer 2
Value of
p1:
0–255
Value of
p2:
0–255
Sends a pulse to open the cash drawer.
Formulas
The value for either
p1
or
p2
is the hexadecimal number multiplied by 2 msec to equal the total time.
• On-time =
p1
(Hex) x 2 msec
• Off-time
= p
2 (Hex) x 2 msec
Related information
Off-time is the delay before the printer performs the next operation. Refer to cash drawer specifications for required on
and off-time.
Release Paper
ASCII
ESC
q
Hexadecimal
1B 71
Decimal
27 113
Description
Releases the slip paper as follows:
If receipt paper was selected, this command opens the platen to allow slip removal.
If the slip was selected, the printer enters the paper removal waiting state after releasing the paper. After 2 seconds, it
enters receipt paper mode.
Set current color
ASCII
ESC r
m
Hexadecimal
1B 72
m
Decimal
27 114
m
Default of
m:
0 (monochrome)
This command will set the current color to the
color m
for all character data that may follow this command and all
graphic objects (bit images) that have not been explicitly loaded as two-color.
m
=
0 (monochrome) is the initial value
m
=
1 (two-color paper “primary color”, usually black)
m
=
2 (second color available from two-color paper)
The
m
values 0 and 1 will not have a distinguishable effect; 0 is the initial value and provides parameter value
consistency with other commands.
Continued . . .
Содержание 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...