[ESC+VB] Barcode Checker
Hexadecimal code
| ESC | <1B>16 |
|---|---|
| VB | <56>16<42>16 |
Parameter
a,b,c,d,e,f,g
Initial value
Nil
Valid range and term of command
| When the power switch is OFF | The set parameter is maintained. |
| Valid range within items | The set parameter becomes valid until next specification is made. |
| Valid range between items | The set parameter becomes valid until next specification is made. |
Function
A control command for barcode checker.
Format
<VB>a,b,c,d,e,f,g
- Parameter
a "Mode"
= 0: Disabled
= 1: Readable
= 2: Comparison
* When "Disabled" is specified, all the subsequent parameters will not function. *1
b "Start Position"
= 10-20000 dots (203 dpi)
= 15-18000 dots (305 dpi)
= 30-9600 dots (609 dpi)
c "VOID print"
= 0: Disabled
= 1: Enabled
d "Retry Count"
= 0-10
* When the "VOID print" is set to "Disabled", this parameter will not function. *1
e "Host Notification"
= 0: Disabled
= 1: Enabled
f "Specify the number of barcode"
= 0: Command (the number of barcode command)
= 1: Setting
* The parameter functions only when the "mode" is set "Readable". *1
g "the number of barcode"
= 1-10: the number of barcode to read
* When "Specify the number of barcode" is set to "Command", this parameter will not function. *1
Coding Example
- Mode: Disabled (all the subsequent parameters are omitted.)
<A> <VB>0,,,,,, <Z> - Mode: Readable, Start Position: 30, VOID print: Disabled, (Retry Count: omitted), Host
Notification: Disabled, Specify the number of barcode: Command, (the number of barcode: omitted)
<A> <VB>1,30,0,,0,0, <Z> - Mode: Readable, Start Position: 30, VOID print: Enabled, Retry Count: 3, Host Notification:
Disable, Specify the number of barcode: Setting, the number of barcode: 2
<A> <VB>1,30,1,3,0,1,2 <Z> - Mode: Comparison, Start Position: 30, VOID print: Enabled, Retry Count: 3, Host Notification:
Disabled, (Specify the number of barcode: omitted), (the number of barcode: omitted)
<A> <VB>2,30,1,3,0,, <Z>
Supplemental explanation
-
Each parameter can be omitted.
- When the non-functional parameter is specified, it will be set although it will not function.
- When RFID function is enabled, this command returns a command error.
- This command is not allowed to be used with other commands (it cannot be used in the printing item).