| Components | All | New | MacOS | Windows | Linux | iOS | ||||
| Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old | |
Files.PrintFile
Asks the OS to print this file.
| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
| Files | 15.3 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ❌ No |
MBS( "Files.PrintFile"; Path ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| Path | Native path to the item to print. | "/Users/cs/Desktop/Notes.rtf" |
Result
Returns OK or error.
Description
Asks the OS to print this file.This will usually launch the application for the file type and ask it to print.
Variant of Files.LaunchFile.
This function requires a native path. Use Path.FileMakerPathToNativePath to convert a FileMaker path to a native path if required. If you like to have the user choose the path, you can use FileDialog functions.
Examples
Print File:
Set Variable [$r; Value: MBS( "Files.PrintFile"; $Path )]
See also
Release notes
- Version 15.3
- Added Files.PrintFile function for macOS and Windows.
Blog Entries
- MBS FileMaker Plugin 15.3 News
- Neues MBS Plugin 15.3 für Claris FileMaker
- MBS Plugin 15.3 for Claris FileMaker
- MBS FileMaker Plugin, version 15.3pr7
This function checks for a license.
Created 8th July 2025, last changed 5th September 2025