Table of Contents

.bc Barcode Command

Initiates a barcode read. Returns an error if no barcode is read.

Android iOS .NET
link coming soon link coming soon BarcodeCommand

Parameters

Identifier Values Description
-al on/off perform an alert after a successful barcode read using the current alert parameters from the .al command
-dt on/off Include date time response
-e on/off Use escape character 0x1B to precede , and itself
-n No action, just set the parameters
-p List the current parameter values
-t n Read duration in seconds
-x Reset the parameters to defaults

Parameter detail

-al

perform an alert after a successful barcode read using the current alert parameters from the .al command

TypeEnum
Valueon/off
Rangeon/off
Order In Interpretation2
Default Valueon

-dt

Include date time response

TypeEnum
Valueon/off
Rangeon/off
Order In Interpretation4
Default Valueoff

-e

Use escape character 0x1B to precede , and itself

TypeEnum
Valueon/off
Rangeon/off
Order In Interpretation3
Default Valueon

-n

No action, just set the parameters

TypeSwitch
Value
Range
Order In Interpretation7

-p

List the current parameter values

TypeSwitch
Value
Range
Order In Interpretation6

-t

Read duration in seconds

TypeNumeric
Valuen
Rangen=1..9
Order In Interpretation5
Default Value9

-x

Reset the parameters to defaults

TypeSwitch
Value
Range
Order In Interpretation1

Parameter Interpretation Order

-x, -al, -e, -dt, -t,-p, -n

Parameter Defaults

-al on, -dt off, -e on, -t 9

Response Headers

BC BR CS DT ER ME OK PR

Examples

CommandResponseAction
.bcCS: .bc

BC: ISBN:5884688-6686

OK:

Barcode reads
.bc -e offCS: .bc -e off

BR: ISBN:5884688-6686

OK:

Barcode reads with escape disabled
.bcCS: .bc

ME: No barcode found

ER:006

Barcode fails to read
.bc -p -nCS: .bc -p -n

PR: -al on -dt off -e on -n -p -t 9 -x

OK:

None