Manipulating the page order or removing pages from the generated PDF can be done by using the pageOrder configuration property with an appropriate page order expression.


Example:

Removing the first page

config.setPageOrder("2..-1");