If you are going to read codes of fixed length, it is recommended to configure the scan engine for that fixed number of characters.
The scan engine will verify that codes read are of the correct length and rejects codes that do not have the specified length.
The advantage of setting a fixed length is that it provides protection against spurious short scans of codes, possible with code types that do not provide sufficient security against partial scans (e.g. Interleaved 2of5).
The length checking is done on the code data and is not affected by options such as (not) transmit start/stop character or check digit. Setting the number of characters does not affect fixed length codes, such as EAN-13.

Fixed Length ON, Minimum / Maximum Length for Selected Codes


This option enables fixed length and minimum / maximum length checking for each code types and will only affect the specified code types.
Configuration with commands
  
ItemCommandDescriptionDefault
(valid range)
Fixed length Specify Code Input length of digits Fixed length for selected codes
Length:(1000a+100b+10c+d)
(0 ~ 8000)
Command Qa Qb Qc Qd

Configuration exampleCommand
Fix Code39 length to 6 digits SystemSetting("[DC1Q6")
Fix Code39 length to 6 digits and Interleaved 2 of 5 to 12 digits SystemSetting("[DC1Q6[DC4Q1Q2")
Clear fixed length for Code39 SystemSetting("[DC1")
Set minimum length for Interleaved 2 of 5 to 4 digits SystemSetting("[DB4Q4")
Clear minimum length for Interleaved 2 of 5 SystemSetting("[DB4")
Set maximum length for Code39 to 12 digits SystemSetting("[DA1Q1Q2")
Clear max length for Code39 SystemSetting("[DA1")
Set max length for PDF417 to 20 digits and QR code 125 digits SystemSetting("[DALQ2Q0[DAJQ1Q2Q5")

Command List: Fixed Length ON/Minimum/Maximum Length


Enter the following command followed by a value to set length of each code.
When reset settings, the length currently set becomes the default.
The following are the contents that can be set with the SystemSetting function.

Code typeFixed length Min lengthMax lengthDefault(Min length)
Reset settings [DC0 [XQG [XNG -
Code 39 [DC1 [DB1 [DA1 1
Codabar [DC2 [DB2 [DA2 2
Industrial 2 of 5 [DC3 [DB3 [DA3 5
Interleaved 2 of 5 [DC4 [DB4 [DA4 6
Code 93 [DCD [DBD [DAD 1
Code 128 [DCB [DBB [DAB 1
MSI/Plessey [DC8 [DB8 [DA8 3
IATA [DC7 [DB7 [DA7 5
PDF417 [DCL [DBL [DAL -
QR code [DCJ [DBJ [DAJ -
DataMatrix [DCH [DBH [DAH -
Maxi code [DCK [DBK [DAK -
Aztec code [DCI [DBI [DAI -
MicroPDF417 [DCM [DBM [DAM -
RSS-Expanded (GS1 Databar) [DCF [DBF [DAF -
Composite [DCG [DBG [DAG -
GS1-128 [DCC [DBC [DAC -
S-code [DC5 [DB5 [DA5 5
UK/Plessey [DCA [DBA [DAA 2
Matrix 2 of 5 / Chinese Post [DC6 [DB6 [DA6 5
Telepen [DC9 [DB9 [DA9 1
Codablock-F [DCO [DBO [DAO -
Code 11 [DCE [DBE [DAE 1
Chinese Sensible Code [DCN [DBN [DAN -

Last updated: 2020/11/11