Completely disable print

PDF.js Express Version
8.1.0

Detailed description of issue

  1. I followed this tutorial: PDF.js Express Viewer Download & Integration | Documentation
  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?

Hello, I’m Ron, an automated tech support bot :robot:

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:Forums:

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

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

Thanks,
Logan