Convert XPS to PDF via CLI

XPS to PDF CLI conversion. Developers can use this command line to export XPS to PDF

Convert XPS to PDF in Aspose.PDF for Aspose.PDF CLI

How to convert XPS to PDF? You can easily convert programmatically a document from XPS to PDF format using Aspose.PDF CLI. Use just a one command line to convert files with high quality. The Aspose.PDF CLI will allow any developer to efficiently solve the tasks of converting XPS to PDF using Aspose.PDF CLI and C++ library.

For a more detailed description of the example and other possible conversion formats, see the Documentation pages. Also, you can check the other conversions of formats, which are supported by our library.

In order to convert XPS to PDF, we’ll use Aspose.PDF CLI App. To verify the benefits of the CLI tool, try using the conversion XPS to PDF example.

System Requirements


Aspose.PDF for Aspose.PDF CLI is supported on all major operating systems. Just make sure that you have the following prerequisites.

  • Linux
  • Windows
  • MacOS ARM64
  • MacOS X86_64

Here is an example that demonstrates how to convert XPS to PDF in CLI. You can follow these easy steps to convert your XPS file to PDF format. First, upload your XPS file and then simply save it as a PDF file. You can use fully qualified filenames for both XPS reading and PDF writing. The output PDF content and formatting will be identical to the original XPS document.

Example: Convert XPS to PDF via CLI

This sample code shows XPS to PDF CLI Conversion


    asposepdftool xps2pdf <input-file> [PDF-file]

Convert XPS to PDF using Aspose.PDF for Aspose.PDF CLI

Aspose.PDF CLI is a PDF processing App that allows reading, writing, manipulating, and rendering PDF documents. It has a simple and easy-to-use API for developers. With Aspose.PDF CLI, you can easily convert text and images, and convert PDF to various document formats with high performance and quality.