PrintPagesToPrinterObject

Rendering and printing

Description

Renders a page range list from the selected document to the printer specified by the Delphi TPrinter object.

Syntax

Delphi

function TPDFlib.PrintPagesToPrinterObject(APrinter: TPrinter; Const PageRanges: WideString; Options: Integer): Integer;

ActiveX

Function PDFlib::PrintPagesToPrinterObject(APrinter As Variant, PageRanges As String, Options As Long) As Long

Parameters

APrinterA Delph TPrinter object
PageRangesA list of pages to print, for example "1-10,12,14"
OptionsUse the PrintOptions function to obtain a value for this parameter