Telpar MTP-1530II Receipt Thermal Printer User Manual
MTP-1530II User Manual (Revision 20120510)
Page 48
4.5.3
Set Raster Bit Image Mode
NOTE:
Commands
GS v 0
,
FS p
and
FS q
pertaining to raster
graphics are now defined as
obsolete commands
in the
ESC/POS command system.
This printer supports both
upward-compatible commands and obsolete commands.
However,
the
upward-compatible
commands
are
recommended to use because the obsolete commands
will not be supported in future products. Please use the
supported
GS (L
and
GS 8 L
commands instead to
perform graphics instead (described in
Section 4.4.4
).
GS v 0
+m +x
1
+x
2 +y1 +y2 +d1
∼
dk
[1D 76 30
+m +x
1
+x
2 +y1 +y2 (data)]
Specifies and prints RASTER bit image graphics.
Set Raster Bit Image Mode
+m
Mode
Vertical dot
density
Horizontal
dot density
0 (00 or 30 hex)
Normal
203.2 dpi
203.2 dpi
1 (01 or 31 hex)
Double Wide
203.2 dpi
101.6 dpi
2 (01 or 32 hex)
Double high
101.6 dpi
203.2 dpi
3 (03 or 33 hex)
Quadruple
203.2 dpi
203.2 dpi
Table 2 Set Raster Bit Image Mode
The number of data bytes which must be sent to complete this command
= (x1+x2*256)*(y1+y2*256).
If +m is not one of the specified values, the rest of the ESC sequence is
ignored and all information starting with +n1 is treated as normal data.
The values of x1 and x2 select the number of data bytes (x1+x2*256) in
the horizontal direction. The value of x1 can be from 1 to 128 and the
value of x2 must be 00hex so the maximum number of dots which can
be specified is 1024 (128 bytes times 8 bits per byte). Any data specified
and received which exceeds the printing width of the printer is read in
and then discarded.
In standard mode, this command is effective only when there is no data
in the print buffer. The starting point of the printed image can be set by
the HT (Horizontal Tab), ESC $ (Set absolute print position), ESC \ (Set
relative print position), or GS L (Set left margin) command if that position
is a multiple of 8.
This command is not affected by print modes (character size,
emphasized print, double strike, inverted print, underline, reverse video,
etc.). ESC a (Select justification) is effective on raster bit images. If the
width of the printing area set by GS L and GS W is less than the
minimum width, the printing area is extended to the minimum width only
on the line in question. This minimum width is 1 dot in normal or double
high mode and is 2 in double wide or quadruple mode.
Each data byte represents 8 horizontal dots to be printed with the MSB
being to the left and the LSB being to the right. . For each of the 8 bits