Setting Automatic Font Scaling for Email Report Server/400 PDF Format - Support

Setting Automatic Font Scaling for Email Report Server/400 PDF Format

From Support

Jump to: navigation, search

Enabling Automatic Font Scaling based on Page LPI/CPI

To enable the default page font scaling setting to automatically scale fonts to fit the page based on Page Length, Page Width, LPI and CPI, run the following command:

CHGCMDDFT CMD(RJSERS/ERS008) NEWDFT('PAGESCALE(*AUTO)')

    • Note: This setting is included with Email Report Server/400 V1.56 and above.
    • Note: Once you change this setting, all reports sent via the Email Report Server will use automatic page scaling. Since this option uses true page scaling, you may be required to change Page Length, Page Width, LPI or CPI values on your AS/400 print file in order for the PDF files to scale correctly without data begin cut off on the right side of the page. Make sure to test all reports that are currently being emailed before implementing this change in production.

Enabling Automatic Computer Output Reduction Scaling

Enabled with Email Report Server/400 V1.86 and above.

A new setting has been added to allow for computer output reduction (*COR). When this setting is enabled, PDF scaling will occur automatically based on the number of lines per page and the determined maximum number of characters across the page. This method is preferred over using the *AUTO option because no print file changes are necessary.

CHGCMDDFT CMD(RJSERS/ERS008) NEWDFT('PAGESCALE(*COR)')

Disabling Automatic Page Scaling To disable the automatic page scaling, use the following command:

CHGCMDDFT CMD(RJSERS/ERS008) NEWDFT('PAGESCALE(*NONE)')

Personal tools