# Slow printing big pdf file \[500 Pages\]

**URL:** <https://pdfjs.community/t/slow-printing-big-pdf-file-500-pages/2835>\
**Category:** Technical Support\
**Created:** [September 10, 2023, 10:39am UTC](https://pdfjs.community/t/slow-printing-big-pdf-file-500-pages/2835 "2023-09-10T10:39:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![abujoudeh1](https://avatars.discourse-cdn.com/v4/letter/a/ed655f/32.png) [@abujoudeh1](https://pdfjs.community/u/abujoudeh1)\
**Post date:** [September 10, 2023, 10:39am UTC](https://pdfjs.community/t/slow-printing-big-pdf-file-500-pages/2835/1 "2023-09-10T10:39:28Z")

</div>

**Which product are you using?**

PDF.js Express Viewer  
**PDF.js Express Version**

“8.7.4”

**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}](https://univ-documents.s3.eu-west-3.amazonaws.com/theory-and-practice-of-counseling-and-psychotherapy-1694105484.pdf)

**Code snippet**

```javascript
  WebViewer({
        path: '/js/PDFJSExpress-view-only/lib', // path to the PDF.js Express'lib' folder on your server
        licenseKey: '---------',
        disabledElements: [
            'downloadButton',
            // 'languageButton',
            'fullscreenButton',
            // 'leftPanel',
            // 'leftPanelButton',
        ],
        // initialDoc: 'https://pdftron.s3.amazonaws.com/downloads/pl/webviewer-demo.pdf',
        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.setPrintQuality(2);
            instance.UI.setDefaultPrintOptions({includeComments: false, includeAnnotations: false});

        });

```

---

<div class="post-metadata">

**Author:** ![tgordon](https://avatars.discourse-cdn.com/v4/letter/t/aca169/32.png) [@tgordon](https://pdfjs.community/u/tgordon)\
**Post date:** [September 12, 2023, 4:58pm UTC](https://pdfjs.community/t/slow-printing-big-pdf-file-500-pages/2835/2 "2023-09-12T16:58:35Z")

</div>

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,  
Tyler
