[ESC+GT] BMP File Registration

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
GT <47>16<54>16

Parameter

aaa,bbbbb,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 item The set parameter becomes invalid.
Valid range between items The set parameter becomes invalid.

Function

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

Format

<GT>aaa,bbbbb,n...n

  • Parameter

    a [Registration number] = Valid Range: 1 to 999

    b [Total bytes of BMP file] = Valid Range: 1 to 99999

    Specify the file size of BMP file for total bytes.

    n [Data] = BMP file data

    Data is sent as binary data (Outputs 8 bits as one character data all at once).

Coding Example


<A>
<CC>1
<GT>1,12345,<424D00-00>16
<Z>
 

Supplementary Explanation

  1. Data is sent as binary data (Outputs 8 bits as one character data all at once). In this case, file size of BMP file becomes the total bytes, and BMP file data becomes data.
  2. When [Total bytes of BMP file] is not matching the transfer data, this may cause 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 will not be performed due to command error. Also, this command is not valid for BMP compressed file. Make sure that the file extension is set to [BMP] before printing.
  5. Specify Card Slot for use <CC> prior to <GT> command.
  6. The error occurs when unused or the slot which the printer is allocated is specified.

Note

  1. Don't power off while accessing the memory. There is no guarantee of data in media if the power is turned off while accessing the memory.