Disabling print option in file browser

I am trying to disable the print option in the File menu, to prevent users from downloading any of the files on their Jupyter server. I managed to disable both download and export functions in my Dockerfile using RUN jupyter labextension disable @jupyterlab/docmanager-extension:download && jupyter labextension disable @jupyterlab/filebrowser-extension:download && jupyter labextension disable @jupyterlab/notebook-extension:export but I couldn’t find the same option for the print function anywhere on the Internet. Does anyone have any idea how to disable it?

You can customise individual menus see Interface Customization — JupyterLab 4.3.5 documentation
and you could put these in overrides.json

Most would find such efforts largely futile in the age of smartphones where any user can take a picture and ask llm to transcribe/recreate the contents. The thing is users just get frustrated and blame authors of the software for not thinking of including an export option :wink:

2 Likes