Formatter Command Type 6; Send Commands - Newland NLS-HR42 User Manual

2d handheld barcode scanner
Table of Contents

Advertisement

Formatter Command Type 6

When working with the Data Formatter, a virtual cursor is moved along your input data string. The following commands are
used to both move this cursor to different positions, and to select, replace, and insert data into the final output. For the hex
value of ASCII characters involved in the commands, refer to the "ASCII Table" in Appendix.

Send Commands

F1 Send all characters
Syntax=F1xx (xx: The insert character's hex value)
Include in the output message all of the characters from the input message, starting from current cursor position, followed
by an insert character.
F2 Send a number of characters
Syntax=F2nnxx (nn: The numeric value (00-99) for the number of characters; xx: The insert character's hex value)
Include in the output message a number of characters followed by an insert character. Start from the current cursor position
and continue for "nn" characters or through the last character in the input message, followed by character "xx."
F2 Example: Send a number of characters
Send the first 10 characters from the barcode above, followed by a carriage return.
Command string: F2100D
F2 is the "Send a number of characters" command
10 is the number of characters to send
0D is the hex value for a CR
The data is output as: 1234567890
<CR>
200

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents