Chapter 5: Programming commands
58
A776 (B780) Programming Guide
A776-PG00001 D 07/13
Graphics
These commands are used to enter and print graphics data and are described in order of their
hexadecimal codes.
Download BMP logo
ASCII:
ESC (+*.BMP file)
Hexadecimal:
1B (+*.BMP file)
Decimal:
27 66 77 (+*.BMP file)
Value:
Maximum width = 576
(640 for 8.5 mm paper)
Maximum height = 512
Enters a downloaded BMP logo into RAM or flash.
The downloaded BMP logo can be printed by using the print downloaded bit image (1D 2F
m
) command.
To downloaded BMP file to save it as a logo, send the hexadecimal code 1B followed by the whole BMP file.
The printer decodes the BMP file header and will save the image data after checking important parameters, such as
width, height, and the number of colors (only monochrome images are accepted).
BMPs and bit images are definable for the receipt station. However, there is no longer an automatic erasure whenever
the user downloads a character set (as happened previously) as well as in the case where the current logo was never
set > 0, (the automatic erasure if user flash memory had filled up with inactive logo 0 definitions upon next power
cycle). Warnings about the effect of running out of defined logo space during a download apply (i.e. the command is
ignored). The application is required to manage user data space, downloaded font space, and logo space.
After downloading a logo to the printer, wait 100 ms to allow the printer time to write the logo to flash.
The downloaded BMP file can be printed by using the print downloaded bit image (1D 2F m) command.
Exceptions
This command is valid only for the receipt station. This command is valid only for monochrome logos.
Related information
Microsoft BMP bitmap file format.
See
Select the Current Logo
(1D 23 xx) for additional information.
See
Download Logo Image
(1D 84) for information concerning color logos.
Select bit image mode
ASCII
ESC *
m
n
1
n
2
d
1 ...
d
n
Hexadecimal
1B 2A
m
n
1
n
2
d
1 ...
d
n
Decimal
27 42
m
n
1
n
2
d
1 ...
d
n
Value of
m
:
Receipt Station
Value of
m
Mode
No. of dots (vertical)
No. of dots (horizontal)
0
8-Dot single-density
8 (68 DPI)
0–288 (101 DPI)
1
8-Dot double-density
8 (68 DPI)
0–576 (203 DPI)
32
24-Dot single-density
24 (203 DPI)
0–288 (101 DPI)
33
24-Dot double-density
24 (203 DPI)
0–576 (203 DPI)
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...