We recently purchased Aspose.PDF.Kit so we could print the PDF files we generate directly from the VB 2008 application ( .NET ) which creates those files.
However, the quality of the printouts are poor. I printed the same PDF files using Adobe Acrobat and even directly from dos, they look great. So, it seems that there is a degradation of the PDF file's resolution when using the Aspose classes.
I looked at the various parameters allowed for PrinterSettings, PageSettings and PrintDocument and see that there are some dealing with resolution, but it's not clear to me how to use them and if they will help.
Here's our code:
Private Function PrintPDF(ByVal sPDFFileNameAndPath As String) As Boolean
Dim viewer As New PdfViewer
viewer.OpenPdfFile(sPDFFileNameAndPath)
viewer.PrintPageDialog = False
Dim ps As New PrinterSettings
Dim pgs As New PageSettings
Dim prtdoc As New PrintDocument
ps.PrinterName = sPrintQueue
Try
viewer.PrintDocumentWithSettings(pgs, ps)
PrintPDF = True
Catch ex As Exception
WriteToLog("Error printing " & ex.Message)
PrintPDF = False
End Try
End Function