I’m developing a program using Aspose PDF for Java that needs to print specific pages from a PDF. I want users to be able to specify multiple ranges and individual pages to print, such as:
Range = 1-7, 10, 12, 15-21
However, the current printerSettings.setPrintRange
method only allows setting a single range using printerSettings.setFromPage()
and printerSettings.setToPage()
.
Is there a way to implement the functionality to print multiple page ranges and individual pages with the current printing capabilities in Java?
Thanks in advance for your help!