
Command
(ASCII)
Command
(hex)
Function
<ESC> “m” n
1B 6D n
Set the current graphic mode
n = 0x00: unencoded
n = 0x01: run length encoded
n = 0x02: TIFF 4.0 encoded
n = 0x03: delta row encoded
n = 0x04: x byte offset (see below)
n = 0x05: reset delta row seed row (see below)
x byte offset
If n is set to 0x04, an additional parameter must be
included. Where o is the offset from the left
margin. Graphics will be shifted to the right with a
left margin of o * 8 pixels. For example 1B 6D 04
0A would give a margin of 10 * 8 = 80 pixels.
Graphics that are shifted beyond the right marin
will be cut off.
Reset delta row seed
The command 1B 6D 05 clears the seed row of the
delta row graphics. The seed row is the last line that
was printed. After the new line is printed, it
becomes the seed row. The command for clearing
the seed row should always be given at the
beginning of graphics that contain the delta row
commands. This will not be necessary if the first
graphic line is not delta row graphics.
<ESC> “g” n
g
1
...g
n
1B 67 n g
1
...g
n
n := length of graphics data in bytes
g
1
...g
n
graphic bytes to be printed
MODE 0: Unencoded
beginning from left of the paper, dot 0 is the MSB in the first
byte, the dot furthest to the right is the LSB in the nth byte. A 1
in the relevant bit position represents a black dot in the line.
After the nth byte, the printer automatically returns to character
mode. It will ignore all commands whilst processing these n
bytes.
Mode 0 is the default mode for graphic printing.
MODE 1: Run length encoded
Run length encoding interprets the graphic information in byte
pairs. Each first byte is a repeat count for the second byte. A 0
for the repetition count means that the following graphic byte
will be printed once without being repeated. A 1 means the
byte will be printed twice. The second byte is the graphic
information that is to be printed. From left to right on the
paper, the MSB of the data appears first. A 1 in the relevant bit
position represents black dot on the line. After completing the
line, the printer returns to text mode.
MODE 2: TIFF encoded
Содержание Pro60
Страница 1: ...Blackroc Pro60 Thermal Printer Programming Manual March 2007 V1 4 ...
Страница 21: ...DeleteObject BitmapHandle return TRUE ...
Страница 24: ...Windows Mobile 2003 ...
Страница 25: ......
Страница 26: ...Alphabetical Index ...