What you need to get?
There is a DIV block on the web page, for example, a black rectangle. When printing, it is necessary that this block be of size A9 (+ - 1 mm). Let me remind you, the size of A9 is 37 * 52 millimeters.
What was done? I tried to set the size in pixels. Tried this conversion table: Converter
In our case, it should be in pixels approximately width = 140, height = 196.
I tried to use mm instead of pixels. For example:
.div.A9 { width: 37mm; height: 52mm; } In both cases, the printout is a huge difference of + -10-15 mm.
Are there any ways to get the right sizes for printing?
Tested in Chrome latest version.
UPD: Can convert data to PDF (need dimensional accuracy)? What are your options?