Equisys technical notes

Technical guidance, explanations and fixes for our products

HOWTO: Using True Type fonts with ZSUBMIT

Print

ZTN1093

ID: ZTN1093

This Zetafax technical note applies to:

  • Zetafax 5.50i and later.

Summary

By default, the ZSUBMIT command %%[FONT] will only allow you to specify a Zetafax font (e.g.: ROMAN12). This document explains how to work around this limitation, and use Windows True Type fonts instead.

More information

The syntax for True Type fonts in ZSUBMIT is as follows:

%%[F O N T: font name, font size, weight/style]

Where 'font name' is the name of the font as it appears in Windows, 'font size' is the size of the font in points, and 'weight/style' is the formatting codes.

The formatting codes are:

bold

I

italics

U

underlined

NOTE: that the spaces between the letters in "F O N T" are significant and should be typed exactly as above.

For example, if a line of text needs to be formatted in bold Arial 8, you would use this syntax:

%%[F O N T: Arial, 8, B]

And bold, italicised, underlined Times New Roman in size 10 can be obtained with this command:

%%[F O N T: Times New Roman, 10, B, I, U]

Note: Some True Type fonts may cause the line spacing to become reduced. This can be remedied by using the ZSUBMIT %%[DOWN: ] command.

References

For additional information on ZSUBMIT, please see the following Zetafax technical note:

ZTN1013-HOWTO Using ZSUBMIT

First Created: 30 November 2000 (ET /DH)

Last updated: 16 December 2005 (RM)

Equisys Logo, Document Management and Expense Management for Business Central
 

Recent news

This article describes the new features and other improvements in the March 2021 update of the Zetadocs Expenses service. Zetadocs Expenses Release ...

It may seem strange, in an article extolling the vision of an automated digital future, to start with a reference to 1975, but that was the year Business Week magazine published an article looking ...