File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
EJB 3 in Action
this week in the
EJB and other Java EE Technologies
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.
subject: Print functionality in JSF
printing current webpage...!
How to hide the Print button in printed document ?
CommandButton with Image and Label
How to print a document?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014