EasyManua.ls Logo

Canmax CM-2D202 - Page 89

Canmax CM-2D202
240 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
89
5. DATA FORMATTING
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
Example: Split characters into 2 lines
Send the first 10 characters from the barcode above, followed by a carriage
return, followed by the rest of the characters.
Command string: F2100DF10D
F2 is the “Send a number of characters” command
10 is the number of characters to send for the first line 0D is the hex value for a
CR
F1 is the “Send all characters” command 0D is the hex value for a CR
The data is output as: 1234567890 ABCDEFGHIJ
<CR>
F3-Send all characters up to a particular character
Include in the output message all characters from the input message, starting
with the character at the current cursor position and continuing to, but not
including, the search character “ss,” followed by an insert character. The
cursor is moved forward to the “ss” character. Syntax = F3ssxx where ss stands
for the search character’s hex value for its ASCII code, and xx stands for the
insert character’s hex value for its ASCII code.
Refer to the ASCII Conversion Chart, for decimal, hex and character codes.
F3 Example: Send all characters up to a particular character
Using the barcode above, send all characters up to but not including “D,”
followed by a carriage return. Command string: F3440D
F3 is the “Send all characters up to a particular character” command 44 is the
hex value for a 'D”
0D is the hex value for a CR
The data is output as:

Table of Contents

Related product manuals