zpl.tools
Field Commands

^FT - Field Typeset

Sets field position for typeset text

^FT - Field Typeset

Overview

The ^FT command sets the position for printing typeset (proportional width) text fields, similar to ^FO but designed for proportional fonts.

Syntax

^FTx,y,z

Parameters

  • x = X-axis position in dots (horizontal)
  • y = Y-axis position in dots (vertical)
  • z = Justification (optional)
    • 0 = Left justify (default)
    • 1 = Right justify
    • 2 = Auto

Description

  • Similar to ^FO but optimized for typeset/proportional fonts
  • Used with fonts that have varying character widths
  • Specifies starting position for text field
  • Works with ^A@ (font name) command

Usage Notes

  • Coordinates in dots from label home
  • Used primarily with TrueType and scalable fonts
  • Often paired with ^A@ for named font selection
  • Z parameter controls text alignment

Example

^XA
^FT50,50
^A@N,20,20,E:ARIAL.TTF
^FDTypeset Text^FS
^FT50,100
^A@N,20,20,E:ARIAL.TTF
^FDSecond Line^FS
^XZ

Comparison: ^FO vs ^FT

Feature^FO^FT
Use CaseFixed-width fontsProportional fonts
PositioningMonospacedTrueType/Scalable
AlignmentStandardTypeset
  • ^FO - Field Origin
  • ^A@ - Use Font Name to Call Font
  • ^FD - Field Data
  • ^FS - Field Separator

See Also