htmlcssprintingresolution

Html printed page resolution (or size in pixels)


Does anybody know what is the resolution that will be used to render a printed HTML page. I'd like to know what size (in centimeters or inches) will be a printed image of say 500x500pixels. I know this value will change if I set the zoom value (IE and FF), but I am interested in the default value (when zoom is at 100%).

Also, is there any way of controlling this resolution from CSS?

Thanks


Solution

  • either 72ppi or 96ppi, depending on combination of OS/browser. Margins are an issue too.

    If this is for a site with login users, get them to set their resolution, or try to guess from the browser. Remember that anyone can change this setting on their computer.