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 . . .
Summary of Contents for A776 ColorPOS
Page 12: ...Contents x A776 B780 Programming Guide A776 PG00001 D 07 13...
Page 14: ...Chapter 1 About this Guide 2 A776 B780 Programming Guide A776 PG00001 D 07 13...
Page 172: ...Code page 1255 Hebrew...
Page 173: ...Code page KZ_1048 Kazakh Code Page KZ_1048 Kazakh...
Page 174: ...Appendix C Electronic Journal 162 A776 B780 Programming Guide A776 PG00001 D 07 13...
Page 179: ......
Page 180: ...A776 PG00001 Rev D 07 2013...