File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Problem in print printer friendly version Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Problem in print printer friendly version" Watch "Problem in print printer friendly version" New topic

Problem in print printer friendly version

Conie Ooi
Ranch Hand

Joined: Jun 09, 2002
Posts: 31
Hi, I need to implement a print printer friendly version of the jsp pages. Some of the pages contain table. If my table has a lot of columns until I need to scroll to view the whole table, so how am I going to implement the printer friendly of the page?
Can you advice on how to implement this? Thanks a lot...
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17421

Because web browsers and printing systems vary so much, you can't really make a consistent printed output that way. If you want the report to look right regardless of who's printing it, you should create it in PDF form.
There are 2 major paths to do this.
1. Use a PDF-creation utility such as gnujpdf
( or one of its commercial equivalents.
2. Use the "FOP" XML-formatted print facility (

An IDE is no substitute for an Intelligent Developer.
I agree. Here's the link:
subject: Problem in print printer friendly version
It's not a secret anymore!