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

Free Support Forum - aspose.com

PDF.NET PostScript to PDF Empty page

Hi, i’m trying to convert PostScript Files produced by printer drivers (HP and Canon PostScript Drivers) but your software are unable to convert it, a blank PDF of one page is produced.
Aspose.PDF .NET Version 22.12
The code used

Aspose.Pdf.License lic = new Aspose.Pdf.License();
lic.SetLicense(“Aspose.PDF.NET.lic”);

PsLoadOptions ps = new PsLoadOptions();
ps.FontsFolders = new[] { @“C:\Windows\Fonts” };
Aspose.Pdf.Document psdocument = new Document(@“C:\Users\gabrielede\Desktop\pcltoolsdk\test\ps1.ps”, ps);

psdocument.Save(@“C:\Users\gabrielede\Desktop\pcltoolsdk\test\ps1.pdf”);

Other conversions tools (Ghostscript for Example) correctly convert the files.
I got the PS files direct from the printer port monitor associated with the printer queue.
If you want i can send you sample files.

@Gdelgiovine

Could you please ZIP and attach your input PS and problematic output PDF here for testing? We will investigate the issue and provide you more information on it.

The files.
ps.pdf (1.8 KB)
INPUT2.zip (10.0 KB)

@gabriele.delgiovine.it

We have logged this problem in our issue tracking system as PDFNET-53394. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.