3. PRINTER FUNCTIONS
TG558
8
3-
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 left and the others follow from
left to right (P5, P4, P3, P2, P1) as shown:
1st byte
2nd byte
3rd byte
P6 P5 P4 P3 P2 P1
P6 P5 P4 P3 P2 P1
P6 P5 P4 P3 P2 P1
[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.
2
1
$
[Name]
Print time and date
[Format]
ASCII
-
Hex
12
Decimal
18
[Description]
Prints the time and date in the following format:
hh : mm
dd - mm -yy
If seconds printing is enabled, the format will be:
hh : mm : ss dd - mm -yy
[Notes]
• The command resets the line
• This command is present only in the printer version with display (TG558-D) and RTCK
option.
[Default]
[Reference]
$13, $14
[Example]
3
1
$
[Name]
Set time and date
[Format]
ASCII
-
Hex
13
Decimal
19
[Description]
This command sets the time and date in two possible ways :
the first uses 24 hour clock and the second the 12-hour am/pm clock. In the first case,
transmits the 10 ASCII characters representing the time and the date followed by $13
and in the second case transmits the 10 ASCII characters representing the time and the
date preceded by “A” or “P” and followed by $13.
[Notes]
• It is advisable to transmit the command $0D first, in order to empty the print buffer.
• This command is present only in the printer version with display (TG558-D) and with
RTCK option.
[Default]