zpl.tools
Host status and queries

^LF - List Font Links

Prints a label listing the printer's font links.

^LF prints the printer's font-link table on a label of its own. It asks what ^HT asks, but answers on media rather than over the link, so it adds a page.

Syntax

^LF

Support

Supportedparsed: full · state: full · rendered: full

Every documented parameter renders the same output Labelary produces.

Prints its own label rather than an answer to the host, unlike ^HT. The renderer prints it as the page after the format that carries the command, wherever in the format the command sits, and counts it in X-Total-Count. Labelary links no fonts, so the page is the heading LIST OF FONT LINKS over an empty double-ruled box, unchanged by ^CW, ^FL and ~DY alike. A second ^LF in one format prints one page; each format carrying an ^LF prints its own page; ^PQ replicates the label alone; and an ^LF sent between formats prints nothing. Only the label width reaches the layout, setting how wide the box is ruled. A ^PW ahead of the ^LF centers the page in the print window and cuts the rest away. A ^POI ahead of it turns the page over. Either one after the ^LF leaves the page alone (measured 2026-08-16). Only ^LF is a command; ~LF prints nothing, and text written after ^LF is discarded. — not pinned by a test

Labelary renders this command.

Parameters

^LF takes no arguments.

Behavior

The command has no parameters. Text written after it is discarded, and ~LF prints nothing.

The page comes after the format. Measured against Labelary on 2026-08-16:

  • ^XA^FO50,50^A0N,40,40^FDhi^FS^LF^XZ returns X-Total-Count: 2, the label first. An ^LF ahead of the field keeps that order.
  • ^XA^LF^XZ returns the listing as its only page.
  • A second ^LF prints one page. Each format carrying an ^LF prints its own, ^PQ replicates the label alone, and an ^LF between formats prints none.

Labelary links no fonts, so the page is the heading LIST OF FONT LINKS inside a double-ruled box with nothing beneath it. A ^CW font alias, an ^FL font link and a ~DY font download all leave it unchanged. Only the label width reaches the layout, setting how wide the box is ruled. A ^PW ahead of the ^LF centers the page in the window and cuts the rest away; a ^POI ahead of it turns the page over. Either one after the ^LF leaves the page alone.

Known issues

Tested behavior

Differences from the specification

Labelary against the ZPL II guide

Where Labelary — our compatibility target — behaves differently from the printed specification.

  • Labelary prints the font-link label as a page of its own, after the format: ^XA^FO50,50^A0N,40,40^FDhi^FS^LF^XZ returns X-Total-Count: 2, the label first and the page headed LIST OF FONT LINKS second, and ^XA^LF^XZ alone returns that page as its only one (measured 2026-08-16). The guide gives no page count. What the page holds is Labelary's reading too: a printer names the fonts it has linked, while Labelary links none, so the box under the heading is empty and the Soli Deo gloria. line the other listings close with has no row to ride. The renderer follows Labelary on all of it. — not pinned by a test

Example

A label followed by a font-link listing.

^XA
^FO50,50^A0N,40,40^FDFont link list follows^FS
^LF
^XZ

Open in viewer