TransAct Ithaca 280 Programmer's Manual page 132

Thermal receipt printer
Table of Contents

Advertisement

Programming Codes
<format> =
byte specifying the format of the graphics data.
0 for raw data
1 for bit wise RLE compression
8 for byte wise RLE compression
254 for difference compression
255 for same as previous scan line data
<data> = the data bytes that define the graphics to be printed.
[ESC] *
Set horizontal graphic mode
ASCII
[ESC] * <m> <0> <0>
Hexadecimal 1BH 2AH <m> <0> <0>
Decimal
<27> <42> <m> <0> <0>
IPCL
none
Description The [ESC] * <m> <0> <0> command selects one of the three graphic
modes specified by <m>. The two bytes after the mode must be zero.
Where <m>
command documentation in previous section.)
8,9
10
11
12
13
14,15,16
Note 1: Only modes 10 thorough 13 should be selected for horizontal
graphics.
Example
Command
[ESC] * <10> <0> <0>
[ESC] h <1> <9> <0> <eight data bytes>
[ESC] h <2> <9> <0> <eight data bytes>
[ESC] h <3> <9> <0> <eight data bytes>
LF
Note 2: Graphic data is committed to paper when more than 12 dot rows
have been transmitted to the printer. If less than 12 dot rows have been
sent, they are not printed until the line is terminated (i.e. a line feed
command is sent). To make graphics faster to send and smaller to store,
several algorithms are included with the graphic command to compress
the data.
Page 120
0,2,3,4,5,6,7 Standard Graphic Modes (See ESC *
Not supported
104 x 96 dpi
208 x 96 dpi
104 x 192 dpi 1 horizontal, 2 vertical passes
208 x 192 dpi 2 horizontal, 2 vertical passes
Not supported
Send line feed to force print of any buffered data not yet printed.
Rev K
®
iTherm
280 Programmer's Guide
1 horizontal, 1 vertical pass
2 horizontal, 1 vertical pass
Comment
Set resolution to 100x96 dpi.
Send 8-bytes red pixels.
Send 8-bytes green pixels.
Send 8-bytes blue pixels.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents