ACC2: How to Bypass Microsoft Access Print Setup SettingsID: Q130367
|
Moderate: Requires basic macro, coding, and interoperability skills.
If you design forms or reports that are printed on printers that use
different paper sizes, such as Letter or A4 (as may be the case for
international applications), you can add a UseDefaultPrSetup setting to
the MSACC20.INI file to bypass the Microsoft Access Print Setup settings.
The UseDefaultPrSetup setting causes the application to use the default
Windows printer settings. The Microsoft Access Print Setup settings that
are bypassed include the printer, the orientation, the paper size, and the
paper source, even if you select them in the Microsoft Access Print Setup
dialog box or set them by setting the PrtDevMode property.
WARNING: The UseDefaultPrSetup setting is not recommended if you use
Microsoft Windows NT. It can cause a general protection fault when you
preview a form or report.
To add a UseDefaultPrSetup setting to the MSACC20.INI file, follow these
steps:
UseDefaultPrSetup=1
Keywords : kbprint PtrSetup
Version : 2.0
Platform : WINDOWS
Issue type : kbhowto
Last Reviewed: April 22, 1999