ComPDFKit Web SDK
    Preparing search index...

    Function 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.

      Returns void

      printLink.addEventListener('click', () => instance.UI.print());