Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old


Retrieves the print settings of the current open import file.

Component Version macOS Windows Linux Server iOS SDK
DynaPDF 5.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "DynaPDF.GetInPrintSettings"; PDF )   More


Parameter Description Example
PDF The PDF reference returned from DynaPDF.New. $pdf


Returns value or error.


Retrieves the print settings of the current open import file.
The PDF file must be opened with DynaPDF.OpenPDFFromContainer or DynaPDF.OpenPDFFromFile before the function can be used. The print settings are used to initialize the print dialog in a viewer application.
NumCopies, PickTrayByPDFSize and PrintRangesCount return a number (-1 if undefined). PrintRanges returns a list of values for the ranges. DuplexMode returns values like FlipShortEdge, FlipLongEdge, Simplex or None. PrintScaling returns None or AppDefault.
See also DynaPDF.GetPrintSettings and DynaPDF.SetPrintSettings.

See also GetInPrintSettings function in DynaPDF manual.

See also

Blog Entries

This function checks for a license.

Created 14th March 2015, last changed 9th November 2021

DynaPDF.GetInPDFVersionEx - DynaPDF.GetInRepairMode

💬 Ask a question or report a problem