<?xml version="1.0" encoding="utf-8"?>
<page xmlns="http://projectmallard.org/1.0/" xmlns:its="http://www.w3.org/2005/11/its" type="topic" style="task" id="lockdown-printing" xml:lang="fr">
     
  <info>
    <link type="guide" xref="user-settings#lockdown"/>
    <link type="seealso" xref="dconf-lockdown"/>
    <revision pkgversion="3.11" date="2014-12-04" status="review"/>

    <credit type="author copyright">
      <name>Jana Svarova</name>
      <email>jana.svarova@gmail.com</email>
      <years>2014</years>
    </credit>
    <credit type="author copyright">
      <name>Ekaterina Gerasimova</name>
      <email>kittykat3756@gmail.com</email>
      <years>2014</years>
    </credit>

    <include xmlns="http://www.w3.org/2001/XInclude" href="legal.xml"/>

    <desc>Empêcher l’utilisateur d’imprimer des documents.</desc>
  
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
      <mal:name>Thibault Leclair</mal:name>
      <mal:email>thibaultleclair@yahoo.com</mal:email>
      <mal:years>2021</mal:years>
    </mal:credit>
  
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
      <mal:name>Mathieu Bousquet</mal:name>
      <mal:email>mathieu.bousquet2@gmail.com</mal:email>
      <mal:years>2022</mal:years>
    </mal:credit>
  
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
      <mal:name>Guillaume Bernard</mal:name>
      <mal:email>associations@guillaume-bernard.fr</mal:email>
      <mal:years>2023</mal:years>
    </mal:credit>
  
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
      <mal:name>Irénée Thirion</mal:name>
      <mal:email>irenee.thirion@e.email</mal:email>
      <mal:years>2023-2024</mal:years>
    </mal:credit>
  </info>

  <title>Désactiver l’impression</title>

  <p>Vous pouvez désactiver l’affichage de la fenêtre d’impression. Ceci est utile lorsque vous accordez un accès temporaire à un utilisateur ou pour éviter que celui-ci puisse imprimer avec des imprimantes réseau.</p>

  <note style="warning">
    <p>Cette fonctionnalité ne fonctionne qu’avec les applications compatibles. Ce n’est pas le cas de toutes les applications de GNOME et les applications tierces. Ces modifications n’auront aucun effet sur les applications ne prenant pas en charge cette fonctionnalité.</p>
  </note>

  <steps>
    <title>Désactiver l’impression</title>
    <include xmlns="http://www.w3.org/2001/XInclude" href="dconf-snippets.xml" xpointer="xpointer(/*/*[@xml:id='dconf-profile-user'])"/>
    <include xmlns="http://www.w3.org/2001/XInclude" href="dconf-snippets.xml" xpointer="xpointer(/*/*[@xml:id='dconf-profile-user-dir'])"/>
    <item>
      <p>Créez le fichier de clés <file>/etc/dconf/db/local.d/00-printing</file> pour fournir les informations à la base de données <sys>local</sys>.</p>
      <listing>
        <title><file>/etc/dconf/db/local.d/00-printing</file></title>
<code>
# Spécifier le chemin dconf
[org/gnome/desktop/lockdown]
 
# Empêcher les applications d’imprimer
disable-printing=true
</code>
     </listing>
    </item>
    <item>
      <p>Pour empêcher l’utilisateur de remplacer ces paramètres, créez le fichier <file>/etc/dconf/db/local.d/locks/printing</file> avec le contenu suivant :</p>
      <listing>
        <title><file>/etc/dconf/db/local.d/locks/printing</file></title>
<code>
# Verrouiller les paramètres d’impression
/org/gnome/desktop/lockdown/disable-printing
</code>
      </listing>
    </item>
    <include xmlns="http://www.w3.org/2001/XInclude" href="dconf-snippets.xml" xpointer="xpointer(/*/*[@xml:id='dconf-update'])"/>
    <include xmlns="http://www.w3.org/2001/XInclude" href="dconf-snippets.xml" xpointer="xpointer(/*/*[@xml:id='dconf-logoutin'])"/>
  </steps>

</page>
