• Post Reply Bookmark Topic Watch Topic
  • New Topic

stop printing  RSS feed

 
Thyagarajan Ramanujam
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

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.
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!