Reference > Script steps reference > Files script steps > Print Setup
 
Print Setup
Purpose 
Sets print options, such as paper size and orientation, which can be stored with this script step.
See also 
Format 
Print Setup [Restore; With dialog: On/Off]
Options 
With dialog specifies whether to display the Print Setup dialog box when the script step is performed. If you set With dialog to Off, the output from this script step is sent to the last specified printer and not the printer specified in this script step.
Specify page setup allows you to choose page setup options that are stored with the script step.
Compatibility 
 
Where the script step runs 
Supported 
FileMaker Pro 
Yes 
FileMaker Server 
Partial 
FileMaker Go 
Partial 
Custom Web Publishing 
No 
FileMaker WebDirect 
Partial 
Runtime solution 
Yes 
Originated in 
FileMaker Pro 6.0 or earlier
Notes 
FileMaker Server, FileMaker Go, and FileMaker WebDirect do not support the With dialog: On option.
In FileMaker Server and FileMaker WebDirect, this script step also sets options for PDFs created with the Save Records As PDF script step.
Example 1 
Goes to the Print Invoices layout, sorts the records, changes the print settings, and prints.
Go to Layout ["Print Invoices"]
Sort Records [Restore; With dialog: Off]
Print Setup [Restore; With dialog: Off]
Print [With dialog: On]
Related topics 
Script steps reference (alphabetical list)
Script steps reference (category list)