What ^FM does
^FM sets a list of x,y origins used with ^DF/^XF templates so that recalled fields drop into predefined positions. It is primarily used for form-based, database-driven printing.
Syntax
^FMx1,y1,x2,y2,...Parameters
| Parameter | Description | Values | Default |
|---|---|---|---|
x1,y1 | First field origin in dots | — | — |
x2,y2 | Second field origin, and so on | — | — |
Example
^XA
^FM50,50,50,120
^FO0,0^A0N,30,30^FN1^FS
^XZPaste this into the free ZPL viewer to see it render, or convert it to PDF.
Notes & tips
- Used with stored formats (^DF/^XF).
- Provide origin pairs in field order.
Related commands
See the full ZPL command reference for all 92 documented commands.
