I have a web program where I need to print multiple pages from a Print Button on the first page. (Each page also has it's own print button). How can I do this?
Print Multiple Pages
Collapse
X
-
Heya, cmpirie. Welcome to TSDN!
You'll have to call window.print() for each page. JavaScript does not allow you to print multiple pages at one time.
If you open a child window using window.open(), you can also call that window's print() method:
[code=javascript]
var newWin = window.open( ... );
newWin.print();
[/code]
Comment