FoxitReader printing without preview

173 views Asked by At

I would like to print a .pdf file without preview. I used the "FoxitReaderOCX.ocx" component for this, but before it goes to printing, a preview is called. Is direct printing possible in this case?

My code:

Private Sub Command1_Click()
  FoxitReaderOCX1.OpenFile ("C:\test_raport_PDF.pdf")
  FoxitReaderOCX1.PrintFile
End Sub

I will be grateful for your help :)

0

There are 0 answers