Print XPS Document in Duplex Mode using Aspose.XPS

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn

It is our honor to announce new release of Aspose.XPS for both .NET and Java Platforms. As per regular monthly revision process, new features and enhancements have been introduced in the API in order to enhance its usability. Some performance improvements have also been made in latest release to make API perform efficiently. In case you are planning to upgrade to latest version of the API, you can download it from the links given below as per your working environment e.g. .NET and Java:

Release Notes for both .NET and Java APIs can be checked using following links:

Following section includes worth-mentioning feature in latest release of the API:

Print XPS Document in Duplex Mode

With latest version of Aspose.XPS, you can make your printer print an XPS document in duplex mode. Following .NET code snippet shows how you can specify JobPrintTicket property of Document object in order to achieve the functionality depending upon the page flip mode:

[.NET]

doc.JobPrintTicket = new 
JobPrintTicket(JobFeature.JobDuplexAllDocumentsContiguously.TwoSidedLongEdge);

OR

doc.JobPrintTicket = new 
JobPrintTicket(JobFeature.JobDuplexAllDocumentsContiguously.TwoSidedShortEdge);

Aspose.XPS for .NET and Java Resources

The following resources will help you work with Aspose.XPS for .NET and Java APIs:

  • Home page for Aspose.XPS API.
  • Aspose.XPS API wiki docs– Help documentation and API reference documents.
  • Aspose.XPS product family forum– Post your technical questions, queries and any other problem you faced while running Aspose.XPS APIs.
  • Enable email subscription– Do not limit yourself, stay up-to-date with the latest news about the Aspose.XPS APIs and new features, fixes, plus other API related topics by subscribing to Aspose.XPS Blog.
  • Aspose.XPS for .NET Examples– We have published our code examples on the social coding website GitHub.com. Anyone can explore the code examples for learning purposes.
  • Aspose.XPS for Java Examples – We have published our code examples on the social coding website GitHub.com. Anyone could explore the code examples for learning purposes.
  • Release Notes (.NET and Java) – For details on API fixes, please check Release Notes having a complete list of the new features.