[Default]
[Reference]
[Example]
$1C $B1
Printers: KPM300
VeriPrint
(only for models with BARCODE reader),
TK300II
VeriPrint
(only for models with BARCODE reader)
[Name]
Get barcode reader status.
[Format] ASCII
FS
{
}
n
Hex
1C
B1
n
Decimal
28
177
n
[Range] $30
≤
n
≤
$34
[Description]
Reads the barcode reader parameters in base of n value :
n = $30
STATUS
:
Reads the barcode reader status. It returns :
• NACK ($15) character if the command is not successful
• $FE character if the barcode reader is not working or it not installed on the printer.
• ACK ($06) character, followed by a status byte; the status to be transmitted is shown in
the table below:
BIT VALUE
FUNCTION
0, 1, 2
$00 TRIGGER
ON/OFF
$01
GOOD READ OFF
$02 CONTINUOUS
TRIGGER
OFF
$03
CONTINUOUS / AUTO POWER ON
$04 FLASH
$05 TESTING
$06
FLASH / AUTO POWER ON
$07 RESERVED
3
0 PE
Off
1 PE
On
4
0 TG
Off
1 TG
On
5
0 Decode
OK
1 Decode
error
6, 7
-
RESERVED
The execution of this command clears the ouput buffer of barcode reader; if a scansion
is executed without data acquisition by the host, all data read are deleted.
n = $31
BYTES ON RECEPTION BUFFER:
Indicates the number of bytes sent from barcode reader. It returns :
• NACK ($15) character if the command is not successful or the buffer is empty
• $FE character if the barcode reader is not working or it not installed on the printer.
• ACK ($06) character, followed by one byte that Indicates the number of bytes send from
barcode reader.
ESC/POS™ Emulation
40
Command Reference
Summary of Contents for KPM300
Page 72: ...Blank page ESC POS Emulation 72 Command Reference ...
Page 127: ......