aspose file tools
The moose likes HTML, CSS and JavaScript and the fly likes Print Preview is different from jsp page displayed Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Practical Unit Testing with TestNG and Mockito this week in the Testing forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "Print Preview is different from jsp page displayed" Watch "Print Preview is different from jsp page displayed" New topic
Author

Print Preview is different from jsp page displayed

Dharmendra Sharma
Greenhorn

Joined: Apr 08, 2004
Posts: 6
Hi All
I am developing jsp reports. My problem is that, the displayed jsp on browser is not same as print preview. Its not showing the background color of table, table header and table rows. Its just showing the plane text in print preview mode. What amy be the problem? is thre any solution? like how jsp appears at browser same should be printed. Please any one help me out.
thanks & regards
dkumar_sharma
Bear Bibeault
Author and opinionated walrus
Marshal

Joined: Jan 10, 2002
Posts: 50677

This really has nothing to do with whether the HTML page was generated with JSP or whatever, so I'm moving this to the HTML/Javascript forum.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15003
Your browser's settings are set to not print those things.
If you look at IE tools-internet options-advanced-->Scroll about halfway where you see printing. There will be a checkbox that says something like print backgrounds and images. Check that and it will print.
And before you can ask, no you can not set this on other people's machines!
Eric
 
IntelliJ Java IDE
 
subject: Print Preview is different from jsp page displayed
 
Threads others viewed
blocking access to images
Need help for printing
Problem with anchor tag # when trying to open pdf
Blocking access to images
blocking access to images
IntelliJ Java IDE