Printing PDF from Adobe Acrobat Reader prints saved PDF clearly, but using PDFVIewer the image directly through print in software clarity is not good. Picture images are not clear and Barcodes are not readable. Rotation of barcode is even worse.
Code section for printing below. The commented sections were tested and did not make a noticeable difference.
Using stream As New System.IO.MemoryStream
Using kit As New Aspose.Pdf.Facades.PdfViewer() settings.Duplex = True kit.PrinterJobName = settings.PrintFileName kit.BindPdf(stream) kit.PrintPageDialog = False 'Debug options 'kit.RenderingOptions.InterpolationHighQuality = True ' DEBUG - See it helps image quality 'kit.RenderingOptions.UseNewImagingEngine = True 'kit.UseIntermidiateImage = True 'Debug options 'kit.RenderingOptions.BarcodeOptimization = True 'kit.Resolution = 150 'kit.RenderingOptions.InterpolationHighQuality = True kit.PrintDocumentWithSettings(settings) kit.Close()
Is this a known issue? Is there something that can be done to improve the quality? Are there plans to improve this part of the product?