A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCA Java SE 8 Programmer I Study Guide 1Z0-808
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
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
How to print a document?
How to hide the Print button in printed document ?
printing current webpage...!
CommandButton with Image and Label
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015