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

Скачать
Страница из 244
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 139.)
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 123.)
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 185.
v
ASCII characters 0 through 31 are reserved for EIA-232 functions and
can not be defined.
v
See Appendix F, “Proportional fonts,” on page 189 for suggestions about
how to implement proportional fonts.
Limitations:
The memory required for proportional fonts is much greater than the
memory that was required for user-defined fonts. Therefore, when code
page 1 (or 3) is set up as proportional, code page 2 (or 4) is not valid.
You can not set up code page 2 or code page 4 as a proportional font.
To download the font:
1. Store the code page matrix as an MCT value. Use the command X'1B
4D x 55 wb' where:
x
X'02' for thermal code page 1, X'17' for thermal code page 3
wb
The number of bytes, which is also 1⁄8 the number of dots, in
the width of the widest character. The valid range is 2≤wb≤4.
2. Erase the existing character set using the command X'1B 23 04'.
3. Use the Proportional Font command to download the font.
Example:
To define an A to code page 1 when wb is set to 02, enter the following:
X'1B260141410C16'
X'0F001F803FC070E06060C030C030C030C030C030C030'
X'C030FFF0FFF0C030C030C030C030C030C030C030'
X'C030000000000000000000000000000000000000000000'
This command specifies a character width of 12 dots (X'0C') and a
character height of 22 dots (X'16'). Following the width and height are 64
Updated April 2, 2009
Appendix D. EIA-232 programming information
121