Print to a Printer

Use an installed TFPrint executable and a standalone layout with its data available to the runtime account. Replace C:\sample.tff with your layout path (use a Linux path on Linux). See TFPrint setup and executable names.

Print the form to the default printer:

tfprint -F "C:\sample.tff"

This example uses data configured in the layout and the operating system's default printer type. See Windows printer output for explicit WIN32 output and Linux CUPS output for a named queue. On Linux, omitting both -OT and -O uses the default printer path; an explicit -OT CUPS requires a queue name. See Output target for conditions and errors.

Check the command diagnostics and exit status, then check the printer queue and printed output. This command does not create a PDF file.

Search documentation

Search in
More scopes
Additional scopes

All contents