This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes Need help for printing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Need help for printing" Watch "Need help for printing" New topic
Author

Need help for printing

Ravi Kumarasinghe
Greenhorn

Joined: Jun 07, 2001
Posts: 6
I need to print a report. Currently I am using a JTable. Is it possible to directly print the table without showing it on the screen.
The othe problem is, the tables displaying width is 800 (my screens resolution). Even if I make the table attached frames with more than that length (eg. 1000), still the table is displayed fitted to the scrren. (i.e. tables length is still 800). So my tables column withs are too this. I want to print a table wider than this. How can I do this?.
If I do this using a monitor with a different resolution, can the size of the printed table differ?
How can I print a report specifying my own sizes and which will be same size in any computer ?
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Need help for printing
 
jQuery in Action, 3rd edition