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 | ||