555
[DC2+PG] Printer status information acquisition
Command DC2 PG Parameter
Hexadecimal code <12>
16
<50>
16
<47>
16
None
Initial Value None
When turning off the power -
Valid range -
Printer operation in
progress
The command can be received even during the printer
operation.
When acquiring label
sensor information
Commands are not accepted while acquiring sensor
information. ([NAK] reply)
Valid range and term of
command
Error The command can be received even if an error is
occurring.
[Function]
This command returns the printer status.
[Format]
DC2 (12H) + PG
[Return data format (normal)]
[STX]a...a,b...bc,d...de,...[ETX] * There is no ", (comma)" before ETX
Symbol Parameter name Valid range
a Total number of data byte
* This is the total number of bytes after parameter
b. The delimiting comma between parameters a
and b, and the ETX are not included.
Data size from the first identifier until before
[ETX]
b(d) Printer status information name
* Text format
Refer to the printer status information data
list.
c(e) Printer status information data
* Text format
Refer to the printer status information data
list.
Data Example)
[STX]32,PS0,RS0,RE0,PE0,EN00,BT0,Q000000[ETX]
[Printer status information data list]
No. Description Printer status
information name
Printer status information data
1 Printer status PS 0: Standby (waiting for receiving data)
1: Waiting for dispensing
2: Analyzing
3: Printing
4: Offline
5: Error