Specifications

43
Command Reference
Print Related Commands
03/05/2009 TTPM2™ Installation and Programming Manual P1003645-001
Print Related Commands
Introduction
!F is the general command for formatting the ticket print.
!F<type> <data>
The parameters are used as follows:
Text Printing
The parameters are used as follows:
!F Indicates that this is the start of a print field definition
<type> Specifies the type of the field
T = Text
G = Graphics
M = Ticket cancellation definitions (See Canceling a Ticket on page 49)
C = Bar code
<data> Depends on the type of field specified. See the following pages.
!F T Format text for printing
Example •
!F T <orientation> <xpos> <ypos> 1 <height> <width> <font> <"text">
!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 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 in
normal, and 8.5 pixels/mm on the Y-axis for high resolution, see
command !X.
<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.
a
a. Introduced in firmware version 3.2