When translating XPS to PDF, it takes considerably longer than other file formats. The XPS that I have attached to this case took 1 minute 27 seconds to translate to a PDF.
Using aspose.pdf-20.4.jar
Using this code for XPS2PDF:
com.aspose.pdf.LoadOptions options = new XpsLoadOptions();
com.aspose.pdf.Document document = new com.aspose.pdf.Document(inputPath, options);
document.save(outputPath);
This is the XPS file that I used:
XPS.zip (609.4 KB)