Specifications

TH230/TH230+ Programmers Guide
49
ESC .
Function:
Print Advanced Raster Graphics
Code ASCII: ESC . m n r
L
r
H
d1 … dn
Code HEX: 0x1B 0x2E m n r
L
r
H
d1 … dn
Range:
0 <= m <= 72
0 <= n <= 72
0 <= r <= 65535
0 <= d1dn <= 255
Description: Prints a horizontal raster of graphics data one or multiple times. Horizontal
offset and number of data bytes are variable and specified by parameters.
Value of m: horizontal offset from left margin = 8 x m dots
Value of n: number of data bytes that compose the raster
Value of r: number of times the raster has to be printed = 256 x r
H
+ r
L
Notes:
Advanced Raster graphics is not available in Page Mode.
ESC 2
Function:
Set line spacing to 1/6 inch
Code ASCII: ESC 2
Code HEX: 0x1B 0x32
Description:
Sets the line spacing to 1/6 inch.
Notes:
The line spacing can be set independently in standard mode and in page
mode.
Selected line spacing is effective until ESC 3 is executed, ESC @ is
executed, the printer is reset, or the power is turned off. When
underline mode is turned off, the following data cannot be underlined,
but the thickness is maintained.
1/6 inch is equivalent to 4.23 mm, which is equivalent to 34 dots.
In contrast to this command the default line spacing is about 3.37 mm
(7.52 LPI), which is equivalent to 27 dots.
When the maximum character height exceeds 27 dots in one line,
printer feeds the paper amount of height of the character when
changing lines in the standard mode.
The linespacing will be set indipentendly from vertical motion unit (see
GS P).
Reference: SYN