aspose file tools*
The moose likes Servlets and the fly likes printing problem in portlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "printing problem in portlet" Watch "printing problem in portlet" New topic
Author

printing problem in portlet

chetan maheshwari
Greenhorn

Joined: Jun 21, 2002
Posts: 3
Sir,
till know we were doing printing of browser page through window.print() command,in JSP.
But now we were using JSP's within the portlet par file.Now the problem is instead of printing only the text content of the tables it also prints the components(Gif's, Images, bars etc) used within the window.
Note :browser contents are not getting printed , onlt the window within the browser is getting printed.I need to print onlt the text content of the tables which is there in the form of report.
So can u suggest us a way to achieve our task of printing a page displayed on browser without printing the window contents.
waiting for ur quick reply
Thanks
Chetan
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12788
    
    5
Some portals add a link to a "printable page" which renders the main text content instead of the page loaded with graphics.
Bill
chanoch wiggers
Author
Ranch Hand

Joined: May 24, 2001
Posts: 245
which as a side effect allows you to log the number of people who care enough to print the stuff off.
I know I appreciate the care taken to make the printouts less full of rubbish that will snarl up the printer.


chanoch<p><a href="http://www.amazon.com/exec/obidos/ASIN/1861007736/" target="_blank" rel="nofollow">Author of Professional Apache Tomcat</a></p>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: printing problem in portlet