A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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.
It is sorta covered in the
JavaRanch Style Guide
subject: Print functionality in JSF
printing current webpage...!
CommandButton with Image and Label
How to hide the Print button in printed document ?
How to print a document?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014