Print
Purpose
Prints information that is in a file.
See also
Format
Print [Restore: “<printer>”; With dialog: On/Off]
Options
•With dialog specifies whether to display the Print dialog box when the script step is performed.
•Specify print options allows you to specify an output destination. When the script executes, the output from this script step is sent to the printer or fax you specified.
OS X: As an alternative to specifying a printer or fax, you can click PDF in the Print dialog box, then choose a PDF option from the list or choose Edit menu to define a custom PDF output format or destination.
If you do not specify an output destination before saving the script or if the specified printer cannot be found when the script executes, the output from the script step is sent to the user’s default printer.
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
Multiple print steps can be added to a script. You can store print options with this script step, or allow the user to enter printing criteria when the step executes.
If the print job needs special page setup options to print correctly, add a
Print Setup script step before the Print step.
Notes
•When you use more than one Print script step in a script, the saved printer name applies to only the containing Print script step.
•A printer name specified in a Print Setup script step is not inherited by any Print script step in a script.
•The settings for double-sided printing and number of copies have no effect in FileMaker Go. Also, this script step has no option for setting the maximum image DPI, but you can choose a resolution in the FileMaker Go Print Setup dialog box.
Example 1
Goes to the Print Invoices layout, sorts the records, and prints.
Go to Layout ["Print Invoices"]
Sort Records [Restore; With dialog: Off]
Print [Restore: Printer; With dialog: Off]
Related topics