2022.2

Table Of Contents
printerName (optional)
Name of the printer to print to. The default options of the printer will be used. If NULL, the default
printer is used.
fromPage
0-based index of the first page to print.
toPage
0-based index of the last page to print. To print all pages from fromPage to the end, use -1.
PrintEx(printername, *PdfPrintParams)
Prints a range of PDF pages to the specified Windows printer with specific printer options stored in an
"IPdfPrintParams" on page217 structure. See also: "Print(printername)" on the previous page.
Syntax
VOID PrintEx (
STRING printerName,
IPdfPrintParams * PdfPrintParams
)
printerName (optional)
Name of the printer to print to. The default options of the printer will be used. PdfPrintParams , if non-
NULL, may override some of them. If NULL, the default printer is used.
PdfPrintParams (optional)
Pointer to an "IPdfPrintParams" on page217 structure that specifies various print options. If NULL ,
default values are used.
Save()
Saves changes to the PDF file. The version of the PDF file format is the highest possible for a newly cre-
ated file and is unchanged when saving an existing file, unless the SetVersion method was called in
which case the file format used will be the one set by SetVersion. See also: "SetVersion (major, minor)"
on page203.
Syntax
VOID Save (BOOL optimize)
optimize
If true, the file is optimized before being written to disk, i.e. objects are garbage-collected and/or
regenerated, the PDF is linearized, etc.
Page 201