Meet us at at Real World in Orlando, Florida.

All functions   Mac OS X   Windows   Crossplatform   Components   Guides  
New in version: 2.0   2.1   2.2   2.3   2.4   2.5   2.6   2.7   2.8  

CUPS.PrintFile

Component: CUPS
Version: 2.5
Mac OS X: Works
Windows: Does nothing

MBS( "CUPS.PrintFile"; Printer; Path; Title; Options )

Parameters

Parameter Description Example value
Printer The name of the printer. "Brother_DCP_8085DN"
Path The file path of the file to print. "/test/testfile.txt"
Title Optional, the title of the print job. "Filemaker Printout"
Options Optional list of options. Simply add key and values as string parameters to the function call. "key1"; "value1"; "key2"; "value2"

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" )

Feedback: Report problem or ask question.




Links
MBS Realbasic Plugins - Pfarrgemeinde St. Arnulf Nickenich