Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
409 views
in Technique[技术] by (71.8m points)

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

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.

Is there alternative function to call print and pass number of copies from browser?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...