Print

Prints information that is in the current FileMaker Pro file.

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 (Restore indicates print options are stored in the script step). When the script runs, the output from this script step is sent to the printer or fax you specified.

    macOS: 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 runs, the output from the script step is sent to the user's default printer.

Compatibility 

Product Supported
FileMaker Pro Yes
FileMaker Go Partial
FileMaker WebDirect Yes
FileMaker Server No
FileMaker Cloud No
FileMaker Data API No
Custom Web Publishing No

Originated in version 

6.0 or earlier

Description 

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 

  • In FileMaker WebDirect:

    • This script step creates a PDF in a new web browser tab. To print the PDF, use the web browser's controls.

    • If fonts don't display correctly in the PDF, make sure that all required fonts are installed and available to the Web Publishing Engine in your FileMaker Server deployment. See FileMaker Server Help. For a list of installed fonts for FileMaker Cloud, see FileMaker Cloud Help.

    • Web viewers don't display content in PDFs.

  • When you use more than one Print script step in a script, the saved printer name applies to only the containing Print script step.

  • 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.

  • In FileMaker Go, setting the With dialog option to Off displays the iOS or iPadOS Print dialog, but it doesn't display the FileMaker Go Print Setup dialog.

Example 1 

Goes to the Print Invoices layout, sorts the records, and prints.

Copy
Go to Layout ["Print Invoices"]
Sort Records [Restore; With dialog: Off]
Print [Restore: Printer; With dialog: Off]