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

Free Support Forum - aspose.com

Converting PS to PDF

Hi team,

I am getting the below error while converting ps file format to pdf

“Exception in thread “main” java.lang.UnsupportedOperationException: com.aspose.pdf.internal.l14n.lv is not supported in this context.
at com.aspose.pdf.internal.eps.postscript.l4v.(Unknown Source)
at com.aspose.pdf.internal.eps.postscript.l1k.l0l(Unknown Source)
at com.aspose.pdf.internal.eps.postscript.l1k.execute(Unknown Source)
at com.aspose.pdf.internal.eps.postscript.l2h.checkAndExecute(Unknown Source)
at com.aspose.pdf.internal.eps.postscript.l4t.lI(Unknown Source)
at com.aspose.pdf.internal.eps.postscript.l4t.lj(Unknown Source)”

My code is as follows
public static void pstopdf()
com.aspose.pdf.LoadOptions options = new com.aspose.pdf.PsLoadOptions();
// Open .ps document with created load options
Document pdfDocument = new Document(“C:\temp\slick.ps”, options);
// Save document
System.out.println(“Converted to pdf successfully”);

Aswin Radhakrishnan


Would you kindly share your sample PS file with us so that we can test the scenario in our environment and address it accordingly.

Hi Asad Ali,

Thanks for your response
The issue is resolved now. There was some conflict with the import of Document and hence got the issue.It is resolved now.



It is good to know that your issue has been resolved. Please keep using our API and feel free to create a new topic in case you need any further assistance.