O'Neil microFlash Series User Manual

Page 64

Advertising
background image

54

Custom Receipts and Labels User Manual and Technical Guide The O'Neil microFlash Series of Printers

ESC B, ESC E Accept Compressed Graphics

Format:

ESC B

Format ESC E

Dec:

27 66

Dec:

27 69

Hex:

1B

42

Hex

1B

45

Function: Accepts compressed graphics data. Then it will

uncompress and print.

Each compressed dotline (using a run-length encoding
scheme) is preceded by an uppercase “G.” Each
uncompressed dotline is preceded by an upper case “U.”
Vertical white space (where several consecutive dotlines
have not been printing) can be efficiently handled using
an upper case “A” followed by a single byte count of the
number of dotlines to advance.

Compressed dotlines use a single graphics byte, followed
by the number of times that byte is to be repeated. Once
the compressed graphics data command (ESC B) is
received, each dotline must be preceded by the “G” or
“U,” or an “A” may be sent followed by the number of
lines to advance.

When all data has been sent, the final bytes must be ESC
E to exit compressed graphics data.

Compressed graphics mode requires a graphic image the
same width as the print head in use (the microFlash3 has
576 bits across a single line, the microFlash2/2t has 384
bits and the microFlash2i has 240 bits microFlash4t has
832 bits across a single line).

SO Set Double Wide Print

Format:

SO

Dec:

14

Hex:

OE

Function:

Will print the current font in double width until an SI is
received (single wide printing) or a carriage return is
received.

SI Set Single Wide Print

Format:

SI

Dec:

15

Hex:

OF

Function:

Will print the current font in single width.

Advertising