Window.print() sets default copies to 2
问题 I have a requirement that by clicking on a button, the printer dialog will open with the number of copies set to 2 instead of the default number 1. 回答1: No it is not possible using pure javascript with window.print(). However, if you are open to using Java Applet, take a look at qz-print aka jzebra. I have personally used this in some past projects for some advance printing requirements and the result is very satisfying. Take a look at their printHTML() method ********************************