Справочник Пользователя для IBM TI5

Скачать
Страница из 210
Defined as:
X'1B26014848 C0C0C0C0C0C0C0C0C0C0C0C0C0C0FFC0FFC0F
C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0'
The above statement defines character X'48' as an ’H’.
Note: The number of data bytes = 2 × dot height (20) = 40 bytes.
Proportional Font
RS-232 Syntax:
ESC & s n m data or X'1B;26;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 134.)
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 EPROM Sector” on
page 121.)
v There is no way to redefine one character only. You must redefine a
whole code page.
v If the parameter sn, or 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 “Status Byte 2” on page 161.
updated March 18, 2002
114
SureMark DBCS User’s Guide