Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5    Statistic  

DynaPDF.GetPrintSettings

Retrieves the currently defined print settings of the document.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
DynaPDF 5.1 Yes Yes Yes Yes Yes

MBS( "DynaPDF.GetPrintSettings"; PDF; Selector )

Parameters

Parameter Description Example value
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 OK 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


DynaPDF.GetPageWidth   -   DynaPDF.GetReplaceICCProfile

Feedback: Report problem or ask question.




Links
MBS Xojo tutorial videos