We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

PDF Printing Using Aspose.Pdf.Facades.PdfViewer() rending poor image print quality - especially for rotated barcode

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
Pdf.Save(stream, SaveFormat.Pdf)

        Using kit As New Aspose.Pdf.Facades.PdfViewer()

            settings.Duplex = True
            kit.PrinterJobName = settings.PrintFileName

            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

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?



Would you please make sure that you are using 22.9 version of the API. In case issue still persists, please share your sample PDF document with us so that we can test the scenario in our environment and address it accordingly.