User manual

APOS Premium Printer Series User Manual Page 76 /136 Reference: FDE 3107312 Issue A
R
ETURN LOGO CHECKSUM
Returns the checksum of a logo downloaded using “download BMP logo” or with “Define Downloaded Bit
Image”.
ASCII
US e n
Hexadecimal 1F 65 n
Decimal
31 101 n
Returns 4 Bytes:
Command ID + Flag + checksum of the logo specified by n.
Byte 1 = 65h
Byte 2 = 01 - if logo n exists
- if logo n doesn’t exist.
Byte 3 = Checksum (LSB) or 00h if logo n doesn’t exist.
Byte 4 = Checksum (MSB) or 00h if logo n doesn’t exist.
Checksum is two’s complement of sum of all bytes in the download sequence.
Ex:
Checksum = -(0x1B + 0x42 + 0x4D + … )
for BMP logos
Checksum = -(0x1D + 0x2A + … )
for the “Defined Downloaded Bit Image” command.