SATO SG112 ex Programming Reference Manual page 351

Hide thumbs Also See for SG112 ex:
Table of Contents

Advertisement

[ESC+GT] BMP File Registration
Hexadecimal code
Initial value
Valid range and term of
command
[Function]
Specifying the registration of BMP file created by such as Image editing application.
[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>
<Z>
[Supplementary Explanation]
-
Specify slot number registered with Card Slot for Use <CC> prior to this command <GT> by all
means.
-
Data is sent in binary data (Outputs 8-dot, one byte in binary all at once). In this case, file size of
BMP file becomes the total bytes, and BMP file data becomes data.
-
In BMP file, 62 bytes of data is for the header part and the rest of data is for the image 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.
-
Specify Card Slot for Use <CC> prior to this command when using.
-
The error occurs when specifying unused or specifying the slot which this product is allocated.
ESC
<1B>
16
None
When the power is OFF
Valid range within items
Valid range between items
16
GT
<47>
<54>
16
16
The set parameter is not maintained.
The set parameter becomes invalid.
The set parameter becomes invalid.
350
Parameter
aaa,bbbbb,n...n

Advertisement

Table of Contents
loading

Table of Contents