Cognitive Solutions B780 Manual De Usuario

Descargar
Página de 192
Chapter 5: Programming commands
66
A776 (B780) Programming Guide 
A776-PG00001 C 12/09
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 nnd1 ... dn 
Hexadecimal  1B 2A m nnd1 ... dn 
Decimal 
27 42 m nnd1 ... dn
Value of m:
Receipt Station
Value of m  
Mode 
No. of dots (vertical) 
No. of dots (horizontal) 
8-Dot single-density 
8 (68 DPI) 
0–288 (101 DPI) 
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 . . .