Printing the document
Open
- Dominant language
- JavaScript
- Stars
- 333
- Forks
- 98
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
I managed to print the document page by page by looping through the svg `iframe` of each page:
``` js
// The actual pages' svg iframes start from the 1st one, not from 0th
for(i = 1; i++; i < window.frames.length) {
window.frames[i].focus();
window.frames[i].print();
}
```
This opens print preview for each page separately and you can print each of them just fine. But forcing user to click Print for each page is obviously a very bad UX.
Is it possible to print the whole document?
Contributor guide
Assessment
This issue has not been assessed yet.