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: 12.1   12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4    Statistic    FMM    Blog  

DynaPDF.GetPrintSettings

Retrieves the currently defined print settings of the document.

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

Parameters

Parameter Description Example
PDF The PDF reference returned from DynaPDF.New. $pdf
Selector Which value to retrieve. Can be NumCopies, PickTrayByPDFSize, PrintRangesCount, PrintScaling, DuplexMode and PrintRanges. "NumCopies"

Result

Returns value or error.

Description

Retrieves the currently defined print settings of the document.
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.SetPrintSettings and DynaPDF.GetInPrintSettings.

See also GetPrintSettings function in DynaPDF manual.

See also

Blog Entries

This function checks for a license.

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


DynaPDF.GetPageWidth - DynaPDF.GetReplaceICCProfile

💬 Ask a question or report a problem