207
E6 Search forward for a non-matching character
Syntax=E6xx (xx: The search character
’s hex value)
Search the input message forward for the first non-
“xx” character from the current cursor position, leaving the cursor
pointing to the non-
“xx” character.
E6 Example: Remove zeros at the beginning of barcode data
This example shows a barcode that has been zero filled. You may want to ignore the zeros and send all the data that
follows. E6 searches forward for the first character that is not zero, then sends all the data after, followed by a carriage
return. Using the barcode above:
Command string:
E630F10D
E6 is the
“Search forward for a non-matching character” command
30 is the hex value for 0
F1 is the
“Send all characters” command
0D is the hex value for a CR
The data is output as:
37692
<CR>
E7 Search backward for a non-matching character
Syntax
=
E7xx(xx: The search character
’s hex value)
Search the input message backward for the first non-
“xx” character from the current cursor position, leaving the cursor
pointing to the non-
“xx” character.
Summary of Contents for NLS-HR42
Page 1: ...NLS HR42 2D Handheld Barcode Scanner User Guide...
Page 23: ...9 Dimensions Left View Front View...
Page 24: ...10 Top View...
Page 48: ...34...
Page 65: ...51 KBWCTY27 UK KBWCTY28 Japan...
Page 79: ...65 KBWPOR8 9ms KBWPOR9 10ms...
Page 115: ...101 FEBSDT70 70ms FEBSDT75 75ms...
Page 116: ...102 Transmit Delay per 12 Characters FEBMEN0 Disable FEBMEN1 Enable...
Page 118: ...104 FEBMDT6 800ms FEBMDT7 900ms...
Page 184: ...170 DMCREC1 Enable Rectangular Barcode DMCREC0 Disable Rectangular Barcode...
Page 242: ...228 Appendix Digit Barcodes 0 9 DIGIT0 0 DIGIT1 1 DIGIT2 2 DIGIT3 3 DIGIT4 4 DIGIT5 5...
Page 243: ...229 DIGIT6 6 DIGIT7 7 DIGIT8 8 DIGIT9 9...
Page 244: ...230 A F DIGITA A DIGITB B DIGITC C DIGITD D DIGITE E DIGITF F...
Page 254: ...240 Terminating Character Suffix Enabled CR 0x0D Max 2 characters...