views:

66

answers:

0

Regardless of if this is a good idea or not, is it possible to detect printer attributes from the browser?

The idea is that you want to print out a brochure that's selling something. Depending on different things such as if the printer is black&white/colour, high/low resolution, laser/inkjet, printing to a file, etc, you want to print out the page differently. For example you might choose different text colours or fonts, different image sizes, etc.

My initial thoughts are: ActiveX, Flash, Java, Silverlight, browser plugins. Kudos if it's possible in javascript.

I'm interested in all ways to do this, cross browser or not.