Specifications
TH230/TH230+ Programmers Guide
189
GS 0x82
Function: Print raster monochrome graphics
Code ASCII: GS 0x82 n1 … n72 (576 dots, 80 mm paper), or n51 (408 dots, 57.5 mm
paper)
Code HEX: 0x1D 0x82 n1 … n72 (576 dots, 80 mm paper), or n51 (408 dots, 57.5 mm
paper)
Range:
n1 to n72/n51 corresponds to one dot row data for a thermal receipt printer
Description: Each bit defines whether or not a dot of the current color will be printed.
This command is used for printing a monochrome graphics in real-time.
Offsets, page and any other modes or overlays, including watermark do not
apply and are overwritten by this command. A complete rendering of the
intended final image should have been done by the application before
sending the dot rows.
If two-color paper is indicated by the set paper type command, then the
raster will be printed in the color that is defined by the set current color
command.
Notes:
•
This command is identical to command DC1(see page 31).
GS 0x83
Function: Print raster color graphics
Code ASCII: GS 0x83 n1 … n144 (576 dots, 80 mm paper), or n102 (408 dots, 57.5
mm paper)
Code HEX: 0x1D 0x83 n1 … n144 (576 dots, 80 mm paper), or n102 (408 dots, 57.5
mm paper)
Range:
n1 to n144/n102 corresponds to one dot row data
Description: For each printed dot row starting at the top left, two-part bit strings are used
to define (in the first half), all dots that are of either color (i.e. not white).
The second half string defines only the dots where the color is black.
Thus all dots which are on in the first half string but not on in the second half
string, select the secondary color. The parameter of this command is thus a
string of bytes for one dot row with the same structure as defined for the
thermal color format file given in the download color logo command.
This command is used for printing a single raster of color graphics in real-
time. Offsets, page and any other modes or overlays, including watermark,
and current color do not apply to this command. A complete rendering of the
intended final image has to be done by the application before sending the
dot rows.