
Programming
Command Reference
49
P1003642-001 TTPM3 Installation and Programming Manual 01/06/2009
Text Printing
!F T <orientation> <xpos> <ypos> 1 <height> <width> <font> <"text">
The parameters are used as follows:
!F T
Format text for printing
21 46 20 54 20 n1...n8 Hex
33 70 32 84 32 n1...n8 Decimal
!F Indicates that this is the start of a print field definition
T Indicates text mode
<orientation> Specifies the way in which the text is to be oriented. This can be either
N(orth), E(ast), S(outh) or W(est). This terminology is described in
detail in the examples given in this document. Specific fonts may be
limited to one orientation only, see <font> below.
<xpos> <ypos> Specifies starting position for the text on the ticket. That is, the distance
in pixels from the upper left corner of the printable area to the upper left-
hand pixel of the bounding box of the first character to be printed. Note
that the resolution is 7.52 pixels/mm on the X-axis and 5.7 pixels/mm on
the Y-axis.
<fixed pitch> No. of pixels from the start of one character to the start of the next.
Range 6 to 16. A value below 6 sets the default pitch.
Note • Only used for font 1. Must be set to 1 for all other fonts.
<height>
<width>
Specifies the height and width expansion of characters to be printed. The
height range is 1–16 times the default value. The width range is 1–16 for
fonts 1 and 4, and 1–3 for fonts 2 and 3. See font samples under Syntax
on page 31.
<font> Selects the font (text appearance). Fonts 1, 2, 3, and 4 apply. Font 2 and
3 can only be North oriented. Fonts 1 and 4 can be set to any orientation.
Font 4 is a proportional character font. See font samples under Syntax
on page 31. Font appearance may differ from the font samples if you
have custom firmware in your printer.
Note • The space to the following character is included in the
matrix of the character, and that the pixels are not square at
normal resolution.
<"text"> Text to be printed enclosed in quotes (" ").
Example • Example of a command for text:
!F T N 150 150 1 1 1 1 "Text"↵
Comentários a estes Manuais