• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Piet Souris
  • Al Hobbs
  • salvin francis

AWT - Printing- To set number of pages

Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I had written a code to print the content out from a JEditorpane ....
now the printing goes fine up to 1 page. If the content on the editorpane
increases then the printing terminates at one page and the rest is lost...

Using Book class i can set the number of pages OR set a longer ImageableArea ....But the problem is that i cannot access how many number of pages the content is going to be on the editor pane ..... Now my question is this :

Is there any way i can find out the number of pages of content in the editor pane so that i can set the number of pages in the Book class ....befor printing ?

Thanks a lot in advance
Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic