Equisys technical notes

Technical guidance, explanations and fixes for our products

HOWTO: Specify font when rendering text (.txt) files



ID: ZTN1597

This Zetafax technical note applies to:

  • Zetafax Server v2007


When attaching an ASCII text file (.txt) for rendering with the Zetafax Server, a default fixed-width font is chosen for rendering.  In some cases, a variable-width font (such as Arial) may be chosen automatically instead.  If you have a text file that has formatting that takes advantage of the fixed-width nature of text files (such as a text file with tables), this automatic selection of a variable-width font may ruin the layout of your text file.  In order to correct this, insert the embedded addressing tag %%[FONT] into the beginning of your text file.

More information

The %%[FONT] tag can be used with several different font and font sizes.  The format of the tag is:

%%[FONT: myfont]

where myfont is the font required, and is one of " ROMAN10" , " ROMAN12" , " ROMAN20" , " ROMAN5" , " ROMAN6" or " ROMANPS" giving 10cpi, 12cpi, 20cpi, 5cpi and 6cpi fixed space fonts, and proportional spaced font respectively.

This command is used to set the font to be used for the text file. 

Example: %%[Font:ROMAN10]

Please see the reference section for information on how to specify a variable-width TrueType font.


ZTN1093-HOWTO: Using True Type fonts with ZSUBMIT


Last updated: 18/05/07 (PF/PJ)

Equisys Logo, Document Management and Expense Management for Business Central

Replaced by script
Recent news

The sudden rush towards remote working practices in 2020 led many organizations to implement changes to upgrade their document capture processes on Microsoft Dynamics 365 Business Central or ...

Company credit cards are often seen as the most convenient way to incur travel & entertainment expenses, however it can be a very different story when it comes to the administration of these ...

North America
Equisys Inc
30000 Mill Creek Avenue
Suite 335
Alpharetta, GA 30022
(770) 772 7201
Equisys Ltd
91 Southwark Bridge Road
United Kingdom
+44 (0)20 7203 4000

© Equisys Ltd
All rights reserved

© Equisys Ltd    All rights reserved    Contact    Privacy policy    Cookies