Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
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 |
---|---|---|
The PDF reference returned from DynaPDF.New. | ||
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