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

Free Support Forum - aspose.com

Blurry Printing

My pdf file contains text and barcode image.
After print with PdfViewer, texts are OK but barcode is so blurry

See my attachment for example. Please help me!

CODE:

PdfViewer oViewer = new PdfViewer();

oViewer.BindPdf(Server.MapPath("~/Storage/AAD.pdf"));
oViewer.AutoResize = false;
oViewer.AutoRotate = false;
oViewer.RenderingOptions.BarcodeOptimization = true;
System.Windows.Forms.PrintDialog printDialog = new System.Windows.Forms.PrintDialog();

if (printDialog.ShowDialog() == DialogResult.OK)
{
System.Drawing.Printing.PrinterSettings ps = printDialog.PrinterSettings;
oViewer.PrintDocumentWithSettings(ps);
}else
{
printDialog = null;
oViewer.Close();
return Content(“Print Error!”);
}

if (oViewer.PrintStatus != null)
{
oViewer.Close();
return Content(“Print Error!”);
}

Hi,


Thanks for contacting support.

Please try using oViewer.PrintAsImage = true; property and in case the problem still persists, please share the resource PDF file so that we can further investigate the problem in our environment. We are sorry for this inconvenience.

Hi,

Thanks for quick reply!

I attached PDF file, and please let me know if I did something wrong

Hi,


Thanks for sharing the resource file.

I have tested the scenario and I am able to
notice the same problem. For the sake of correction, I have logged this problem
as PDFNEWNET-37822 in our issue tracking system. We will further
look into the details of this problem and will keep you updated on the status
of correction. Please be patient and spare us little time. We are sorry for
this inconvenience.