window.print() – Can you set the paper size?

We have a printer-friendly version of a web page that we want to print. The problem is we want it to print on a 4″*6″ size paper by default.

Is this possible?

2 thoughts on “window.print() – Can you set the paper size?”

  1. What you could try is to put everything in a div with certain width, given in mm or in. Printing this will not select a certain paper size, but it will guarantee to fit, widthwise that is.


Leave a Comment