52
PF,‘ID~’,$CD,$CR,$LF,&
$CR,$LF,&
‘Count’,$CR,$LF,&
$SP
4,$PC,$CR,$LF,&
‘Unit
~Weight’,$CR,$LF,&
$SP
4,$UW,$CR,$LF,&
‘Weight’,$CR,$LF,&
$SP
4,$WT,$CR,$LF,&
$CR,$LF,&
#1B,#44,$CR,$LF,&
#1B,#54,$CR,$LF,&
$CR,$LF,&
‘
~~A&D~HC-15Ki’,$CR,$LF
Terminator codes
Data Format for the Scale Data
Parameters for the scale data will be replaced by the format below when the scale
sends them out.
Data has a fixed number of digits including a sign and a decimal point. The
insignificant zeros are replaced by “Space (20H)” (except the ID number).
$PC
[
[
[
[
+1234
[
P C 1234 pcs / 9 digit data + 3 digit unit
$WT
[
[
+4.3210
[
k g 4.3210 kg / 9 digit data + 3 digit unit
$UW +1.234567
[
[
g 1.234567 g / 9 digit data + 3 digit unit
$TR
[
[
+1.2345
[
k g 1.2345 kg / 9 digit data + 3 digit unit
$TL
[
[
+999999
[
P C 999999 pcs / 9 digit data + 3 digit unit
$AN
[
[
[
[
1234 1234 times / 8 digit data
$CD 0 0 0 0 1 2 ID Number 000012 / 6 digit data
$CP O K Result is “OK” / 2 characters
[
[
Result is not available.
Examples of PF command and AD-8121 Printout Sample
AD-8121 (f-06-03=” 0” or “1”) “PF” Command
(HC-i Æ AD-8121) (Computer Æ HC-i )
"~" shows "Space.".
Normally the printer needs to receive the terminator, and do not forget to add
the terminator code(s) to the end of text data.
ID 000012
Count
+1234 PC
Unit Weight
+1.234567 g
Weight
+1.5235 kg
DATE 09/18/2005
TIME 12:34:56
A&D HC-15Ki
“
[