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
 

Replaced by script
Recent news

Understanding the profitability of projects is often a difficult and cumbersome process, especially if there is a lack of visibility around all the project costs. Getting that visibility of all ...

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

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

© Equisys Ltd
All rights reserved

© Equisys Ltd    All rights reserved    Contact    Privacy policy    Cookies