954,518 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Printing problem

Hey!

Does anyone know how to print out several pages?

I have no problem printing out first page but the rest of the pages is a problem for me.

All pages look the same just with different text so I don't think I need the book class for that.

The print outs are like powerpoints (A picture at the right and the text to it at the right of the picture and so on).

May be there is a method I can invoke to tell how many pages I want?

I appreciate if you have any tips/suggestions

jhonny_86
Newbie Poster
6 posts since Feb 2009
Reputation Points: 10
Solved Threads: 0
 

If you're printing them through AWT, you'll probably need to use a Book for it. If you can get all of the content into a JTextComponent, it's printing API might make it a little easier: http://java.sun.com/docs/books/tutorial/uiswing/misc/printtext.html

Ezzaral
Posting Genius
Moderator
15,986 posts since May 2007
Reputation Points: 3,250
Solved Threads: 847
 

This may be useful if you are stuck with AWT: http://java.sun.com/docs/books/tutorial/2d/printing/set.html

Ezzaral
Posting Genius
Moderator
15,986 posts since May 2007
Reputation Points: 3,250
Solved Threads: 847
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You