$1C $81
Printers: KPM300
VeriPrint
, KUBE II
VeriPrint
, KUBE-L
VeriPrint
, TK300II
VeriPrint
[Name]
Read date/time of the real time clock
[Format] ASCII
FS
{
}
m
n
d0...dn
Hex
1C
81
m
n
d0...dn
Decimal
28
129
m
n
d0...dn
[Range] 0
≤
m
≤
3
0
≤
d0, dn
≤
255
[Description]
Read date/time of the real time clock in the format speci
fi
ed by m values as follows:
m
FORMAT
0
DD/MM/YY hh:mm:ss
1
DDMMYYhhmmss
2
YYMMDDhhmmss
3
YYMMDDkkmmssd
where:
DD =
represents the day of the date
MM =
represents the month of the date
YY =
represents the year of the date
hh =
represents the hour of the time
mm =
represents the monutes of the time
ss =
represents the seconds of the time
d =
represents the day of the week
• n speci
fi
es the number of characters to send.
• d0...dn are the ASCII characters relative to the date and time to set.
[Notes]
• If the transmission has been received correctly and the command is valid, the printer
returns the ACK ($06), otherwise return NACK ($015).
• the day of the week is calculated automatically from the printer and then it’s possible
that the returned value is different from the one transmitted.
[Default]
[Reference]
[Example]
For example to set the date and time to “29 September 2006 at 13:51:00 (PM)” in the
“YYMMDDhhmmss” format, transmit:
Host
Hex
$1C $81
$02
$0C $30 $36 $30 $39 $32 $39 $31 $33 $35 $31 $30 $30
ASCII
FS
{ }
STX
FF
0
6
0
9
2
9
1
3
5
1
0
0
The printer’s answer ACK ($06) if the transmission is OK otherwise NACK ($15).
$1C $82
Printers: KPM300
VeriPrint
, KUBE II
VeriPrint
, KUBE-L
VeriPrint
, TK300II
VeriPrint
[Name]
Print date
[Format] ASCII
FS
{
}
Hex
1C
82
Decimal
28
130
[Range]
[Description]
Prints date in the format speci
fi
ed by the command $1C $84 with the parameter n=’D’.
[Notes]
[Default] “dd/mm/yy”
[Reference]
$1C $83, $1C $84
[Example]
ESC/POS™ Emulation
32
Command Reference
Summary of Contents for KPM300
Page 72: ...Blank page ESC POS Emulation 72 Command Reference ...
Page 127: ......