Print SAP Forms using TrueType Fonts

1. Execute transaction code SE73, SAPscript font maintenance. Choose Install TrueType Font.

2. Enter a font name that starts with Z (for example, ZMYFONT). The system uses this name for the TrueType font. Specify the attributes of the font (normal, bold, italic, or bold and italic). To do this, mark the respective fields:

• normal: no field
• bold: field Font attribute BOLD
• italic: field Font attribute ITALIC
• bold and italic: fields BOLD and ITALIC

To use a font with all attributes, you therefore need four font files (z.B. myfont.ttf , myfonti.ttf , myfontb.ttf , myfontbi.ttf ).

3. Enter the path and file name of the font file and choose Execute.

4. Specify the control sequence that identifies the font in Rich Text Format. The SAPscript text editor and the graphic print preview use this information to display the characters correctly. The font info has the following structure:

• \f <name of the font family> \fcharset <WinCharSet number> \f <font name>

For the SAPscript font TIMES this information is:

• \froman\fcharset &&& Times New Roman

4. Create a style (transaction SE73) or a form (transaction SO10) and define formats using the TrueType fonts. You can print and archive forms using TrueType fonts. To print a form, use an output device whose device type uses one ot the drivers PCL, Postscript, Prescribe, or SAPWIN.

You May Also Like

Leave a Reply?