Slow printing big pdf file [500 Pages]

Which product are you using?

PDF.js Express Viewer
PDF.js Express Version


Detailed description of issue
I have issue in printing large pdf file its take a minutes to open system print dialog.

Link to document
{Provide a link to the document in question if possible}

Code snippet

        path: '/js/PDFJSExpress-view-only/lib', // path to the PDF.js Express'lib' folder on your server
        licenseKey: '---------',
        disabledElements: [
            // 'languageButton',
            // 'leftPanel',
            // 'leftPanelButton',
        // initialDoc: '',
        initialDoc: '',
        // initialDoc: '/path/to/my/file.pdf',  // You can also use documents on your server
    }, document.getElementById('pdfViewer'))
        .then(instance => {
            // now you can access APIs through the WebViewer instance
            const {Core, UI} = instance;
            pdfViewer = instance;
            const {documentViewer} = instance.Core;
            instance.UI.setDefaultPrintOptions({includeComments: false, includeAnnotations: false});


Hello abujoudeh1,

This file is complex with high-resolution images with a large page count. I would say this is expected for the complexity.

Best regards,