The text of a manual · part 23 of 24
LS 6000i Series Product Reference Guide: Appendix A Programming Reference
Pages 186 to 199 of 205, from LS 6000i Series Product Reference Guide
The original document is the PDF (1.8 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Symbol LS-6005 and Symbol LS-6004
Page 186
Appendix A Programming Reference UCC/EAN-128 UCC/EAN-128 is a convention for printing data fields with standard Code 128 bar code symbols. UCC/EAN128 symbols are distinguished by a leading FNC 1 character as the first or second character in the symbol. Other FNC 1 characters are used to delineate fields. When EAN-128 symbols are read, they are transmitted after special formatting strips off the leading FNC 1 character and replaces other FNC 1 characters with the ASCII 29 GS control character. When AIM symbology identifiers are transmitted, the modifier character indicates the position of the leading FNC 1 character according to AIM guidelines. For example, ]c1 indicates a UCC/EAN-128 symbol with a leading FNC1 character. A-1
Page 187
LS 6000i Series Product Reference Guide
Standard Code 128 bar codes which do not have a leading FNC 1 may still be used but are not encoded according to the EAN-128 convention. Standard Code 128 and UCC/EAN-128 may be mixed in an application. The LS 6000i autodiscriminates between these symbols, and can enable or disable one or both code types via bar code menus. Table A-1 indicates the behavior of the LS 6000i in each of the four possible parameter settings. Table A-1. Reading Standard Code128 & UCC/EAN 128 Standard Code 128
UCC/ EAN128
Effect and Example
Disable
Disable
No Code 128 symbols can be read.
Disable
Enable
Read only symbols with leading FNC 1. Examples: FNC1ABCDFNC1E are read as ABCD29E AFNC1BCDFNC1E are read as ABCD29E FNC1FNC1ABCDFNC1E are read as ABCD29E ABCDFNC1E cannot be read ABCDE cannot be read
A-2
Page 188
Programming Reference
Table A-1. Reading Standard Code128 & UCC/EAN 128 (Continued) Standard Code 128
UCC/ EAN128
Effect and Example
Enable
Disable
Read only symbols without leading FNC 1. Examples: FNC1ABCDFNC1E cannot be read AFNC1BCDFNC1E cannot be read FNC1FNC1ABCDFNC1E cannot be read ABCDFNC1E is read as ABCD29E ABCDE is read as ABCDE
Enable
Enable
Read both types of symbols. Examples: FNC1ABCDFNC1E are read as ABCD29E AFNC1BCDFNC1E are read as ABCD29E FNC1FNC1ABCDFNC1E are read as ABCD29E ABCDFNC1E is read as ABCD29E ABCDE is read as ABCDE
A-3
Page 189
LS 6000i Series Product Reference Guide
AIM Code Identifiers Each AIM Code Identifier contains the three-character string ]cm where: ] c m
= = =
Flag Character (ASCII 93) Code Character (see Table A-2) Modifier Character (see Table A-3)
Table A-2. AIM Code Identifiers Code Character
A-4
Code Type
A
Code 39
C
Code 128, ISBT 128, EAN128
E
UPC/EAN e
RSS Family, EAN/UCC Composites (RSS & UCC/EAN-128 only)
F
Codabar
G
Code 93
I
Interleaved 2 of 5
L
PDF417, MicroPDF417
M
MSI Plessey
S
D 2 of 5, IATA 2 of 5
X
Code 39 Trioptic, Bookland EAN
Page 190
Programming Reference
Modifier Characters The modifier character is the sum of the applicable option values based on Table A-3. Table A-3. Modifier Characters Code Type Code 39
Option Value
Option
0
No check character or Full ASCII processing.
1
Reader has checked one check character.
3
Reader has checked and stripped check character.
4
Reader has performed Full ASCII character conversion.
5
Reader has performed Full ASCII character conversion and checked one check character.
7
Reader has performed Full ASCII character conversion and checked and stripped check character.
Example:A Full ASCII bar code with check character W, A+I+MI+DW, is transmitted as ]A7AimId where 7 = (3+4).
A-5
Page 191
LS 6000i Series Product Reference Guide
Table A-3. Modifier Characters (Continued) Code Type Code 128
Option Value
Option
0
Standard data packet, no Function code 1 in first symbol position.
1
Function code 1 in first symbol character position.
2
Function code 1 in second symbol character position.
Example:A Code (EAN) 128 bar code with Function 1 character in the first position, FNC1 Aim Id is transmitted as ]C1AimId I 2 of 5
0
No check digit processing.
1
Reader has validated check digit.
3
Reader has validated and stripped check digit.
Example:An I 2 of 5 bar code without check digit, 4123, is transmitted as ]I04123 Codabar
0
No check digit processing.
1
Reader has checked check digit.
3
Reader has stripped check digit before transmission.
Example:A Codabar bar code without check digit, 4123, is transmitted as ]F04123
A-6
Page 192
Programming Reference
Table A-3. Modifier Characters (Continued) Code Type
Option Value
UPC/EAN
Option
0
Standard packet in full EAN country code format, which is 13 digits for UPC-A and UPC-E (not including supplemental data).
1
Two-digit supplement data only.
2
Five-digit supplement data only.
4
EAN-8 data packet.
Example:A UPC-A bar code 012345678905 is transmitted as ]E00012345678905 Bookland EAN
0
No options specified at this time. Always transmit 0.
Example:A Bookland EAN bar code 123456789X is transmitted as ]X0123456789X RSS Family Note: In UCC/EAN128 emulation mode, RSS is transmitted using Code 128 rules (i.e., ]C1).
0
No option specified at this time. Always transmit 0. RSS-14 and RSSLimited transmit with an Application Identifier “01”.
Example: An RSS-14 bar code 100123456788902 is transmitted as ]e001100123456788902.
A-7
Page 193
LS 6000i Series Product Reference Guide
According to AIM standards, a UPC with supplemental bar code is transmitted in the following format: ]E0 (UPC chars) (terminator) ]E2 (supplemental) (terminator) In the LS 6000i, however, the format is changed to: ]E0 (UPC chars) ]E2 (supplemental) Therefore, a UPC with two supplemental characters, 01234567890510, is transmitted to the host as a 21character string, ]E00012345678905]E110.
A-8
Page 194
Programming Reference
ASCII Character Set Refer to the table below for ASCII values. Table A-4. ASCII Character Set ASCII Value
Full ASCII Code 39 Encode Char
1000 1001
Full ASCII Code 39 Encode Char Keystroke
Keystroke
ASCII Value
%U
CTRL 2
1024
$X
CTRL X
$A
CTRL A
1025
$Y
CTRL Y
1002
$B
CTRL B
1026
$Z
CTRL Z
1003
$C
CTRL C
1027
%A
CTRL [
1004
$D
CTRL D
1028
%B
CTRL \
1005
$E
CTRL E
1029
%C
CTRL ]
1006
$F
CTRL F
1030
%D
CTRL 6
1007
$G
CTRL G
1031
%E
CTRL -
1008
$H
CTRL H
1032
Space
Space
1009
$I
CTRL I
1033
/A
!
1010
$J
CTRL J
1034
/B
‘
1011
$K
CTRL K
1035
/C
#
1012
$L
CTRL L
1036
/D
$
1013
$M
CTRL M
1037
/E
% &
1014
$N
CTRL N
1038
/F
1015
$O
CTRL O
1039
/G
‘
1016
$P
CTRL P
1040
/H
(
1017
$Q
CTRL Q
1041
/I
)
1018
$R
CTRL R
1042
/J
*
1019
$S
CTRL S
1043
/K
+
1020
$T
CTRL T
1044
/L
,
1021
$U
CTRL U
1045
-
-
1022
$V
CTRL V
1046
.
.
1023
$W
CTRL W
1047
/
/
A-9
Page 195
LS 6000i Series Product Reference Guide
Table A-4. ASCII Character Set (Continued) ASCII Value
Full ASCII Code 39 Encode Char
Full ASCII Code 39 Encode Char Keystroke
Keystroke
ASCII Value
1048
0
0
1073
I
I
1049
1
1
1074
J
J
1050
2
2
1075
K
K
1051
3
3
1076
L
L
1052
4
4
1077
M
M
1053
5
5
1078
N
N
1054
6
6
1079
O
O
1055
7
7
1080
P
P
1056
8
8
1081
Q
Q
1057
9
9
1082
R
R
1058
/Z
:
1083
S
S
1059
%F
;
1084
T
T
1060
%G
<
1085
U
U
1061
%H
=
1086
V
V
1062
%I
>
1087
W
W
1063
%J
?
1088
X
X
1064
%V
@
1089
Y
Y
1065
A
A
1090
Z
Z
1066
B
B
1091
%K
[
1067
C
C
1092
%L
\
1068
D
D
1093
%M
]
1069
E
E
1094
%N
^ _
1070
F
F
1095
%O
1071
G
G
1096
%W
‘
1072
H
H
1097
+A a
A-10
Page 196
Programming Reference
Table A-4. ASCII Character Set (Continued) Full ASCII Code 39 Encode Char
Keystroke
ASCII Value
1098
+B b
1113
+Q
1099
+C c
1114
+R r
1100
+D d
1115
+S s
1101
+E e
1116
+T t
1102
+F f
1117
+U u
1103
+G g
1118
+V v
1104
+H h
1119
+W w
ASCII Value
Full ASCII Code 39 Encode Char Keystroke q
1105
+I i
1120
+X x
1106
+J j
1121
+Y y
1107
+K k
1122
+Z z
1108
+L l
1123
%P
{
1109
+M m
1124
%Q
|
1110
+N n
1125
%R
}
1111
+O o
1126
%S
1112
+P p
1127
~ Undefined
A-11
Page 197
LS 6000i Series Product Reference Guide
Table A-4. ASCII Character Set (Continued) ALT Keys
Keystroke
ALT Keys
Keystroke
ALT Keys
2064
ALT 2
2075
ALT K
2086
Keystroke ALT V
2065
ALT A
2076
ALT L
2087
ALT W
2066
ALT B
2077
ALT M
2088
ALT X
2067
ALT C
2078
ALT N
2089
ALT Y
2068
ALT D
2079
ALT O
2090
ALT Z
2069
ALT E
2080
ALT P
2091
ALT [
2070
ALT F
2081
ALT Q
2092
ALT \
2071
ALT G
2082
ALT R
2093
ALT ]
2072
ALT H
2083
ALT S
2094
ALT 6
2095
ALT -
2073
ALT I
2084
ALT T
2074
ALT J
2085
ALT U
Misc. Key
Keystroke
Misc. Key
Keystroke
3001
PA 1
3009
CMD 7
3017
°
3002
PA 2
3010
CMD 8
3018
1/2
3003
CMD 1
3011
CMD 9
3019
¶
3004
CMD 2
3012
CMD 10
3020
§
3005
CMD 3
3013
¥
3021
|
3006
CMD 4
3014
£
3022
0/00
3007
CMD 5
3015
¤
3008
CMD 6
3016
¬
A-12
Misc. Key Keystroke
Page 198
Programming Reference
Table A-4. ASCII Character Set (Continued) PF Keys
Keystroke
PF Keys
Keystroke
PF Keys
Keystroke
4001
PF 1
4009
PF 9
4017
PF 17
4002
PF 2
4010
PF 10
4018
PF 18
4003
PF 3
4011
PF 11
4019
PF 19
4004
PF 4
4012
PF 12
4020
PF 20
4005
PF 5
4013
PF 13
4021
PF 21
4006
PF 6
4014
PF 14
4022
PF 22
4007
PF 7
4015
PF 15
4023
PF 23
4008
PF 8
4016
PF 16
4024
PF 24
F Keys
Keystroke
F Keys
Keystroke
F Keys
Keystroke
5001
F1
5014
F 14
5027
F 27
5002
F2
5015
F 15
5028
F 28
5003
F3
5016
F 16
5029
F 29
5004
F4
5017
F 17
5030
F 30
5005
F5
5018
F 18
5031
F 31
5006
F6
5019
F 19
5032
F 32
5007
F7
5020
F 20
5033
F 33
5008
F8
5021
F 21
5034
F 34
5009
F9
5022
F 22
5035
F 35
5010
F 10
5023
F 23
5036
F 36
5011
F 11
5024
F 24
5037
F 37
5012
F 12
5025
F 25
5038
F 38
5013
F 13
5026
F 26
5039
F 39
A-13
Page 199
LS 6000i Series Product Reference Guide
Table A-4. ASCII Character Set (Continued) Numeric Keypad
Keystroke
Numeric Keypad
Keystroke
Numeric Keypad
Keystroke
6042
*
6049
1
6056
8
6043
+
6050
2
6057
9
6044
Undefined
6051
3
6058
Enter
6045
-
6062
4
6059
Num Lock
6046
.
6063
5
6060
00
6047
/
6064
6
6048
0
6065
7
Extended Keypad
Keystroke
Extended Keypad
Keystroke
Extended Keypad Keystroke
7001
Break
7008
Backspace
7015
7002
Delete
7009
Tab
7016
Dn Arrow
7003
Pg Up
7010
Print Screen
7017
Left Arrow
7004
End
7011
Insert
7018
Right Arrow
7019
Back Tab
7005
Pg Dn
7012
Home
7006
Pause
7013
Enter
7007
Scroll Lock
7014
Escape
A-14
Up Arrow