Silly question, but did you just use the same CSS as for the screen, or also make use of the various `@media print {...}` related CSS properties (for things like page breaks, switching to more traditional print units instead of px and rem etc)
I didn't switch distance units, but I did try out more or less everything else. Print-specific css properties weren't well supported or well implemented. Dealing with page breaks was particularly annoying.