Hi!
Hi Thomas,
Hi Tilal,
Hi Thomas,
Thanks for sharing the source document. While testing the scenario using Aspose.Pdf for NET 8.4.0, I’ve observed the size issue of Postscript file and logged the issue in our bug tracking system as PDFNEWNET-35790 for further investigation and resolution. I’ve also linked your request to this issue and you will be notified via this thread as soon as it is resolved.
We are sorry for the inconvenience faced.
Best Regards
The issues you have found earlier (filed as PDFNEWNET-35790) have been fixed in Aspose.Pdf for .NET 8.8.0.
This message was posted using Notification2Forum from Downloads module by Aspose Notifier.
Hi!
Hi Thomas,
Thanks for your inquiry. After further investigation, we have found that results vary on different postscript printers. Using the following code and postscript printer HP LaserJet 5200L PS, we obtained the file with size 851Kb. So testing on different postscript printers gives not the same results.
const string myDir = @"c:\";
using (PdfViewer viewer = new PdfViewer())
{
viewer.RenderingOptions.SystemFontsNativeRendering = true;
viewer.BindPdf(myDir + "TransparentShape.pdf");
viewer.AutoResize = true;
viewer.AutoRotate = true;
viewer.PrintPageDialog = false;
System.Drawing.Printing.PrinterSettings ps = new System.Drawing.Printing.PrinterSettings();
ps.PrintFileName = myDir + "TransparentShape.ps";
ps.PrintToFile = true;
ps.PrinterName = "HP LaserJet 5200L PS";
PageSettings pgs = new PageSettings();
pgs.PaperSize = new System.Drawing.Printing.PaperSize("A4", 827, 1169);
viewer.PrintDocumentWithSettings(pgs, ps);
viewer.Close();
}
Please feel free to contact us for any further assistance.
Best Regards,