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 
No 
FileMaker Go 
Partial 
Custom Web Publishing 
No 
FileMaker WebDirect 
No 
Runtime solution 
Yes 
Originated in 
FileMaker Pro 6.0 or earlier
Description 
You can also have this script step performed with a dialog box so the user can specify print options. You can use multiple Print Setup script steps within a script.
Notes
FileMaker Go does not support the With dialog: On option.
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)