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
Node.js 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
CommandButton with Image and Label
printing current webpage...!
How to print a document?
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