Article ID: 130367 - Last Review: July 5, 2002 - Revision: 1.0

ACC2: How to Bypass Microsoft Access Print Setup Settings

This article was previously published under Q130367
Moderate: Requires basic macro, coding, and interoperability skills.
Expand all | Collapse all

SUMMARY

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.

APPLIES TO
  • Microsoft Access 2.0 Standard Edition
Keywords: 
kbhowto kbprint KB130367
Retired KB ArticleRetired KB Content Disclaimer
This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.
 

Article Translations