# Completely disable print

**URL:** <https://pdfjs.community/t/completely-disable-print/1058>\
**Category:** Technical Support\
**Tags:** pdfjs-express\
**Created:** [October 10, 2021, 4:30pm UTC](https://pdfjs.community/t/completely-disable-print/1058 "2021-10-10T16:30:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![abe](https://yyz1.discourse-cdn.com/flex031/user_avatar/pdfjs.community/abe/32/565_2.png) [@abe](https://pdfjs.community/u/abe)\
**Post date:** [October 10, 2021, 4:30pm UTC](https://pdfjs.community/t/completely-disable-print/1058/1 "2021-10-10T16:30:44Z")

</div>

**PDF.js Express Version**  
8.1.0

**Detailed description of issue**

1. I followed this tutorial: [PDF.js Express Viewer Download & Integration | Documentation](https://pdfjs.express/documentation/get-started-viewer/manually)
2. I want to disable the print function including (CTRL + P)

**Does your issue happen with every document, or just one?**  
Yes

How can I disable that?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex031/uploads/pdfjscommunity/original/1X/ffbcd25c7d423db8d5acd5db201c272f4db306dd.png) [@system](https://pdfjs.community/u/system)\
**Post date:** [October 10, 2021, 4:30pm UTC](https://pdfjs.community/t/completely-disable-print/1058/2 "2021-10-10T16:30:49Z")

</div>

**Hello, I’m Ron, an automated tech support bot 🤖**

While you wait for one of our customer support representatives to get back to you, please check out some of these documentation pages:

Guides:
- [APIs for customizing UI](https://pdfjs.express/documentation/ui-customization/api.8)
- [Customizing PDF.js Express Viewer](https://pdfjs.express/documentation/ui-customization/overview)
- [PDF.js Express Viewer Overview - Select an integration or framework to get started - Frameworks](https://pdfjs.express/documentation/get-started-viewer#frameworks)

APIs:
- [Core.Document - disableOfflineMode()](https://pdfjs.express/api/Core.Document.html#disableOfflineMode__anchor)
- [Core.DisplayModeManager - setDisplayMode(displayMode)](https://pdfjs.express/api/Core.DisplayModeManager.html#setDisplayMode__anchor)
- [Core.Tools.Tool - contextMenu(e)](https://pdfjs.express/api/Core.Tools.Tool.html#contextMenu__anchor)

Forums:
- [Evaluating PDF.Js Express as alternative for PDF.Js](https://pdfjs.community/t/evaluating-pdf-js-express-as-alternative-for-pdf-js/474/1)
- [Position of Signature Tools Areas](https://pdfjs.community/t/position-of-signature-tools-areas/942/1)
- [Annotation seems to be doubling or Creating a weird bold when doing a download externally](https://pdfjs.community/t/annotation-seems-to-be-doubling-or-creating-a-weird-bold-when-doing-a-download-externally/947/1)

---

<div class="post-metadata">

**Author:** ![Logan](https://yyz1.discourse-cdn.com/flex031/user_avatar/pdfjs.community/logan/32/13_2.png) [@Logan](https://pdfjs.community/u/Logan)\
**Post date:** [October 12, 2021, 2:49pm UTC](https://pdfjs.community/t/completely-disable-print/1058/3 "2021-10-12T14:49:36Z")

</div>

Hey there! You can disable print with the `disableFeature` api:

```javascript
instance.UI.disableFeatures([instance.UI.Feature.Print]);

```

Thanks,  
Logan
