Download BMP Logo

This command enters a BMP file data into RAM or Flash. This command is used by sending the file data of a monochrome BMP file preceded by a 0 x 1B. The bit map is stored in the printer in the same manner as a downloaded bit image. The downloaded BMP file can be printed by using the Print Downloaded Bit Image (1D 2F m) command.

ASCII

ESC (+*.BMP file data)

Hexadecimal

1B (+*.BMP file data)

Decimal

27 (+*.BMP file data)

Value

Maximum width = 576

Maximum height = 512

Example:   

MSComm1.Output = Chr$(&H1B)

Open bitmapfile For Binary As filehandle.

filecontent = Input(LOF(filehandle), filehandle)

MSComm1.Output = filecontent & vbLf

This last step is to use the print downloaded image command to print.

Exceptions

BMP file images that are not monochrome are ignored. This command is only valid for the receipt station and only available in 7158 Native Mode and 7167 Native Mode.

Note:  For more information, refer to 1D 22 n Select Memory Type to save logos. For the 7158 native mode and 7167 Native Mode. of operation, if multiple logos are to be defined and used, this command should be preceded by the Select Current Logo command to define the number by which this downloaded logo is to be referenced.