Prompt for page setup

20% Command group 20% Flag affected 20% Reversible 20% Execute on client 20% Platform(s)
Report parameters YES NO NO All

Syntax

Prompt for page setup

Description

This command displays the Printer page setup dialog box. This dialog allows the page size, orientation and printer's effects to be chosen before a report is printed. The flag is set if the dialog is closed by clicking on the OK pushbutton. Cancel clears the flag and leaves the page parameters unchanged.

Example

# Prompt for page setup before printing the
# report rMyReport
Set report name rMyReport
Prompt for page setup
If flag true
  Print report
End If