How to stop printing the current page and continue from the next page?
For example, My document has 2 pages, First page is getting printed. When a part of the page is printed, the page should be skipped and the printing should resume from the next page.
If parts of the document should not be printed, then don't print those parts. The Printable.print method allows you to perform any processing you need to do depending on the page index, so you can skip whatever needs skipping.
Bring me the box labeled "thinking cap" ... and then read this tiny ad:
a bit of art, as a gift, that will fit in a stocking