[DC2+DH] File Deletion
HEX code
| DC2 | <12>16 |
|---|---|
| DH |
<44>16<48>16 |
Parameter
aa,b,c(,ddddd,eeeee)
Default Value
None
Valid range and term of command
| When turning off the power switch | - |
| Valid range | - |
| Printer Operating | Commands are not accepted during printer operation. ([NAK] return) |
| Error | Commands can be received even if an error is occurring. |
| Unauthentication | Commands cannot be received even if authentication is not in progress using the [DC2+PS] command. ([NAK] return) |
Command Valid Range and Period [CL4-SXR/CL6-SXR]
| When turning off the power switch | - |
| Valid range | - |
| Printing in Progress | Commands are not accepted while printing is in progress. ([NAK] return) |
| 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 cannot be received even if authentication is not in progress using the [DC2+PS] command. ([NAK] return) |
Function
This command is used to delete the registered files.
Format
[DC2]DH,aa,b,c(,ddddd,eeeee)
Parameters: CL4NX/CL6NX series
| Symbol | Parameter name | Valid range | Acquisition method |
|---|---|---|---|
| a | Language | SB: SBPL settings SZ: SZPL settings SI: SIPL settings SD: SDPL settings ST: STCL settings |
Two characters fixed acquisition |
| b | File type | 0: Font/logo 1: True Type font |
One character fixed acquisition |
| c | Deletion type | 0: File specification 1: All files |
One character fixed acquisition |
| d | File name size (byte) | 1 to 255 | Acquired up to "," |
| e |
File name * Only the file name is specified |
Data including the following character groups
|
Acquired up to the file name size |
Parameter: CL4-SXR/CL6-SXR
| Symbol | Parameter name | Valid range | Acquisition method |
|---|---|---|---|
| a | Language |
SB: SBPL settings SZ: SZPL settings SI: SIPL settings SD: SDPL settings |
Two characters fixed acquisition |
| b | File type | 0: Font/logo 1: True Type font |
One character fixed acquisition |
| c | Deletion type | 0: File specification 1: All files |
One character fixed acquisition |
| d | File name size (byte) | 1 to 255 | Acquired up to "," |
| e |
File name * Only the file name is specified |
Data including the following character groups
|
Acquired up to the file name size |
Parameter: PW2 series
| Symbol | Parameter name | Valid range | Acquisition method |
|---|---|---|---|
| a | Language | SB: SBPL settings SZ: SZPL settings*1 SI: SIPL settings*1 SD: SDPL settings*1 ST: STCL settings*1 SP: SPOS settings (reserve) SC: SCPL settings (reserve)*1 |
Two characters fixed acquisition |
| b | File type | 0: Font/logo 1: True Type font |
One character fixed acquisition |
| c | Deletion type | 0: File specification 1: All files |
One character fixed acquisition |
| d | File name size (byte) | 1 to 255 | Acquired up to "," |
| e |
File name * Only the file name is specified |
Data including the following character groups
|
Acquired up to the file name size |
- PW208NX/PW208mNX only
Parameter: PW4NX
| Symbol | Parameter name | Valid range | Acquisition method |
|---|---|---|---|
| a | Language | SB: SBPL settings SZ: SZPL settings SI: SIPL settings SD: SDPL settings |
Two characters fixed acquisition |
| b | File type | 0: Font/logo 1: True Type font |
One character fixed acquisition |
| c | Deletion type | 0: File specification 1: All files |
One character fixed acquisition |
| d | File name size (byte) | 1 to 255 | Acquired up to "," |
| e |
File name * Only the file name is specified |
Data including the following character groups
|
Acquired up to the file name size |
Parameters: FX3-LX series
| Symbol | Parameter name | Valid range | Acquisition method |
|---|---|---|---|
| a | Language | SB: SBPL settings*1 SZ: SZPL settings*1 SI: SIPL settings*1 SD: SDPL settings*1 ST: STCL settings*1 |
Two characters fixed acquisition |
| b | File type | 0: Font/logo*1 1: True Type font*1 |
One character fixed acquisition |
| c | Deletion type | 0: File specification 1: All files |
One character fixed acquisition |
| d | File name size (byte) | 1 to 255 | Acquired up to "," |
| e |
File name * Only the file name is specified |
Data including the following character groups
|
Acquired up to the file name size |
- FX3-LX (International) only
Parameters: CT4-LX/HC4-LX series
| Symbol | Parameter name | Valid range | Acquisition method |
|---|---|---|---|
| a | Language | SB: SBPL settings SZ: SZPL settings SI: SIPL settings SD: SDPL settings ST: STCL settings |
Two characters fixed acquisition |
| b | File type | 0: Font/logo 1: True Type font |
One character fixed acquisition |
| c | Deletion type | 0: File specification 1: All files |
One character fixed acquisition |
| d | File name size (byte) | 1 to 255 | Acquired up to "," |
| e |
File name * Only the file name is specified |
Data including the following character groups
|
Acquired up to the file name size |
Parameters: LR4NX-FA
| Symbol | Parameter name | Valid range | Acquisition method |
|---|---|---|---|
| a | Language | SB: SBPL settings SZ: SZPL settings SI: SIPL settings SD: SDPL settings |
Two characters fixed acquisition |
| b | File type | 0: Font/logo 1: True Type font |
One character fixed acquisition |
| c | Deletion type | 0: File specification 1: All files |
One character fixed acquisition |
| d | File name size (byte) | 1 to 255 | Acquired up to "," |
| e |
File name * Only the file name is specified |
Data including the following character groups
|
Acquired up to the file name size |
Parameters: S84NX/S86NX
| Symbol | Parameter name | Valid range | Acquisition method |
|---|---|---|---|
| a | Language | SB: SBPL settings SZ: SZPL settings SI: SIPL settings SD: SDPL settings |
Two characters fixed acquisition |
| b | File type | 0: Font/logo 1: True Type font |
One character fixed acquisition |
| c | Deletion type | 0: File specification 1: All files |
One character fixed acquisition |
| d | File name size (byte) | 1 to 255 | Acquired up to "," |
| e |
File name * Only the file name is specified |
Data including the following character groups
|
Acquired up to the file name size |
Return data format (normal)
[ACK]<06>16
Return data format (when a command error occurs)
[NAK]<15>16
Exception processing
| Parameter name | Exception condition: A value outside the range is specified |
Exception condition: The specified size and received size are different |
|---|---|---|
| Language | Command error | Command error |
| File type | Command error | Command error |
| Deletion type | Command error | 0: Command error 1: Invalid receive data (*1) |
| File name size | Command error | Command error |
| File name | Command error | - |
- Note that all data will be deleted even though subsequent data is not appropriate when specifying deleting all the files.
| Terminology | Description |
|---|---|
| Command error | The file is not deleted. The data received after a command error is determined is not considered as a parameter of this command. |
| Invalid receive data | The subsequent data is ignored. |
Supplemental explanation
- Don't specify the parameter d and e when the parameter c specifies 1 (delete all files). When specified, the parameter d and e are not handled as data of this command.
- When a file name is bigger than the size of the file name and still the file name is valid, it operates and finishes normally.
- When you specify SZPL for "Parameter a: Language", "0: Font/logo", "1: TrueType font" settings of "Parameter b: file type" will be ignored. Beware that all files registered with SZPL will be deleted if you specify "1: All files" in "Parameter c: Deletion type".