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,zParameters
- 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
^XZComparison: ^FO vs ^FT
| Feature | ^FO | ^FT |
|---|---|---|
| Use Case | Fixed-width fonts | Proportional fonts |
| Positioning | Monospaced | TrueType/Scalable |
| Alignment | Standard | Typeset |
Related Commands
^FO- Field Origin^A@- Use Font Name to Call Font^FD- Field Data^FS- Field Separator