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.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4   13.5    Statistic    FMM    Blog  

DynaPDF.GetInPrintSettings

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

Parameters

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

Result

Returns value or error.

Description

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