PrintDocumentToPrinterObject

Rendering and printing

Description

Renders certain pages from the selected document to the printer specified by the Delphi TPrinter object.

Syntax

Delphi

function TPDFlib.PrintDocumentToPrinterObject(APrinter: TPrinter; StartPage, EndPage, Options: Integer): Integer;

ActiveX

Function PDFlib::PrintDocumentToPrinterObject(APrinter As Variant, StartPage As Long, EndPage As Long, Options As Long) As Long

Parameters

APrinterA Delph TPrinter object
StartPageThe first page to print
EndPageThe last page to print
OptionsUse the PrintOptions function to obtain a value for this parameter