Opens a print setup or print dialog to allow a user to select the printer and set other print or report properties.

Syntax

<oRef>.choosePrinter([<title expC>][, <expL>])

<oRef>

A reference to the printer object whose choosePrinter( ) method you wish to call.

<title expC>

Optional custom title for the print or printer setup dialog box.

<expL>

If true, choosePrinter( ) will display the "Print Setup" dialog.

If false, choosePrinter( ) will display the standard Windows "Print" dialog.

Property of:

printer class

Description

When calling the choosePrinter( ) method of the _app.printer object, the "Print Setup" dialog will display, by default.

When calling the choosePrinter( ) method of a printer object that is attached to a report object, the standard Print dialog will display, by default. If the user sets a start page and end page to print, their settings will be copied into the attached report's startPage and endPage properties.

If a report object's startPage and endPage values are already set when the associated choosePrinter( ) method is called, these values will be defaulted into the Print dialog.

For either dialog, user selections will be copied into the corresponding printer object properties