Do you have any question about this error?
Stop googling SAP errors. Use our Free Essentials plan instead - no credit card needed. Start Now →
Message type: E = Error
Message class: TD - SAPscript: Text editor, composer, forms, styles and fonts
Message number: 338
Message text: AFM file required for the printer font &
The specified printer font is incorrectly defined in the SAPscript font
maintenance: There is no fontmetrics data (AFM file) for the
proportional printer font.
SAPscript uses run-time objects, the so-called SAPscript load which
contains data about fonts, character sets, layout sets, and styles.
These run-time objects (stored according to client) are automatically
regenerated if the data base tables on which they are based have
changed, or the run-time objects do not yet exist. The run-time objects
are accessed when texts are formatted for output to the printer or
screen.
The generation of font data for SAPscript had to be terminated.
In order to calculate the fontmetrics for proportional printer fonts,
SAPscript requires fontmetrics data (AFM file). This is managed in the
SAPscript font maintenance.
Error message extract from SAP system. Copyright SAP SE.
TD338
- AFM file required for the printer font & ?The SAP error message TD338 indicates that a required AFM (Adobe Font Metrics) file is missing for a specific printer font. This error typically occurs when you are trying to print a document that uses a font for which the system cannot find the corresponding AFM file. The AFM file contains important information about the font metrics, such as character widths and spacing, which are necessary for proper printing.
Cause:
- Missing AFM File: The AFM file for the specified printer font is not available in the SAP system.
- Incorrect Font Configuration: The font may not be correctly configured in the SAP system.
- Font Not Installed: The required font may not be installed on the printer or the SAP system.
Solution:
Check AFM File Availability:
- Verify if the AFM file for the specified font exists in the SAP system. You can check the directory where the font files are stored (usually in the SAP kernel or a specific font directory).
Install Missing AFM File:
- If the AFM file is missing, you may need to obtain it from the font vendor or create it if you have the necessary font files. Place the AFM file in the appropriate directory.
Configure Fonts in SAP:
- Use transaction code SPAD (Spool Administration) to check the font configuration.
- Ensure that the font is correctly defined in the SAP system and that the AFM file is linked to the font.
Check Printer Configuration:
- Ensure that the printer is correctly configured to use the specified font. You may need to check the printer settings in the SAP system and ensure that the printer can access the required font files.
Use Alternative Fonts:
- If the required font cannot be found or installed, consider using an alternative font that is available and properly configured in the system.
Consult Documentation:
- Refer to SAP documentation or support resources for additional guidance on font management and troubleshooting.
Related Information:
By following these steps, you should be able to resolve the TD338 error and ensure that the required AFM file is available for the specified printer font.
Get instant SAP help. Sign up for our Free Essentials Plan.
TD337
The CPI value of the printer font & must be > 0
What causes this issue? The specified printer font is incorrectly defined in the SAPscript font maintenance: 0 has been specified as the CPI value (c...
TD336
Size of printer font & must be > 0
What causes this issue? The specified printer font is incorrectly defined in the SAPscript font maintenance: 0 has been entered for the font size. SA...
TD339
AFM file for printer font & could not be loaded
What causes this issue? The printer font specified is defined incorrectly in the SAPscript font maintenance: The fontmetrics data (AFM file) for the ...
TD340
AFM file for printer font & contains error
The printer font specified is defined incorrectly in the SAPscript font maintenance: The fontmetrics data (AFM file) for the specified printer font c...
Click on this link to search all SAP messages.