Microsoft KB Archive/75957

= Mac Form: Changing Font on Printed Form =

Article ID: 75957

Article Last Modified on 2/27/2007

-

APPLIES TO


 * Microsoft Mail for AppleTalk Networks 2.0
 * Microsoft Mail for AppleTalk Networks 2.0a
 * Microsoft Mail for AppleTalk Networks 2.0b
 * Microsoft Mail for Appletalk Networks 3.0

-



This article was previously published under Q75957



SUMMARY
The Form Designer for Microsoft Mail can create custom forms for use on a Mail server. Included in the form is a description of the printed form. This description assumes some defaults that can be changed only with special scripts.



MORE INFORMATION
The following global font variables can be modified on the print screen:

laserLabelFont

laserFieldFont

imageLabelFont

imageFieldFont

NOTE: This information relies on System 6.0.x font ID numbers and may not work correctly with System 7.0. Make the form and install it using System 6.0.x only. Once it is installed, it doesn't matter if System 6.0.x or 7.0 users uses it, just as long as it was created and installed with System 6.0.x.

To specify fonts for the print description, you must access the card script. The only scripts that are used in a form when it is compiled are &quot;on compile&quot; scripts. Put new values in the global font variables listed above to override the defaults. To modify the scripts, do the following:

 Go to the printed form card. Bring up the message box (press COMMAND+M). Type the following, then press RETURN:

set userLevel to 5

 Open the card script (press COMMAND+OPTION+C).  Add a script that looks like this: on compile                        <- Handler for the compile message global laserFieldFont          <- Declare the global put 5513 into laserFieldFont   <- Put in new value (see below) end compile                       <- End of the compile message 

The font ID numbers (5513 in example), as found in the FONT resource of the System file, will vary from Macintosh to Macintosh. The font ID numbers from the System of the Macintosh the form is compiled and installed from are changed to font names during installation.

Additional query words: 2.00 2.00a 2.00b 3.00

Keywords: KB75957

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.