A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java 8 in Action
this week in the
Print functionality in JSF
Joined: Feb 20, 2007
Feb 28, 2009 13:29:11
page where I'm displaying a chart as an image.
I've a print button on my page.
When I click on print button, It should print the image in the page.
Can anybody please suggest me how to achieve this?
Joined: Oct 08, 2006
Mar 01, 2009 20:09:39
Whether a printer prints images from a website depends on the browser's (and in rare cases also the printer's) configuration. Usually they will by default just be printed.
Here I assume that you don't have a CSS media rule specified which for instance hides images from the print media.
I agree. Here's the link:
subject: Print functionality in JSF
printing current webpage...!
How to print a document?
CommandButton with Image and Label
How to hide the Print button in printed document ?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014