User manual

3. PRINTER FUNCTIONS
3-5
DPT100-B/I/BT
[Description] Enables graphic mode:
a line in 24 column mode corresponds to 144 horizontal dots divided into 24 blocks of 6
dots each; a line in 40 column mode corresponds to 240 horizontal dots divided into 40
blocks of 6 dots each.
[Notes] To obtain graphic printing, enter the command $11 at the beginning of each line. The
format of the byte in graphic configuration is:
X R P6 P5 P4 P3 P2 P1
D7 D6 D5 D4 D3 D2 D1 D0
where:
X is not used (0 is recommended);
R must be fixed at level 1;
P1,...,P6 are the graphic dot data (1 prints, 0 does not print).
The P6 bit of the string of dots transmitted is printed on the right and the others follow
from right to left (P5, P4, P3, P2, P1) as shown:
1 byte
st
P6P5P4P3P2P1P1
N byte
nth
P6P5P4P3P2
2 byte
nd
3 byte
rd
where :
n
nth
byte = 24 for a line in 24 column mode
n
nth
byte = 40 for a line in 40 column mode
[Default]
[Reference]
[Example] To print a line of dots, transmit:
$11, n x $7F (where n is the number of characters per line), $0D.
To print an empty line, transmit:
$11, $40, $0D.
20$B1$
[Name] Enable infrared port
[Format] ASCII ESC (STX)
Hex 1B 02
Decimal 27 2
[Description] Enable infrared port.
[Notes] • if the printer doesn’t receive this command all data sent to infrared port are ignored.
After receiving this command the infrared led is always switched on.
[Default]
[Reference] $1B $03
[Example]
30$B1$
[Name] Close down the communication with infrared port
[Format] ASCII ESC (ETX)
Hex 1B 03
Decimal 27 3
[Description] Close down the communication with the infrared port .
[Notes] • The command is active only if the infrared communication channel has been enabled by
the $1B $02 command.