ACC2: How to Bypass Microsoft Access Print Setup Settings

ID: Q130367


The information in this article applies to:
  • Microsoft Access 2.0


SUMMARY

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.


MORE INFORMATION

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:

  1. In a text editor, such as NOTEPAD.EXE, open the MSACC20.INI file located in the Windows directory.


  2. Scroll through the MSACC20.INI file to locate the [Microsoft Access] section and add the following line:
    
          UseDefaultPrSetup=1 


  3. Save the MSACC20.INI file.


Keywords : kbprint PtrSetup
Version : 2.0
Platform : WINDOWS
Issue type : kbhowto


Last Reviewed: April 22, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.