HTML print resolution (or pixel size)

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

Also, is there a way to manage this resolution from CSS?

thanks

+4
source share
2 answers

either 72ppi or 96ppi, depending on the combination of OS / browser. Fields are also a problem.

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

+4
source

I think you can control the size, but not the resolution, of the printed page. Appropriate size units for css printing will include

  • Centimeters (cm)
  • Millimeters (mm)
  • Points (pt)
  • Pica (pc)
  • Inches (in)
  • M (em)
  • X (ex)
+3
source

All Articles