323
[ESC+GM] BMP File Print
ESC GM ParameterHexadecimal code
<1B>
16
<47>
16
<4D>
16
aaaaa,n...n
Initial value Nil
When the power is OFF The set parameter is not maintained.
Valid range within items The set parameter becomes invalid.
Valid range and term of
command
Valid range between items The set parameter becomes invalid.
[Function]
Specifying the print of BMP file created by such as Image editing application.
[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]
• 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).
• When [Total bytes of BMP file] is not matching the transfer data, this may become the cause of
malfunction.
• Total bytes are the file size displayed at [Property] and such.
• 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.
• Rotation <%> and Enlargement <L> are available.
• Enlargement <L> should be placed just before this command.
• When using rotation <%> and enlargement <L> commands at the same time, specify <%>
command before <L>.
Parent topic Graphic Command