SET SYMBOLOGY
Last updated: 04-Dec-2024
This command is used to set barcode symbologies.
Request Packet
Field | Rule | Type | Minimum | Maximum | Value(s) | Description |
---|---|---|---|---|---|---|
FUNCTION_TYPE | Required | Static value | N/A | N/A | BARCODE | Type of function |
COMMAND | Required | Static value | N/A | N/A | BCSETSYMBOLOGY | Command name |
BC_SYMBPARAM | Required | Numeric | Symbology parameter. Refer to the below Symbology Table. Example: 48 | |||
BC_SYMBVALUE | Required | Character | 16 | Symbology value (in hex). 0000 is for Disable. Example: 0000 | ||
BC_SYMBLEN | Required | Numeric | 1 | 1 | Symbology length (determined by size of symbology value). Example: 2 | |
COUNTER | Required | Numeric | 1 | 10 | COUNTER is used for a given MAC label. Each COUNTER should be higher than the last one. This is sed to authenticate the POS. Example: 5 | |
MAC | Required | Base64 Encoded Data | N/A | N/A | Message Authentication Code. This is used to authenticate the POS. | |
MAC_LABEL | Required | Character | 1 | 50 | Associated label that tells the device which MAC_KEY to use to decrypt the value of MAC. This is used to authenticate the POS. Example: P_JTY065 |
Example
Following is an example of request packet
<TRANSACTION>
<FUNCTION_TYPE>BARCODE</FUNCTION_TYPE>
<COMMAND>BCSETSYMBOLOGY</COMMAND>
<BC_SYMBPARAM>48</BC_SYMBPARAM>
<BC_SYMBVALUE>0000</BC_SYMBVALUE>
<BC_SYMBLEN>2</BC_SYMBLEN>
<MAC>…</MAC>
<COUNTER>5</COUNTER>
<MAC_LABEL>P_JTY065</MAC_LABEL>
</TRANSACTION>
Response Packet
Field | Type | Value | Description |
---|---|---|---|
RESPONSE_TEXT | Character | Processor response text. Example: Command response 0 | |
RESULT | Character | This indicates the Result details. Example: SUCCESS | |
RESULT_CODE | Numeric | Expected result code: -1, 59001, 59006, 59040 | This indicates the result code. Refer to Result/Error Codes for details. |
TERMINATION_STATUS | Character | SUCCESS or FAILURE | This indicates the transaction termination status. This is the overall status of the transaction irrespective of approved or declined. Like, if the output is generated then the status is SUCCESS and if no output is generated then the status will be FAILURE. |
COUNTER | Numeric | Echoes counter sent in the request. Example: 5 |
Example
Following is an example of response packet
<RESPONSE>
<RESPONSE_TEXT>Command response 0</RESPONSE_TEXT>
<RESULT>SUCCESS</RESULT>
<RESULT_CODE>-1</RESULT_CODE>
<TERMINATION_STATUS>SUCCESS</TERMINATION_STATUS>
</RESPONSE>
The tables below includes the most common barcode types used in the Retail industry.
Symbology Table (e280s)
Symbology Parameter | Description | Symbology Value(s) |
---|---|---|
00 | Code 128, enables or disables. |
|
01 | Code 128, sets one discrete length, one byte input value. | Any Length - 4 (Default) |
02 | Code 128, sets two discrete lengths, two byte input value. | Any Length - 4 (Default) |
03 | Code 128, sets a specific length range, two byte input value. | Any Length - 4 (Default) |
04 | Code 128, sets any length, no input value expected for this parameter. | Any Length - 4 (Default) |
05 | GS1-128 (formerly UCC/EAN-128), enables or disables. |
|
06 | ISBT 128, enables or disables. |
|
07 | ISBT concatenation, enables or disables. |
|
08 | Check ISBT table, enables or disables. |
|
09 | ISBT concatenation redundancy, enables or disables. | Value range is 2 to 20. Default is 10. |
10 | UPC-A, enables or disables. |
|
11 | UPC-E, enables or disables. |
|
12 | UPC-E1, enables or disables. |
|
13 | EAN-8/JAN-8, enables or disables. |
|
14 | EAN-13/JAN-13, enables or disables. |
|
15 | Bookland EAN, enables or disables. |
|
16 | If Bookland EAN is enabled, set Bookland ISBN Format. |
|
17 | Decode UPC/EAN/JAN Supplemental. |
|
18 | If a Supplemental User-Programmable option from Decode UPC/EAN/JAN Supplemental is selected, set the 3-digit prefix. 3 digit value input expected. | Numeric, 3 |
19 | If a Supplemental User-Programmable option from Decode UPC/EAN/JAN Supplemental is selected, set a second 3-digit prefix. 3 digit value input expected. | Numeric, 3 |
20 | If auto discriminate supplemental is selected, this option adjusts the number of times to decode a symbol without supplemental before transmission, range is 2 to 30. | Numeric [2-30] |
21 | Transmit UPC-A check digit to verify the integrity of the data, enables or disables. |
|
22 | Transmit UPC-E check digit to verify the integrity of the data, enables or disables. |
|
23 | Transmit UPC-E1 check digit to verify the integrity of the data, |
|
24 | UPC-A preamble characters |
|
25 | UPC-E preamble characters |
|
26 | UPC-E1 preamble characters |
|
27 | Convert UPC-E decoded data to UPC-A format, enables or disables. |
|
28 | Convert UPC-E1 decoded data to UPC-A format, enables or disables. |
|
29 | Add five leading zeros to decoded EAN-8 symbols, enables or disables. |
|
30 | UCC coupon extended code, enables or disables. |
|
31 | Coupon report |
|
32 | ISSN EAN, enables or disables. |
|
33 | Code 39, enables or disables. |
|
34 | Trioptic Code 39, enables or disables. |
|
35 | Convert Code 39 to Code 32, enables or disables. |
|
36 | Code 32 Prefix, enables or disables. |
|
37 | Code 39, sets one discrete length, one byte input value. | Length range (2 - 55) (Default) |
38 | Code 39, sets two discrete lengths, two byte input value. | Length range (2 - 55) (Default) |
39 | Code 39, sets a specific length range, two byte input value. | Length range (2 - 55) (Default) |
40 | Code 39, sets any length, no input value expected for this parameter. | Length range (2 - 55) (Default) |
41 | Code 39 Check Digit Verification, enables or disables. |
|
42 | Transmit Code 39 Check Digit, enables or disables. |
|
43 | Code 39 Full ASCII Conversion, enables or disables. |
|
44 | Buffer Code 39, enable or disable. NOTE: This is not supported in e280s. |
|
45 | Interleaved 2 of 5, enables or disables. |
|
46 | Interleaved 2 of 5, sets one discrete length, one byte input value. | One discrete length (14) (Default). |
47 | Interleaved 2 of 5, sets two discrete lengths, two byte input value. | One discrete length (14) (Default). |
48 | Interleaved 2 of 5, sets a specific length range, two byte input value. | One discrete length (14) (Default). |
49 | Interleaved 2 of 5, sets any length, no input value expected for this parameter. | One discrete length (14) (Default). |
50 | I 2 of 5 Check Digit Verification, enables or disables. |
|
51 | Transmit I 2 of 5 Check Digit, enables or disables. |
|
52 | Convert I 2 of 5 to EAN 13, enables or disables. |
|
53 | QR Code, enables or disables. |
|
54 | QR Inverse |
|
55 | MicroQR, enables or disables. |
|
56 | Data Matrix, enables or disables. |
|
57 | Data Matrix Inverse |
|
58 | Data Matrix Mirror Images |
|
59 | Code 93, enables or disables. |
|
60 | Code 93, sets one discrete length, one byte input value. | Length ranges from 4 to 55 (Default) |
61 | Code 93, sets two discrete lengths, two byte input value. | Length ranges from 4 to 55 (Default) |
62 | Code 93, sets a specific length range, range is set by two byte input value. | Length ranges from 4 to 55 (Default) |
63 | Code 93, sets any length, no input value expected for this parameter. | Length ranges from 4 to 55 (Default) |
64 | Code 11, enables or disables. |
|
65 | Code 11, sets one discrete length, one byte input value. | Length ranges from 4 to 55 (Default) |
66 | Code 11, sets two discrete lengths, two byte input value. | Length ranges from 4 to 55 (Default) |
67 | Code 11, sets a specific length range, range is set by two byte input value. | Length ranges from 4 to 55 (Default) |
68 | Code 11, sets any length, no input value expected for this parameter. | Length ranges from 4 to 55 (Default) |
69 | Code 11, checks digit verification. |
|
70 | Transmit Code 11 Check Digit(s), enables or disables. |
|
71 | Discrete 2 of 5, enables or disables. |
|
72 | Discrete 2 of 5, sets one discrete length, one byte input values. | One discrete length (12) (Default) |
73 | Discrete 2 of 5, sets two discrete lengths, two byte input values. | One discrete length (12) (Default) |
74 | Discrete 2 of 5, sets a specific length range, range is set by two byte input value. | One discrete length (12) (Default) |
75 | Discrete 2 of 5, sets any length, no input value expected for this parameter. | One discrete length (12) (Default) |
76 | Codabar, enables or disables. |
|
77 | Codabar, sets one discrete length, one byte input value. | Length ranges from 5 to 55 (Default) |
78 | Codabar, sets two discrete lengths, two byte input value. | Length ranges from 5 to 55 (Default) |
79 | Codabar, sets a specific length range, range is set by two byte input value. | Length ranges from 5 to 55 (Default) |
80 | Codabar, sets any length, no input value expected for this parameter. | Length ranges from 5 to 55 (Default) |
81 | Codabar, CLSI editing, enables or disables. |
|
82 | Codabar, NOTIS editing, enables or disables. |
|
83 | Codabar, Upper or Lower Case Start/Stop Characters Detection. |
|
84 | MSI, enables or disables. |
|
85 | MSI, set one discrete length, one byte input value. | Length ranges from 5 to 55 (Default) |
86 | MSI, set two discrete lengths, two byte input value. | Length ranges from 5 to 55 (Default) |
87 | MSI, set a specific length range, range is set by two byte input value. | Length ranges from 5 to 55 (Default) |
88 | MSI, set any length, no input value expected for this parameter. | Length ranges from 5 to 55 (Default) |
89 | MSI, verification of the second check digit. |
|
90 | Transmit MSI check digit(s), enables or disables. |
|
91 | MSI, check digit algorithm for the verification of the second MSI check digit. |
|
92 | Chinese 2 of 5, enables or disables. |
|
93 | Matrix 2 of 5, enables or disables. |
|
94 | Matrix 2 of 5, set one discrete length, one byte input value. | One discrete length (14) (Default) |
95 | Matrix 2 of 5, set two discrete lengths, two byte input value. | One discrete length (14) (Default) |
96 | Matrix 2 of 5, set a specific length range, range is set by two byte input value. | One discrete length (14) (Default) |
97 | Matrix 2 of 5, set any length, no input value expected for this parameter. | One discrete length (14) (Default) |
98 | Matrix 2 of 5 Check Digit, enables or disables. |
|
99 | Transmit Matrix 2 of 5 Check Digit, enables or disables. |
|
101 | Inverse 1D |
|
102 | US Postnet, enables or disables. |
|
103 | US Planet, enables or disables. |
|
104 | Transmit US Postal Check Digit, enables or disables. |
|
105 | UK Postal, enables or disables. |
|
106 | Transmit UK Postal Check Digit, enables or disables. |
|
107 | Japan Postal, enables or disables. |
|
108 | Australia Post, enables or disables. |
|
109 | Australia Post Format |
|
110 | Netherlands KIX Code, enables or disables. |
|
111 | USPS 4CB/One Code/Intelligent Mail, enables or disables. |
|
112 | UPU FICS Postal, enables or disables. |
|
113 | GS1 DataBar, enables or disables. |
|
114 | GS1 DataBar Limited, enables or disables. |
|
115 | GS1 DataBar Limited Security Level |
|
116 | GS1 DataBar Expanded, enables or disables. |
|
117 | Convert GS1 DataBar to UPC/EAN, enables or disables. |
|
118 | Composite CC-C, enables or disables. |
|
119 | Composite CC-A/B, enables or disables. |
|
120 | Composite TLC-39, enables or disables. |
|
121 | Composite UPC Mode, enables or disables. |
|
122 | GS1-128 Emulation Mode for UCC/EAN Composite Codes, enables or disables. |
|
123 | PDF417, enables or disables. |
|
124 | MicroPDF417, enables or disables. |
|
125 | Maxicode, enables or disables. |
|
126 | Aztec, enables or disables. |
|
127 | Aztec Inverse |
|
128 | Han Xin, enables or disables. |
|
129 | Han Xin Inverse |
|
Symbology Table (M424/M440)
Symbology Parameter | Description | Symbology Value(s) |
---|---|---|
00 | Enables or disables Code 128. |
|
33 | Enables or disables Code 39. |
|
34 | Enables or disables Trioptic Code 39. |
|
41 | Enables or disables Code 39 Check Digit Verification. |
|
42 | Enables or disables Transmit Code 39 Check Digit. |
|
43 | Code 39 Full ASCII Conversion, enable/disable. |
|
45 | Enables or disables Interleaved 2 of 5. |
|
53 | Enables or disables QR Code. |
|
56 | Enables or disables Data Matrix. |
|
59 | Enables or disables Code 93. |
|
64 | Enables or disables Code 11. |
|
69 | Code 11, check digit verification, |
|
70 | Enables or disables Transmit Code 11 Check Digit(s). |
|
76 | Enables or disables Codabar. |
|
84 | Enables or disables MSI. |
|
93 | Enables or disables Matrix 2 of 5. |
|
102 | Enables or disables US Postnet. |
|
103 | Enables or disables US Planet. |
|
105 | Enables or disables UK Postal. |
|
107 | Enables or disables Japan Postal. |
|
108 | Enables or disables Australia Post. |
|
110 | Enables or disables Netherlands KIX Code. |
|
111 | Enables or disables USPS 4CB/One Code/Intelligent Mail. |
|
112 | Enables or disables UPU FICS Postal. |
|
120 | Enables or disables Composite TLC-39. |
|
123 | Enables or disables PDF417. |
|
124 | Enables or disables MicroPDF417. |
|
125 | Enables or disables Maxicode. |
|
126 | Enables or disables Aztec. |
|
129 | Han Xin Inverse |
|
Rate this article: