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
Adds preferred print settings to the PDF file.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
DynaPDF | 5.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example | Flags |
---|---|---|---|
The PDF reference returned from DynaPDF.New. | |||
DuplexMode | The duplex mode. Can be FlipShortEdge, FlipLongEdge, Simplex or None. | "FlipLongEdge" | Optional |
PickTrayByPDFSize | Whether to pick tray by PDF size. Can be 1 = true, 0 = false or -1 = app default. | 1 | Optional |
NumCopies | The number of copies between 1 and 5. 0 is app default. | 2 | Optional |
PrintScaling | Can be None or AppDefault currently. | "None" | Optional |
PrintRanges | Defines the print ranges. For this pass one parameter for start number and one for end number with as many parameters as you want to pass arguments. |
Optional |
Returns OK or error.
See also SetPrintSettings function in DynaPDF manual.
Set to print duplex and from page 3 to 8 and 12 to 15.
MBS( "DynaPDF.SetPrinterSettings"; $PDF; "FlipLongEdge
"; -1; 1; "None"; 3; 8; 12; 15 )
This function checks for a license.
Created 14th March 2015, last changed 14th July 2022