[ESC+GM] BMP File Print

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
GM <47>16<4D>16

Parameter

aaaaa,n...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

Specifying the print or BMP file created by such as Paint Brush of Windows.

Format

<GM>aaaaa,n...n

  • Parameter

    a [Total bytes of BMP file]

    n [Data]

Coding Example


<A>
<V>50<H>50<GM>04500,<424D00-00>16
<Q>2
<Z>
                    

Supplementary Explanation

  1. Data is sent in binary data (Outputs 8-dot, one byte in binary all at once) (BMP file size = Total byte size, BMP file data = data).
  2. When [Total bytes of BMP file] is not matching the transfer data, this may become the cause of malfunction.
  3. Total bytes are the file size displayed at [Property] and such.
  4. BMP file is available in Black/White mode only. In color mode, printing is not guaranteed. Also, this command is not valid for BMP compressed file. Make sure that the file extension is set to [BMP] before printing.
  5. Rotation <%> and Enlargement <L> are available.
  6. Enlarge command <L> should be placed just before this command.
  7. When using rotation <%> and enlargement <L> commands at the same time, specify <%> command before <L>.