Customize paper size | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Customize paper size

Print using windows.print() with a custom size paper

19th Aug 2019, 10:35 PM
Rex Arandia
Rex Arandia - avatar
1 Answer
0
I think there is no API for that. The browser will show the default values for that printer. The only thing, you can probably do, is set the print width using the media query, so that it will look weird in the preview for the user if he selects a different size that has a lot of variation.
15th Jun 2020, 4:32 PM
Lingesan S
Lingesan S - avatar