• 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 ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • 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
Hi,
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
regards
merwin
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic