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;

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