The text of a manual · part 22 of 24
LS 4800/4900 Product Reference Guide: Appendix A Programming Reference
Pages 212 to 219 of 239, from LS 4800/4900 Product Reference Guide
The original document is the PDF (2.6 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-4804 and Symbol LS-4904
Page 212
Appendix A Programming Reference AIM Code Identifiers Each AIM Code Identifier contains the three-character string ]cm where: ] = Flag Character (ASCII 93) c = Code Character m = Modifier Character Table A-1. AIM Code Identifiers Code Character
Code Type
A
Code 39
C
Code 128
E
UPC/EAN
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
A-1
Page 213
LS 4800/4900 Product Reference Guide
The modifier character is the sum of the applicable option values based on Table A-2.
Table A-2. Modifier Characters Code Type Code 39
Option Value 0 1 2 4
No Check character or Full ASCII processing. Reader has checked one check character. Reader has stripped check character. Reader has performed Full ASCII character conversion. Example: A Full ASCII bar code with check character W, A+I+MI+DW, can be transmitted as ]A7AimId where 7 = (1+2+4).
Trioptic Code 39 0
No option specified at this time. Always transmit 0. Example: A Trioptic bar code 412356 is transmitted as ]X0412356.
Code 93
0
No option specified at this time. Always transmit 0. Example: A Code 39 bar code 012345678905 is transmitted as ]G0012345678905.
Code 128
0
Standard data packet, No Function code 1 in first symbol position. Function code 1 in first symbol character position. Function code 1 in second symbol character position. Example: A Code (EAN) 128 bar code with Function 1 character in the first position, Fcnt1AimId is transmitted as ]C1AimId.
1 2
EAN/UPC
0
1 2 4
A-2
Option
Standard packet in full EAN country code format, which is 13 digits for UPC-A and UPC-E (not including supplemental data). Two digit supplement data only. Five digit supplement data only. EAN-8 data packet. Example:A UPC-A bar code 012345678905 is transmitted as ]E00012345678905.
Page 214
Programming Reference
Table A-2. Modifier Characters (Continued) Code Type
Option Value
Option
Interleaved 2 of 5
0 1 2
No check digit processing. Reader has checked check digit. Reader has stripped check digit before transmission. Example: An I 2 of 5 bar code without check digit, 4123, will be transmitted as ]I04123.
Discrete 2 of 5
0
No option specified at this time. Always transmit 0. Example: A D 2 of 5 bar code 4123 is transmitted as ]S04123.
MSI Plessey
0 1 2
Single check digit checked. Two check digits checked. Single check digit verified and stripped before transmission. Two check digits verified and stripped before transmission. Example: An MSI Plessey bar code 4123, with a single check digit checked, is transmitted as ]M04123.
3
Bookland EAN
0
No option specified at this time. Always transmit 0. Example: A Bookland EAN bar code 123456789X is transmitted as ]X0123456789X.
A-3
Page 215
LS 4800/4900 Product Reference Guide
Table A-2. Modifier Characters (Continued) Code Type PDF417, MicroPDF417
Option Value 0
1
2
3 4 5
Option Reader set to conform to protocol defined in 1994 PDF417 symbology specifications. Note: When this option is transmitted, the receiver cannot reliably determine whether ECIs have been invoked or whether data byte 92DEC has been doubled in transmission. Reader set to follow the ECI protocol (Extended Channel Interpretation). All data characters 92DEC are doubled. Reader set for Basic Channel operation (no escape character transmission protocol). Data characters 92DEC are not doubled. Note: When decoders are set to this mode, unbuffered Macro symbols and symbols requiring the decoder to convey ECI escape sequences cannot be transmitted. The bar code contains a UCC/EAN-128 symbol, and the first codeword is 903-907, 912, 914, 915. The bar code contains a UCC/EAN-128 symbol, and the first codeword is in the range 908-909. The bar code contains a UCC/EAN-128 symbol, and the first codeword is in the range 910-911. Example: A PDF417 bar code ABCD, with no transmission protocol enabled, is transmitted as ]L2ABCD
According to AIM standards, a UPC with supplemental bar code is transmitted in one of the following formats: ]E0 (UPC chars) (terminator) ]E2 (supplemental) (terminator) or ]E2 (supplemental) (terminator) ]E0 (UPC chars) (terminator) In the LS 4800, 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 21-character string, ]E00012345678905]E110.
A-4
Page 216
Programming Reference
Prefix / Suffix Values The following values can be assigned as prefixes or suffixes for ASCII character data transmission. If you’re using a keyboard interface, refer to the Synapse “Smart Cable” Interface Guide for keystroke prefix/suffix values. Table A-3. Prefix/Suffix Values Prefix/Suf- Full ASCII Code fix Value 39 Encode Char. 1000 %U 1001 $A 1002 $B 1003 $C 1004 $D 1005 $E 1006 $F 1007 $G 1008 $H 1009 $I 1010 $J 1011 $K 1012 $L 1013 $M 1014 $N 1015 $O 1016 $P 1017 $Q 1018 $R 1019 $S 1020 $T 1021 $U 1022 $V 1023 $W 1024 $X 1025 $Y 1026 $Z 1027 %A 1028 %B 1029 %C
ASCII Character NUL SOH STX ETX EOT ENQ ACK BELL BCKSPC HORIZ TAB LF/NW LN VT FF CR/ENTER SO SI DLE DC1 DC2 DC3 DC4 NAK SYN ETB CAN EM SUB ESC FS GS
Prefix/Suf- Full ASCII Code ASCII fix Value 39 Encode Char. Character 1030 %D RS 1031 %E US 1032 Space Space 1033 /A ! 1034 /B " 1035 /C # 1036 /D $ 1037 /E % 1038 /F & 1039 /G ‘ 1040 /H ( 1041 /I ) 1042 /J * 1043 /K + 1044 /L , 1045 1046 . . 1047 / / 1048 0 0 1049 1 1 1050 2 2 1051 3 3 1052 4 4 1053 5 5 1054 6 6 1057 7 7 1056 8 8 1057 9 9 1058 /Z : 1059 %F ;
A-5
Page 217
LS 4800/4900 Product Reference Guide
Table A-3. Prefix/Suffix Values (Continued) Prefix/Suf- Full ASCII Code ASCII fix Value 39 Encode Char. Character 1060 %G < 1061 %H = 1062 %I > 1063 %J ? 1064 %V @ 1065 A A 1066 B B 1067 C C 1068 D D 1069 E E 1070 F F 1071 G G 1072 H H 1073 I I 1074 J J 1075 K K 1076 L L 1077 M M 1078 N N 1079 O O 1080 P P 1081 Q Q 1082 R R 1083 S S 1084 T T 1085 U U 1086 V V 1087 W W 1088 X X 1089 Y Y 1090 Z Z 1091 %K [ 1092 %L \ 1093 %M ] 1094 %N ^
A-6
Prefix/Suf- Full ASCII Code ASCII fix Value 39 Encode Char. Character 1095 %O _ 1096 %W ` 1097 +A a 1098 +B b 1099 +C c 1100 +D d 1101 +E e 1102 +F f 1103 +G g 1104 +H h 1105 +I i 1106 +J j 1107 +K k 1108 +L l 1109 +M m 1110 +N n 1111 +O o 1112 +P p 1113 +Q q 1114 +R r 1115 +S s 1116 +T t 1117 +U u 1118 +V v 1119 +W w 1120 +X x 1121 +Y y 1122 +Z z 1123 %P { 1124 %Q | 1125 %R } 1126 %S ~ 1127 Undefined 7013
ENTER
Page 218
Programming Reference
A-7
Page 219
LS 4800/4900 Product Reference Guide
A-8