IBM 1xR Printer User Manual


 
Note: The number of data bytes=2×dotheight (20) = 40 bytes.
Proportional font
Note: The syntax for the proportional font command is the same command as the
“Download user-defined characters” on page 23 with limitations.
EIA-232 Syntax:
ESC & s n m data or X'1B26;s;n;m;data'
Where:
s The character set being defined
1 User-defined thermal code page 1
3 User-defined thermal code page 3
n The beginning ASCII address of the characters being defined
m The ending ASCII address of the characters being defined
data The height and width of the character, and the matrix pattern for
the data. The number of data bytes is (m−n+1) × (2+wb×32). wb is
defined in the MCT command.
Purpose:
To download and print proportional fonts (True Type fonts) in the thermal
station. Each character in the code page has its own unique width and
height. The matrix must be within the following ranges:
Width 8 width 32
Height
8 width 32
Remarks:
v Proportional and standard fonts may be used on the same line. If both
types of fonts are used on a line, you would probably use proportional
fonts for the description and resident fonts for the amounts.
v For alignment, a command that will allow right and left alignment on
the same line may be used. This will allow the user to align a column
(decimal point) on the right, and still be left-aligned. (See “Align
positions” on page 48).
v Once characters are downloaded to the printer, they remain valid until
you redefine them. This is true even if power to the printer is removed.
v Before the characters are defined, the sector of the flash EPROM which
stores this data must be erased. (See “Erase flash sector” on page 30).
v You cannot redefine one character only. You must redefine a whole code
page.
v If the parameter s, n,orm is out of range, the command is discarded
and the remaining data is processed as print data.
v This command should be sent only when the data buffer is empty. See
the description of bit 6 in “Erase flash sector” on page 30.
v ASCII characters 0 through 31 are reserved for EIA-232 functions and
cannot be defined.
v See “Proportional fonts” on page 97 for suggestions about how to
implement proportional fonts.
Chapter 2. Communication parameters 25
|