Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   Crossplatform   Server (Not)   Client   Components   Old   Guides
New in version: 4.0   4.1   4.2   4.3   4.4   5.0   5.1   5.2   5.3   5.4   6.0   6.1   6.2   6.3   6.4   6.5    Statistic  


Prints a PDF without dialogs.

Component: PDFKit
Version: 4.0
Mac OS X: Yes
Windows: No
Server: Yes
FileMaker Cloud: No

MBS( "PDFKit.Print"; PDF )


Parameter Description Example value
PDF A container value with the PDF content from a media field. Or a text with an URL. Or a PDF reference from PDFKit.Open.


Returns OK or error.


Prints a PDF without dialogs.
Optionally if you have a fax printer, you can also pass fax number to send a fax.
Please use PDFKit.ResetPrintSettings and than call PDFKit.SetPrintSetting for all the settings you need.

Please use DynaPDF.Print for Windows.


Print a PDF container:

MBS( "PDFKit.Print"; MyTable::MyDocumentContainer )

Fax a PDF container:

MBS( "PDFKit.ResetPrintSettings" )
MBS( "PDFKit.SetPrintSetting"; "FaxNumber"; "+123456" )
MBS( "PDFKit.Print"; MyTable::MyDocumentContainer )

Print page 2 to 10 and make 3 copies:

MBS( "PDFKit.ResetPrintSettings" )
MBS( "PDFKit.SetPrintSetting"; "FirstPage"; 2 )
MBS( "PDFKit.SetPrintSetting"; "LastPage"; 10 )
MBS( "PDFKit.SetPrintSetting"; "Copies"; 3 )
MBS( "PDFKit.Print" )

See also

PDFKit.PageBounds   -   PDFKit.Release

Feedback: Report problem or ask question.

MBS REAL studio tutorial videos - Pfarrgemeinde Messdiener Nickenich