Datalogic Scanning M8300 Barcode Reader User Manual


 
POWERSCAN
®
D8330/M8300
172
The general format for other asynchronous messages is:
[Scanner_Addr] [Scanner_Addr_delimiter] [DC2]
MESSAGE
[CR]
where DC2 is ASCII 0x12 (^R) character.
If you have not enabled the Scanner Address Stamping or the Scanner Address
Delimiter, you must not specify them. In this case all messages will be implicitly
addressed to the 'binded' Scanner of the cradle directly connected to the serial
line.
The Scanner can only receive messages if two-way mode is enabled. (See par.
5.9.4, “Transmission Mode”, command is on page 159).
Messages cannot start with '$+' because they would be interpreted as a
configuration command.
You can send a message to the Scanner only while it is on. This happens when
it has sent a message to the host and the radio timeout has not yet expired. (See
par. 5.9.1, "Radio Protocol Timeout"; command is on page 130).
If you want to control the Scanner's beeper from the host, you will also probably
want to disable the good transmission beep that is emitted when the code is
received from the cradle. (See command on page 86).
The message field can store plain text and escape sequences.
Escape sequences are interpreted as commands.
Plain text is directly printed on the display. If writing beyond the end of line, the
display does not wrap automatically. Extra characters are ignored. Control
characters are not interpreted (i.e. LF, FF, etc.).
6.1.1 Cursor Control
ESC [
n
A Up
n
rows, no scroll
ESC [
n
B Down
n
rows, no scroll
ESC [
n
C Right
n
columns
ESC [
n
D Left
n
columns
ESC [ G
CR
ESC [
r
;
c
H Move to row
r
, column
c
(ESC[1;1H is the upper left character position of the display)
ESC D
Down 1 row, with scroll
ESC E
CR and cursor down 1 row with scroll
ESC M
Up 1 row and scroll
NOTES:
Since CR is used as the message terminator, you must use ESC [ G or ESC E to
print a CR.