This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Customer Requirements for Developers and have Marcho Behler 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

Win a copy of Customer Requirements for Developers this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Need help for printing" Watch "Need help for printing" New topic

Need help for printing

Ravi Kumarasinghe

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 agree. Here's the link:
subject: Need help for printing
It's not a secret anymore!