Star Micronics TSP400 Series Programmer's Manual page 44

Star micronics tsp400: reference guide
Hide thumbs Also See for TSP400 Series:
Table of Contents

Advertisement

x1x2x3x4
y1y2y3y4
BMP file data : Command accepts BMP non-compressed mono-
Note :
Contents of BMP file
Please refer the following as contents of standard BMP graphic file. Pleas note
that only some of data apply to the Printer. All other data will be ignored. The
printer can accept non-compressed, monochrome BMP file only.
BIT MAP FILE HEADER (Total 14 byte)
2 byte
bf Type
4 byte
bf Size
2 byte
bf Received
2 byte
bf Received
4 byte
bf off bits
BIT MAP INFO HEADER (Total 40 byte or more)
4 byte bi Size
4 byte
bi Width
4 byte
bi Height
2 byte
bi Planes
2 byte
bi Bit
4 byte
4 byte
bi Size Image
4 byte
bi X Pels Per Meter Horizontal resolution
4 byte
bi Y Pels Per Meter Vertical resolution
4 byte
bi Cir Used
4 byte
bi Cir Important Number of important color index
4 byte
bi Unknown Unknown
: Print start position in the X direction
: Print start position in the Y direction
chrome graphic file as binary file.
Printer will result in an error on the following condi-
tions:
a) Error in command format structure
b) If either start position or image data is located out of
print area.
c) If a BMP file does not meet command specification.
(Printer can only accept non-compressed, mono-
chrome BMP file)
Type of file
File Size
1 Reserved
2 Reserved
Off set byte for Bit Map data
Size of Bit Map Info Header
Width of Bit Map
Width of Bit Map
Number of Planes(Always 1)
Count Number of bit per pixel
Type of compression
Size of image
Number of color index
– 41 –
Always "BM". Error for
other letter
Ignored
Ignored
Ignored
Read Bit Map data from off-
set
Used as size of Bit Map
Info Header
Used as width of graphic.
Used as height of graphic.
Always "1". Error for other
number
Always "1"(Monochrome).
Error for other number
Always "0". Error for other
number
Ignored
Ignored
Ignored
Ignored
Ignored
Ignored

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tup400 series

Table of Contents