[DC2+DU] Device Information Acquisition without Login
HEX code
| DC2 | <12>16 |
|---|---|
| DU |
<44>16<55>16 |
Parameter
None
Default value
None
Valid range and term of command
| When turning off the power switch | - |
| Valid range | - |
| Printer operation in progress | The command can be received even during the printer operation. |
| Media sensor information acquisition in progress | Commands cannot be received during sensor information acquisition. ([NAK] return) |
| Error | Commands can be received even if an error is occurring. |
| Unauthentication | Commands can be received even if authentication is not in progress using the [DC2+PS] command. |
Valid range and term of command [CL4-SXR/CL6-SXR]
| When turning off the power switch | - |
| Valid range | - |
| Printer operation in progress | The command can be received even during printing operation. |
| Error | The command can be received even if an error is occurring. |
| When the settings screen is displayed | The command can be received when the settings screen is displayed. |
| Unauthentication | Commands can be received even if authentication is not in progress using the [DC2+PS] command. |
Function
The common command [DC2] command returns the printer device information even when not logged in.
The device information includes the model name, printer serial number, and USB serial number.
Format
[DC2]DU
Parameter
None
Return data format (normal)
[STX]a…a,b…b:c…c[CR][LF](d…d:e…e[CR][LF]) … [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 device information name up to before [ETX] |
| b(d) |
Device information name * Text format |
Refer to the printer device information list |
| c(e) |
Device information data * Text format |
Refer to the printer device information list |
Data Example)
[STX]60,MODEL:CL4NX-J Plus 203dpi[CR][LF]PR_SN:XX999999[CR][LF]USB_SN:YYYY0000[CR][LF][ETX]
Printer device information list
| No. | Description | Device information name | Device information data |
|---|---|---|---|
| 1 | Model name | MODEL |
M…M M: Model name |
| 2 | Printer Serial | PR_SN |
XXXXXXXX X: Alphanumeric |
| 3 | USB Serial | USB_SN |
XXXXXXXX X: Alphanumeric |
Return data format (command error)
[NAK]<15>16