In some cases when PDF document is Loaded and sent to print the result is a blank Page in the printer.
This is not a radom problem , its a problem that occurs with specific PDF files.
The documents normaly are Scannings sent directly to PDF files.
- Code: Select all
Me.clsSpireDocPDF.LoadFromFile(sDocumento)
Using clsSpireDocPDF
With clsSpireDocPDF.PrintDocument
.PrinterSettings.PrinterName = Me.clsImpressao.sNomeImpressora
.PrintController = New System.Drawing.Printing.StandardPrintController
.Print()
End With
Library Version Used : Spire.Pdf.dll 3.2.52.56040
txs for your help