Newland Scanner setup
This page covers the setup of Newland scanner when using Mobile WMS.
GS1 DataMatrix support
If the scanner needs to process GS1 DataMatrix barcodes in Mobile WMS. The AIM identifier can be enabled by scanning the barcode below:
Then check the “exec script” box and click “OK”.
Scanner Settings
This section covers the list of configurations applicable to the scanners using the start.cfg file. The behaviors of Newland Scanners are configurable in the start.cfg file and further applied when entering Mobile WMS. Here is an example of how it can be done:
start.cfg (xml)
...
<!-- SCANNER -->
<scanner>
<type>internal</type>
...
<scanEngineProperties>
...
<scanEngineProperty key="KEY" value="VALUE"/>
...
</scanEngineProperties>
...
</scanner>
...
A configuration option is set within <scanEngineProperty key="KEY" value="VALUE"/>
, where KEY
and VALUE
are set based on the configurations listed in the following tables.
Scanner behavior configurations
The table below the setup example consists of all configuration options supported in Mobile WMS. The details about the configuration ID can be found in the Newland scanner handbook.
Setup example
Here are some examples of changing the scanner behaviors within the <scanEngineProperties>
tag in start.cfg file:
start.cfg (xml)
<!-- Syntax: key="Configuration ID" value="Value" -->
<!-- Example: Change scan mode to level mode -->
<scanEngineProperty key="EXTRA_TRIG_MODE" value="0"/>
<!-- Example: Enable overwrite output -->
<scanEngineProperty key="OUTPUT_RECOVERABLE" value="true"/>
<!-- Example: Set suffix to 0x61 -->
<scanEngineProperty key="SCAN_SUFFIX" value="61"/>
Where the content of the key
is a Configuration ID and content of the value
is the corresponding Value to the Configuration ID as key
.
Configuration ID | Value (* indicates default) |
---|---|
EXTRA_SCAN_POWER | Value = 0 Disable scanner |
EXTRA_TRIG_MODE | Value = 0 Level mode |
EXTRA_SCAN_MODE | Value = 1 Fill in EditText directly* |
SEND_SCAN_FAIL_BROADCAST | Value = 0 Disable the send scan fail broadcast |
EXTRA_SCAN_AUTOENT | Value = 0 Do not add a line feed* |
EXTRA_SCAN_NOTY_SND | Value = 0 Sound notification off |
EXTRA_SCAN_NOTY_VIB | Value = 0 Vibration notification off* |
EXTRA_SCAN_NOTY_LED | Value = 0 LED notification off |
SCAN_TIMEOUT | Set decode session timeout (millisecond) |
SCAN_INTERVAL | Set timeout between decode sessions (millisecond) |
TRIGGER_MODE_MAIN | Value = 0 Disable the Scan key on front panel as scan trigger |
TRIGGER_MODE_LEFT | Value = 0 Disable the Scan key on left side as scan trigger |
TRIGGER_MODE_RIGHT | Value = 0 Disable the Scan key on right side as scan trigger |
TRIGGER_MODE_BLACK | Value = 0 Disable the trigger on pistol grip as scan trigger |
NON_REPEAT_TIMEOUT | Set reread delay (millisecond) |
SCAN_PREFIX_ENABLE | Value = 0 Disable prefix |
SCAN_SUFFIX_ENABLE | Value = 0 Disable suffix |
SCAN_PREFIX | Set prefix |
SCAN_SUFFIX | Set suffix |
SCAN_ENCODE | Character encoding |
OUTPUT_RECOVERABLE | Value = true Enable overwrite output |
EXTRA_OUTPUT_EDITOR_ACTION_ENABLE | Value = 0 Disable software key event output * |
EXTRA_OUTPUT_EDITOR_ACTION | Value = 0 IME_ACTION_UNSPECIFIED |
Scanner symbology configurations
The table below the setup example consists of all symbology configurations supported in Mobile WMS:
Setup example
Here are some examples of changing the scanner symbologies configurations within the <scanEngineProperties>
tag in start.cfg file:
start.cfg (xml)
<!-- Syntax -->
<!-- key="Symbology" value="ConfigurationID:ConfigurationValue" -->
<!-- Example: Disable Code 128 -->
<scanEngineProperty key="CODE128" value="Enable:0"/>
<!-- Example: Set GS1-128 (UCC/EAN-128) maximum length to 127 -->
<scanEngineProperty key="UCCEAN128" value="Maxlen:127"/>
Where the content of the key
is a Symbology and content of the value
consists of an Configuration ID followed by ":" and the corresponding Configuration Value to the ID.
Symbology (marked with bold)
| Configuration | |
---|---|---|
ID (marked with bold) | Value | |
Code 128 CODE128
| Enable/Disable Code 128 Enable | "0" or "1" (default: 1) |
Set minimum length Minlen | "1" – "127" (default: 1) | |
Set maximum length Maxlen | "1" – "127" (default: 48) | |
Transmit check character TrsmtChkChar | "0" or "1" (default: 0) | |
GS1-128 (UCC/EAN-128) UCCEAN128
| Enable/Disable GS1-128 Enable | "0" or "1" (default: 1) |
Set minimum length Minlen | "1" – "127" (default: 1) | |
Set maximum length Maxlen | "1" - "127" (default: 48) | |
AIM 128 AIM128
| Enable/Disable AIM 128 Enable | "0" or "1" (default: 0) |
Set minimum length Minlen | "1" - "127" (default: 1) | |
Set maximum length Maxlen | "1" - "127" (default: 48) | |
Transmit check character TrsmtChkChar | "0" or "1" (default: 0) | |
EAN-8 EAN8
| Enable/Disable EAN-8 Enable | "0" or "1" (default: 1) |
Transmit check character TrsmtChkChar | "0" or "1" (default: 1) | |
2-digit add-on code Digit2 | "0" or "1" (default: 0) | |
5-digit add-on code Digit5 | "0" or "1" (default: 0) | |
Add-on code required AddonRequired | "0" or "1" (default: 0) | |
Enable EAN-8 zero extend MsgtoEan13 | "0" or "1" (default: 0) | |
Convert EAN-8 to EAN-13 TypetoEan13 | "0" or "1" (default: 0) | |
EAN-13 EAN13
| Enable/Disable EAN-13 Enable | "0" or "1" (default: 1) |
Transmit check character TrsmtChkChar | "0" or "1" (default: 1) | |
2-digit add-on code Digit2 | "0" or "1" (default: 0) | |
5-digit add-on code Digit5 | "0" or "1" (default: 0) | |
Add-on code required AddonRequired | "0" or "1" (default: 0) | |
ISSN ISSN | Enable/Disable ISSN Enable | "0" or "1" (default: 0) |
ISBN ISBN
| Enable/Disable ISBN Enable | "0" or "1" (default: 0) |
Set ISBN format Length | "0" or "1" (default: 1) | |
UPC-E UPCE
| Enable/Disable UPC-E Enable | "0" or "1" (default: 1) |
Transmit check character TrsmtChkChar | "0" or "1" (default: 1) | |
2-digit add-on code Digit2 | "0" or "1" (default: 0) | |
5-digit add-on code Digit5 | "0" or "1" (default: 0) | |
Add-on code required AddonRequired | "0" or "1" (default: 0) | |
Transmit system character TrsmtSysDigit | "0" or "1" (default: 1) | |
Enable UPC-E extend MsgToupca | "0" or "1" (default: 0) | |
UPC-A UPCA
| Enable/Disable UPC-A Enable | "0" or "1" (default: 1) |
Transmit check character TrsmtChkChar | "0" or "1" (default: 1) | |
2-digit add-on code Digit2 | "0" or "1" (default: 0) | |
5-digit add-on code Digit5 | "0" or "1" (default: 0) | |
Add-on code required AddonRequired | "0" or "1" (default: 0) | |
Transmit preamble character TrsmtSysDigit | "0" or "1" (default: 0) | |
Enable UPC-A + Coupon Coupon | "0" or "1" (default: 0) | |
Require coupon ReqCoupon | "0" or "1" (default: 0) | |
Coupon GS1 Databar output Gs1Coupon | "0" or "1" (default: 0) | |
Interleaved 2 of 5 ITF
| Enable/Disable Interleaved 2 of 5 Enable | "0" or "1" (default: 1) |
Set minimum length Minlen | "1" – "127" (default: 6) | |
Set maximum length Maxlen | "1" – "127" (default: 80) | |
Check character verification Check | "0" - "1" (default: 0) | |
Transmit check character TrsmtChkChar | "0" or "1" (default: 0) | |
ITF-6 ITF6
| Enable/Disable ITF-6 Enable | "0" or "1" (default: 0) |
Transmit check character TrsmtChkChar | "0" or "1" (default: 0) | |
ITF-14 ITF14
| Enable/Disable ITF-14 Enable | "0" or "1" (default: 0) |
Transmit check character TrsmtChkChar | "0" or "1" (default: 0) | |
Matrix 2 of 5 MATRIX25
| Enable/Disable Matrix 2 of 5 Enable | "0" or "1" (default: 1) |
Set minimum length Minlen | "1" – "127" (default: 4) | |
Set maximum length Maxlen | "1" – "127" (default: 80) | |
Check character verification Check | "0" - "1" (default: 0) | |
Transmit check character TrsmtChkChar | "0" or "1" (default: 0) | |
Industrial 25 IND25
| Enable/Disable Industrial 25 Enable | "0" or "1" (default: 0) |
Set minimum length Minlen | "1" – "127" (default: 6) | |
Set maximum length Maxlen | "1" – "127" (default: 48) | |
Check character verification Check | "0" - "1" (default: 0) | |
Transmit check character TrsmtChkChar | "0" or "1" (default: 0) | |
Standard 25 STD25
| Enable/Disable Standard 25 Enable | "0" or "1" (default: 0) |
Set minimum length Minlen | "1" – "127" (default: 6) | |
Set maximum length Maxlen | "1" – "127" (default: 48) | |
Check character verification Check | "0" - "1" (default: 0) | |
Transmit check character TrsmtChkChar | "0" or "1" (default: 0) | |
Code 39 CODE39
| Enable/Disable Code 39 Enable | "0" or "1" (default: 1) |
Set minimum length Minlen | "1" – "127" (default: 1) | |
Set maximum length Maxlen | "1" – "127" (default: 48) | |
Check character verification Check | "0" - "1" (default: 0) | |
Transmit check character TrsmtChkChar | "0" or "1" (default: 0) | |
Transmit start/stop character TrsmtStasrtStop | "0" or "1" (default: 0) | |
Code 39 Full ASCII FullAscii | "0" or "1" (default: 0) | |
Codabar CODABAR
| Enable/Disable Codabar Enable | "0" or "1" (default: 1) |
Set minimum length Minlen | "1" – "127" (default: 2) | |
Set maximum length Maxlen | "1" – "127" (default: 60) | |
Check character verification Check | "0" - "1" (default: 0) | |
Transmit check character TrsmtChkChar | "0" or "1" (default: 0) | |
Transmit start/stop character TrsmtStasrtStop | "0" or "1" (default: 0) | |
Start/Stop character format StartStopMode | "0" or "1" (default: 0) | |
Code 93 CODE93
| Enable/Disable Code 93 Enable | "0" or "1" (default: 0) |
Set minimum length Minlen | "1" – "127" (default: 1) | |
Set maximum length Maxlen | "1" – "127" (default: 48) | |
Check character verification Check | "0" - "1" (default: 0) | |
Transmit check character TrsmtChkChar | "0" or "1" (default: 0) | |
Code 11 CODE11
| Enable/Disable Code 11 Enable | "0" or "1" (default: 0) |
Set minimum length Minlen | "1" – "127" (default: 4) | |
Set maximum length Maxlen | "1" – "127" (default: 48) | |
Check character verification Check | "0" - "5" (default: 1) | |
Transmit check character TrsmtChkChar | "0" or "1" (default: 0) | |
Plessey PLSY
| Enable/Disable Plessey Enable | "0" or "1" (default: 0) |
Set minimum length Minlen | "1" – "127" (default: 1) | |
Set maximum length Maxlen | "1" – "127" (default: 127) | |
Check character verification Check | "0" - "1" (default: 0) | |
Transmit check character TrsmtChkChar | "0" or "1" (default: 0) | |
MSI-Plessey MSIPLSY
| Enable/Disable MSI-Plessey Enable | "0" or "1" (default: 0) |
Set minimum length Minlen | "1" – "127" (default: 4) | |
Set maximum length Maxlen | "1" – "127" (default: 48) | |
Check character verification Check | "0" - "3" (default: 1) | |
Transmit check character TrsmtChkChar | "0" or "1" (default: 0) | |
PDF417 PDF417
| Enable/Disable PDF417 Enable | "0" or "1" (default: 1) |
Set minimum length Minlen | "1" – "2710" (default: 1) | |
Set maximum length Maxlen | "1" – "2710" (default: 2710) | |
PDF417 twin code CodeNum | "1" or "2" (default: 1) | |
Fixed number of barcodes on an image NumFixed | "0" or "1" (default: 1) | |
PDF417 inverse VideoMode | "0" or "2" (default: 0) | |
QR Code QR
| Enable/Disable QR Code Enable | "0" or "1" (default: 1) |
Set minimum length Minlen | "1" – "7089" (default: 1) | |
Set maximum length Maxlen | "1" – "7089" (default: 7089) | |
QR twin code CodeNum | "1" or "2" (default: 1) | |
Fixed number of barcodes on an image NumFixed | "0" or "1" (default: 1) | |
QR Code inverse VideoMode | "0" or "2" (default: 0) | |
Data Matrix DM
| Enable/Disable Data Matrix Enable | "0" or "1" (default: 1) |
Set minimum length Minlen | "1" – "3116" (default: 1) | |
Set maximum length Maxlen | "1" – "3116" (default: 3116) | |
Rectangular barcode RectAngle | "0" or "1" (default: 1) | |
Data Matrix twin code CodeNum | "1" or "2" (default: 1) | |
Fixed number of barcodes on an image NumFixed | "0" or "1" (default: 1) | |
Data Matrix inverse VideoMode | : "0" or "2" (default: 0) | |
Chinese Sensible (CS) Code CSC
| Enable/Disable CS Code Enable | "0" or "1" (default: 0) |
Set minimum length Minlen | "1" – "7827" (default: 1) | |
Set maximum length Maxlen | "1" – "7827" (default: 7827) | |
CS twin code CodeNum | "1" or "2" (default: 1) | |
Fixed number of barcodes on an image NumFixed | "0" or "1" (default: 1) | |
CS Code inverse VideoMode | "0" or "2" (default: 0) | |
Aztec AZTEC
| Enable/Disable Aztec Enable | "0" or "1" (default: 0) |
Set minimum length Minlen | "1" – "3832" (default: 1) | |
Set maximum length Maxlen | "1" – "3832" (default: 3832) | |
Aztec twin code CodeNum | "1" or "2" (default: 1) | |
Fixed number of barcodes on an image NumFixed | "0" or "1" (default: 1) | |
Aztec inverse VideoMode | "0" or "2" (default: 0) | |
MicroPDF417 MICROPDF
| Enable/Disable MicroPDF417 Enable | "0" or "1" (default: 0) |
Set minimum length Minlen | "1" – "366" (default: 1) | |
Set maximum length Maxlen | "1" – "366" (default: 366) | |
Micro QR MICROQR
| Enable/Disable Micro QR Enable | "0" or "1" (default: 0) |
Set minimum length Minlen | "1" – "35" (default: 1) | |
Set maximum length Maxlen | "1" – "35" (default: 35) |
Common issues & fix
This section covers the common issues from the users and their corresponding fix.
Scanner related issues
If the scanner does not behave correctly according to the setup in start.cfg, please consider resetting the scanner settings:
Open "Quick Settings" app:
Select "Scan".
Make sure the "Enable scan" option is checked.
Select "Restore default".
After restore default, if the device needs to support GS1 barcodes, please scan the QR-code shown in the first section of this page to enable GS1 barcode support.
Restart Mobile WMS and check if the issue still occurs.