javascript window.print(), passing number of copies as param

后端 未结 1 1096
清歌不尽
清歌不尽 2020-12-12 02:54

Is there any way that I can pass parameter value to javascript window.print() function. Suppose I would like to print 2 copies, but by default print dialog box shows 1.

1条回答
  •  时光说笑
    2020-12-12 03:49

    No, (un-)fortunately that's not possible.

    I'd say this is a good thing; otherwise some sites would specify a high number and people who don't expect this would accidentally print lots of pages instead of just a single one.

    0 讨论(0)
提交回复
热议问题