[DC2+DG] File Information Acquisition

CL4NX CL6NX CL4NX-J CL6NX-J PW208/PW208m PW208NX/PW208mNX FX3-LX CT4-LX/HC4-LX PW4NX LR4NX-FA S84NX/S86NX CL4-SXR CL6-SXR

HEX code

DC2 <12>16
DG

<44>16<47>16

Parameter

,aa,b,cccccc,ddddddd

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 returns the specified file data information.

Format

[DC2]DG,aa,b,cccccc,ddddddd

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 File name size (byte) 1 to 255 Acquired up to ","
d

File name

* Only the file name is specified

Data including the following character groups

  • Alphabet
  • Numeral
  • Hyphen ("-")
  • Underscore ("_")
  • Period (".")
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 File name size (byte) 1 to 255 Acquired up to ","
d

File name

* Only the file name is specified

Data including the following character groups

  • Alphabet
  • Numeral
  • Hyphen ("-")
  • Underscore ("_")
  • Period (".")
  • Slash ("/")
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 File name size (byte) 1 to 255 Acquired up to ","
d

File name

* Only the file name is specified

Data including the following character groups

  • Alphabet
  • Numeral
  • Hyphen ("-")
  • Underscore ("_")
  • Period (".")
Acquired up to the file name size
  1. 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 File name size (byte) 1 to 255 Acquired up to ","
d

File name

* Only the file name is specified

Data including the following character groups

  • Alphabet
  • Numeral
  • Hyphen ("-")
  • Underscore ("_")
  • Period (".")
Acquired up to the file name size

Parameters: FX3-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 File name size (byte) 1 to 255 Acquired up to ","
d

File name

* Only the file name is specified

Data including the following character groups

  • Alphabet
  • Numeral
  • Hyphen ("-")
  • Underscore ("_")
  • Period (".")
Acquired up to the file name size

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 File name size (byte) 1 to 255 Acquired up to ","
d

File name

* Only the file name is specified

Data including the following character groups

  • Alphabet
  • Numeral
  • Hyphen ("-")
  • Underscore ("_")
  • Period (".")
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 File name size (byte) 1 to 255 Acquired up to ","
d

File name

* Only the file name is specified

Data including the following character groups

  • Alphabet
  • Numeral
  • Hyphen ("-")
  • Underscore ("_")
  • Period (".")
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 File name size (byte) 1 to 255 Acquired up to ","
d

File name

* Only the file name is specified

Data including the following character groups

  • Alphabet
  • Numeral
  • Hyphen ("-")
  • Underscore ("_")
  • Period (".")
Acquired up to the file name size

Return data format (normal, data exists)

[STX]a...a,b...b[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]
d File data

Return data format (normal, no data)

[NAK]<15>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 Invalid receive data
File type Command error Command error
File name size Command error Excessively small: Command error, Excessively large: Remaining data standby
File name Command error Excessively small: Remaining data standby, Excessively large: Command error

Terminology Description
Command error The file data is not returned. 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

  1. 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.
  2. When you specify SZPL for "Parameter a: Language", "0: Font/logo", "1: TrueType font" settings of "Parameter b: File type" will be ignored.

Sequence