Free Support Forum -

Convert Postscript to PDF in Java using Aspose.Page for Java - Exception occurs during conversion

We create a postscript file with Birt (an old version). We want to convert that postscript file with Aspose.EPS 18.9 to a pdf and get the following exception:

%%[Error: undefined; Offending Command: //resourcestatus]%%

Operand Stack (bottom…top)
[ /Identity-H /CMap ]

Execution Stack (bottom…top)
[ --file (pipe) – //resourcestatus //undefined ]

Dictionary Stack (bottom…top)
[ --dictionary (333)-- --dictionary (0)-- --dictionary (29)-- ]

at com.aspose.eps.internal.l427.I334.lif(Unknown Source)
at com.aspose.eps.internal.l427.I50I.lI(Unknown Source)
at com.aspose.eps.internal.l427.I567.lif(Unknown Source)
at com.aspose.eps.internal.l427.I567.lI(Unknown Source)
at com.aspose.eps.internal.l427.I567.lf(Unknown Source)
at com.aspose.eps.Ps2PdfConverter.lif(Unknown Source)
at com.aspose.eps.Ps2PdfConverter.convertToPdf(Unknown Source)

Is this a bug or the result of a bad postscript file?

Please see attached file: (114.9 KB)


Thanks for contacting support.

We were able to replicate the issue in our environment using Aspose.EPS for Java 18.10. Hence, we have logged this issue as EPSJAVA-22 in our issue tracking system. We will further look into details of the issue and keep you informed with its rectification status. Please be patient and spare us little time.

We are sorry for the inconvenience.