CHARAC-
TER
DESCRIPTION
h
Displays the hour as a number without leading zeros (0-23)
hh
Displays the hour as a number with leading zeros (00-23)
n
Displays the minutes as a number without leading zeros (0-59)
nn
Displays the minutes as a number with leading zeros (00-59)
s
Displays the seconds as a number without leading zeros (0-59)
ss
Displays the seconds as a number with leading zeros (00-59)
ttttt
Displays the time in the extended format where time values are formatted with hour, minutes
and seconds (the extended time format is h:mm:ss).
AM/PM
Using the 12-hour clock and displays the AM pre
fi
x in uppercase next to the hours that
preceding midday and the PM pre
fi
x in uppercase next to the hours between midday and
midnight.
am/pm
Using the 12-hour clock and displays the am pre
fi
x in lowercase next to the hours that
preceding midday and the pm pre
fi
x in lowercase next to the hours between midday and
midnight.
A/P
Using the 12-hour clock and displays the A pre
fi
x in uppercase next to the hours that preceding
midday and the a pre
fi
x in uppercase next to the hours between midday and midnight.
a/p
Using the 12-hour clock and displays the a pre
fi
x in lowercase next to the hours that preceding
midday and the a pre
fi
x in lowercase next to the hours between midday and midnight.
[Notes]
[Default]
[Reference]
[Example]
For example to print the current time with the string format ‘yy/mm/dd hh:mm:ss’ follow
these steps :
1. Send the following command to de
fi
ne the user-de
fi
ned Time string format:
HEX
$1C
$84
$54
$79
$79
$2F
$6D
$6D
$2F
$64
$64
$20
ASCII
FS
{}
T
y
y
/
m
m
/
d
d
h
$68
$68
$3A
$6E
6E
$3A
$73
$73
$00
h
:
n
n
:
s
s
NUL
The printer’s answer ACK ($06) if the transmission is OK otherwise NACK($15).
2. Send the following command to print the time :
HEX
$1C
$83
$0A
ASCII
FS
{ }
LF
Note : The character $0A feeds one line based on the current line spacing.
If the date and time is 22 October 2006 at 17:35:27 (PM) the output string printed will be:
06/10/22 17:35:27
$1C $8A
Printers: KPM300
VeriPrint
, KUBE II
VeriPrint
, KUBE-L
VeriPrint
, TK300II
VeriPrint
[Name]
Delete the disk contents
[Format] ASCII
FS
{
}
n
Hex
1C
8A
n
Decimal
28
128
n
[Range] ‘2’
≤
n
≤
‘4’, 2
≤
n
≤
4, ‘C’
≤
x
≤
‘E’
[Description]
Delete the contents of a disk identi
fi
ed with n:
n = ‘2’, 2, C
identify the FLASH DRV disk
n = ‘3’, 3, D
identify the SD/MMC CARD disk
n = ‘4’, 4, E
identify the LAST SCAN disk
ESC/POS™ Emulation
34
Command Reference
Содержание KPM300
Страница 72: ...Blank page ESC POS Emulation 72 Command Reference ...
Страница 127: ......