Prints the current document (the permission password dialog opens first when printing is not allowed). Pages are rendered behind a spinner overlay and handed to the browser print dialog.
printLink.addEventListener('click', () => instance.UI.print()); Copy
printLink.addEventListener('click', () => instance.UI.print());
Prints the current document (the permission password dialog opens first when printing is not allowed). Pages are rendered behind a spinner overlay and handed to the browser print dialog.