Printing

<< Click to Display Table of Contents >>

Navigation:  Tasks >

Printing

WPViewPDF makes it easy for You to print PDF files from your application.

 

Please note: If security settings of a PDF file forbid printing, the component will not print. You as developer can override this at Your own risk. Use command(COMPDF_DisableSecurityOverride,1) to disable this check.

 

You can disable printing globally by using command(COMPDF_DisablePrint). It is not possible to enable it again!

 

This commands control printing: Printing (on paper)

 

This commands allow printing on HDC: Printing (on device)

 

Also see pdfPrint()

 

 

If you have a problem is cropped output due to physical printer margins,

you can activate the automatic scaling using

 

  WPViewPDF.Command(COMPDF_PrintUseScaling, 3);