Aspose java pdf printing

Hello Im using Java pdf. I want to print a range of pages. i see that you have the option setPrintRange in PdfPrinterSettings, but its a int value. How can i use it? i want to print for example page 1,5,8 in a document, but that is not a int value. In standard Java printing you have the function PageRanges, where it is possible to do this.

Also, when setting duplex options what are the valuse for Long edge and short edge and simplex.

The Java documentation for pdf printing is more or less missing from you site :frowning:


Hi Mattias,

Thanks for contacting support and sorry for the delayed response.

In order to accomplish your requirement of printing certain pages from PDF document, please extract/get certain pages from PDF file and then try printing them. For further details, please visit