Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
CUPS.PrintFile
Print a file to a printer or class on the default server.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| CUPS | 2.5 | Yes | No | No | Yes, macOS only | No |
MBS( "CUPS.PrintFile"; Printer; Path { ; Title; Options } ) More
Parameters
| Parameter | Description | Example | Flags |
|---|---|---|---|
| Printer | The name of the printer. | "Brother_DCP_8085DN" | |
| Path | The file path of the file to print. | "/test/testfile.txt" | |
| Title | The title of the print job. | "FileMaker Printout" | Optional |
| Options | List of options. Simply add key and values as string parameters to the function call. | "key1"; "value1"; "key2"; "value2" | Optional |
Result
Returns job number.
Description
Print a file to a printer or class on the default server.Examples
Print a file:
MBS( "CUPS.PrintFile"; "Brother_DCP_8085DN"; "/test/testfile.txt"; "FileMaker Printout" )
See also
FileMaker Magazin
Created 18th August 2014, last changed 25th February 2017
CUPS.PrintDataEncoding - CURL.AddInputFile
Feedback: Report problem or ask question.
Links
MBS FileMaker Plugins