This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // For complete examples and data files, please go to https://github.com/aspose-pdf/Aspose.Pdf-for-Java | |
| // Create a new instance of PsLoadOptions | |
| com.aspose.pdf.LoadOptions options = new com.aspose.pdf.PsLoadOptions(); | |
| // Open .ps document with created load options | |
| Document pdfDocument = new Document("input.ps", options); | |
| // Save document | |
| pdfDocument.save("PSToPDF_out.pdf"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package rponte.report; | |
| import java.io.FileNotFoundException; | |
| import java.io.FileOutputStream; | |
| import java.sql.Connection; | |
| import java.sql.SQLException; | |
| import java.util.HashMap; | |
| import java.util.Map; | |
| import net.sf.jasperreports.engine.JRException; |