PDF Print Preview Issue

Hello Team,
We have been drawing lines using PdfContentEditor to the PDF.
The pdf has been rendering fine with lines in the browser, but the lines are not apppearing in the print preview and the printed page.
Please help us on this regard.

Thanks,
Ashok

Hi Ashok,


Thanks for your inquiry. Can you please share your sample code snippet and output here? So we will investigate the issue and will provide you more information accordingly.

Best Regards,

we use the below coding snippet to draw the lines,
import com.aspose.pdf.kit.PdfContentEditor;
PdfContentEditor editor = new PdfContentEditor();
editor.bindPdf(inputStream);
Rectangle rect=new Rectangle();
int []dashArray={};
String []LEArray={};
editor.createLine(rect,"",x1,y1,x2,y2,pageNum,2,“s”,dashArray,LEArray,Color.BLACK);
editor.save(outputStream);
inputStream = new ByteArrayInputStream(((ByteArrayOutputStream)outputStream).toByteArray());

Please do the needful at the earliest possible.


Thanks,
Ashok

Hi Ashok,


Thanks for sharing additional information. While testing the scenario, we’ve managed to observe the reported issue and logged it as PDFNEWJAVA-33815 for further investigation and resolution…

Moreover, as shared here Aspose.Pdf.Kit for java has been merged into Aspose.Pdf for Java as com.aspose.pdf.facades package. So we’ve tested the scenario with Asposed.Pdf fro Java and noticed that createline() method is not working as expected, so we have also logged it as PDFNEWJAVA-33811 for sake of correction. We will keep you updated about these issues progress via this forum thread.

We are sorry for the inconvenience caused.

Best Regards,

Hello Aspose Team,
Please let us know the ETA to complete this ticket.
As for this issue we need a solution at the earliest.

Thanks,
Ashok

Hi Ashok,

Thanks for your patience.

As we recently noticed this issue, the development team requires little time to investigate and figure out the reasons for this problem. Nevertheless, I have also informed the development team to investigate this issue on a priority basis. As soon as we have made some definite progress toward its resolution, we would be more than happy to update you with the status of the correction.

My humble request is to please be patient and spare us some time.

The issues you have found earlier (filed as PDFNEWJAVA-33815) have been fixed in Aspose.Pdf for Java 10.1.0.


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.