[ESC+KD] 40 x 40 dots Kanji in Horizontal Line with 1-byte Character

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

Hexadecimal code

ESC <1B>16
KD <4B>16<44>16

Parameter

an...n

Initial value

Nil

Valid range and term of command

When the power switch is OFF The set parameter is not maintained.
Valid range within items The set parameter becomes invalid.
Valid range between items The set parameter becomes invalid.

Function

Specifies 40 x 40 (width x height) dots horizontal written kanji character print and W20 x H40 dots half size character in horizontal line.

Format

<KD>an...n

  • Parameter

    a [Chinese selection mode]

    = H: HEX character

    = B: Binary code

    = I: HEX character letters, smoothing function

    = C: Binary code, smoothing function

    = J: HEX character letters, highlight function

    = D: Binary code, highlight function

    = K: HEX character letters, smoothing and highlight function

    = E: Binary character letters, smoothing and highlight function

    n [Data] = For the character code, refer to [ESC+KC] Kanji Code.

Coding example

Shift JIS HEX code characters, Data: 株式会社サト-


<A>
<KC>1
<V>100<H>200<P>2<L>0305
<KD>H8A948EAE89EF8ED0BBC4B0
<Q>2
<Z>
                    

Supplementary Explanation

  1. HEX characters = Kanji Code 4bytes ASCII / 1 Kanji character (Ex.Shift JIS code)
  2. Binary code = kanji Code 2bytes / 1 Kanji character (Ex.Shift JIS code)
  3. Smoothing function validity range = Horizontal/vertical valid range: factor 3 to 12
  4. Highlighting function validity range = Horizontal/vertical valid range: factor 1 to 5
  5. Both UTF-8 and UTF-16 encodings are supported.
    Characters are encoded as surrogate pairs in UTF-16, and as a 4 byte code in UTF-8. Some encoding processes use CESU-8, which converts a surrogate pair to UTF-8.

Note

  1. With the highlighting function the character width enlarges proportional with the expansion factor.
  2. Using the highlighting function, in some cases, depending on the type of font, characters become squeezed.
  3. For the half size character (one byte character code), printing will be performed in W20 x H40 dots.
  4. For the full size character (two byte character code), printing will be performed in W40 x H40 dots.
  5. This command is not available for JIS code print data.
  6. When the Kanji mode setting is [Japan, Compatible Kanji] or [China, Simplified Chinese (GB18030)] or [China, Traditional Chinese (BIG5)] or [Korean (KSX1001)], it will be a command error.
    However, it prints blank instead of command error in FX3-LX, CT4-LX/HC4-LX.

Valid Command

Print position

<V>

<H>

Modification

<P>

<L>

<%>

<&>

</>

<0>

<WD>

<PZ>