یانا سواروا
jana.svarova@gmail.com ۲۰۱۴
اکاترینا گراسیموفا
kittykat3756@gmail.com ۲۰۱۴

This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.

Prevent the user from printing documents.

# Disable printing

You can disable the print dialog from being shown to users. This can be useful if you are giving temporary access to a user or you do not want the user to print to network printers.

This feature will only work in applications which support it! Not all GNOME and third party applications have this feature enabled. These changes will have no effect on applications which do not support this feature.

# Disable printing

Create the user profile which contains the following lines:

# /etc/dconf/profile/user

user-db:user system-db:local

local is the name of a dconf database.

Create the directory /etc/dconf/db/local.d/ if it does not already exist.

Create the key file /etc/dconf/db/local.d/00-printing to provide information for the local database.

# /etc/dconf/db/local.d/00-printing

# Specify the dconf path [org/gnome/desktop/lockdown]

# Prevent applications from printing disable-printing=true

To prevent the user from overriding these settings, create the file /etc/dconf/db/local.d/locks/printing with the following content:

# /etc/dconf/db/local.d/locks/printing

# Lock printing settings /org/gnome/desktop/lockdown/disable-printing

Update the system databases:

    # dconf update

Users must log out and back in again before the system-wide settings take effect.