I write a simple program to print a image in JSF....
I have one image (sampleImage.png).. Already i connected my pc to printer....
Manually i open the image and
You won't be able to print using javascript, since you can't manage hardware devices from the browser and it executes there.