aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes How to print total page including css background? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "How to print total page including css background?" Watch "How to print total page including css background?" New topic
Author

How to print total page including css background?

Simpson Kumar
Ranch Hand

Joined: Mar 19, 2008
Posts: 261
Hi,

In my JSP, I put the print icon and used event to get the total page print. But instead of printing total page including CSS image and background color, its just printing text only and also prints "print icon", and also in my page we are displaying the rows with alternate colors to identify the user easily, but when we printed the page, the colors in the rows are not displaying.

Why the colors and images from css and background color is not displaying with our html print. Is there any other way to print the page with all??

Could some one please suggest me about this issues.


Thanks,
Kumar
aditee sharma
Ranch Hand

Joined: Jul 22, 2008
Posts: 182
Try changing your browser settings to "print background colors and images".
...just a thought.
Simpson Kumar
Ranch Hand

Joined: Mar 19, 2008
Posts: 261
hi Sharma,

thanks for you reply,

I already changed my browser setting and I can see the images and colors on printed page, but my question is, after I returned back to my main page, how to print the main page? please read the question once again and give me feasible solution.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61610
    
  67

Please take the time to choose the correct forum for your posts. This forum is for questions on JSP.

For more information, please read this.

This post has been moved to a more appropriate forum.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Simpson Kumar
Ranch Hand

Joined: Mar 19, 2008
Posts: 261
Now its printing the page too, this is my system's fault
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: How to print total page including css background?