Bmp File, Store - SATO /gt Series Programmer's Reference Manual

E+ programming reference
Hide thumbs Also See for /gt Series:
Table of Contents

Advertisement

Unit 5: Optional Command Codes

BMP FILE, STORE

FUNCTION
To store for printing a graphic file in a BMP format in the optional Expanded Memory.
FORMAT
<ESC>GTaaa,bbbbb,nn...n
Place within its own data stream specifying the placement of the graphic.
EXAMPLE
<ESC>A
<ESC>CC1<ESC>GT001, 12345, nn...n
<ESC>Q1<ESC>Z
OUTPUT
There is no printer output as a result of this command.
NOTES
This command requires the Expanded Memory Option. See your SATO
representative for details.
Data must be sent in binary format.
The Memory Area Select Command <ESC>CCa must be sent before this command.
The first 62 bytes of the stored file is used for the header and the remainder is the
BMP image data.
The graphic will not be printed correctly if the specified size does not match the actual
graphic size.
Only black and white non-compressed BMP files can be stored. Color BMP files will
cause an error.
If you try to store an image in a memory area that already contains data, an error will
occur.
SATO E+ Programming Reference
aaa
= Storage number (001 to 999)
bbbbb
= Size of BMP file in bytes
nn..n+
= Data
PN 9001149A
Page 5-17

Advertisement

Table of Contents
loading

Table of Contents