PrintPages method

<< Click to Display Table of Contents >>

Navigation:  Component Description > Methods >

PrintPages method

Declaration

function PrintPages(StartPage, EndPage: Word): Integer;

Description

This procedure Prints the PDF file. You may specify a from-to page range (1..) or (0,0) to print the complete file. Please note that you can open a print job first using BeginPrint/EndPrint to avoid multiple printer jobs if you need to execute PrintPages more than once.

 

You can use Command( 155, 2 ) "COMPDF_PrintUseScaling" to activate the automatic scaling to the page.