– 41 –
PAGE MODE
x1x2x3x4
: Print start position in the X direction
y1y2y3y4
: Print start position in the Y direction
BMP file data : Command accepts BMP non-compressed mono-
chrome graphic file as binary file.
Note :
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)
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
Type of file
Always “BM”. Error for
other letter
4 byte
bf Size
File Size
Ignored
2 byte
bf Received
1 Reserved
Ignored
2 byte
bf Received
2 Reserved
Ignored
4 byte
bf off bits
Off set byte for Bit Map data
Read Bit Map data from off-
set
BIT MAP INFO HEADER (Total 40 byte or more)
4 byte bi Size
Size of Bit Map Info Header
Used as size of Bit Map
Info Header
4 byte
bi Width
Width of Bit Map
Used as width of graphic.
4 byte
bi Height
Width of Bit Map
Used as height of graphic.
2 byte
bi Planes
Number of Planes(Always 1)
Always “1”. Error for other
number
2 byte
bi Bit
Count Number of bit per pixel
Always “1”(Monochrome).
Error for other number
4 byte
Type of compression
Always “0”. Error for other
number
4 byte
bi Size Image
Size of image
Ignored
4 byte
bi X Pels Per Meter Horizontal resolution
Ignored
4 byte
bi Y Pels Per Meter Vertical resolution
Ignored
4 byte
bi Cir Used
Number of color index
Ignored
4 byte
bi Cir Important Number of important color index
Ignored
4 byte
bi Unknown Unknown
Ignored
Summary of Contents for TSP400 Series
Page 1: ...Thermal Printer TSP400 Series TUP400 Programmer s Manual...
Page 2: ......
Page 103: ...100 Page Mode Character type Small size or standard...
Page 104: ...101 Page Mode Character type Boldface...
Page 105: ...102 Page Mode International Character Set...
Page 106: ...103 Line Mode...
Page 107: ...104 Line Mode Character table Normal...
Page 108: ...105 Line Mode Character table katakana...
Page 109: ...106 Line Mode Character table IBM...
Page 110: ...107 Line Mode International Character Set...
Page 135: ......