Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.5   8.0   8.1   8.2   8.3   8.4   8.5   9.0   9.1   9.2    Statistic  


Adds preferred print settings to the PDF file.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
DynaPDF 5.1 Yes Yes Yes Yes Yes
MBS( "DynaPDF.SetPrintSettings"; PDF; DuplexMode; PickTrayByPDFSize; NumCopies; PrintScaling; PrintRanges )   More


Parameter Description Example value
PDF The PDF reference returned from DynaPDF.New. $pdf
DuplexMode The duplex mode. Can be FlipShortEdge, FlipLongEdge, Simplex or None. "FlipLongEdge"
PickTrayByPDFSize Whether to pick tray by PDF size. Can be 1 = true, 0 = false or -1 = app default. 1
NumCopies The number of copies between 1 and 5. 0 is app default. 2
PrintScaling Can be None or AppDefault currently. "None"
PrintRanges Defines the print ranges.
For this pass one parameter for start number and one for end number with as many parameters as you want to pass arguments.


Returns OK or error.


Adds preferred print settings to the PDF file.
Viewer applications use the print settings to initialize the print dialog. Print ranges, if set, consist of two numbers which define the start and end page number that should be printed.
See also DynaPDF.GetPrintSettings and DynaPDF.GetInPrintSettings.

This settings are for Adobe Reader, not for printing the PDF in FileMaker!

See also SetPrintSettings function in DynaPDF manual.


Set to print duplex and from page 3 to 8 and 12 to 15.

MBS( "DynaPDF.SetPrinterSettings"; $PDF; "FlipLongEdge
"; -1; 1; "None"; 3; 8; 12; 15 )

See also

Blog Entries

Created 14th March 2015, last changed 13th February 2019

DynaPDF.SetPageWidth   -   DynaPDF.SetReplaceICCProfile

Feedback: Report problem or ask question.

MBS Xojo Plugins