Serial programming commands, Conventions, Menu command syntax – HandHeld Entertainment Document Reader 4800dr User Manual

Page 103: Query commands, Chapter 10 - serial programming commands, Conventions -1 menu command syntax -1, Query commands -1, Chapter 10, For settings and defaults

Advertising
background image

4800dr Barcode Guide

10 - 1

10

Serial Programming Commands

The serial programming commands can be used in place of the programming barcodes. Both the serial commands and the

programming barcodes will program your document reader. For complete descriptions and examples of each serial

programming command, refer to the corresponding programming barcode in this manual.
The device must be set to a TTL-232 interface or UBSB COM Port Emulation interface (see

page 1-4

). The following commands

can be sent via a PC COM port using terminal emulation software.

Conventions

The following conventions are used for menu and query command descriptions:
parameterA label representing the actual value you should send as part of a command.
[option] An optional part of a command.
{Data} Alternatives in a command.
bold

Names of menus, menu commands, buttons, dialog boxes, and windows that appear on the screen.

Menu Command Syntax

Menu commands have the following syntax (spaces have been used for clarity only):
Prefix Tag SubTag {Data} [, SubTag {Data}] [; Tag SubTag {Data}] […] Storage

Prefix

Three ASCII characters: SYN M CR (ASCII 22,77,13).

Tag

A 3 character case-insensitive field that identifies the desired menu command group. For example, all TTL-232

configuration settings are identified with a Tag of 232.

SubTag

A 3 character case-insensitive field that identifies the desired menu command within the tag group. For example,

the SubTag for the TTL-232 baud rate is BAD.

Data

The new value for a menu setting, identified by the Tag and SubTag.

Storage

A single character that specifies the storage table to which the command is applied. An exclamation point (!) per-

forms the command’s operation on the device’s volatile menu configuration table. A period (.) performs the com-

mand’s operation on the device’s non-volatile menu configuration table. Use the non-volatile table only for semi-

permanent changes you want saved through a power cycle.

Query Commands

Several special characters can be used to query the device about its settings.

^

What is the default value for the setting(s).

?

What is the device’s current value for the setting(s).

*

What is the range of possible values for the setting(s). (The device’s response uses a dash (-) to indicate a con-
tinuous range of values. A pipe (|) separates items in a list of non-continuous values.)

Tag Field Usage
When a query is used in place of a Tag field, the query applies to the entire set of commands available for the particular storage

table indicated by the Storage field of the command. In this case, the SubTag and Data fields should not be used because they

are ignored by the device.
SubTag Field Usage
When a query is used in place of a SubTag field, the query applies only to the subset of commands available that match the Tag

field. In this case, the Data field should not be used because it is ignored by the device.
Data Field Usage
When a query is used in place of the Data field, the query applies only to the specific command identified by the Tag and SubTag

fields.

Advertising