1<?xml version="1.0" encoding="utf-8"?>
2<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="tr">
3
4  <info>
5    <link type="guide" xref="user-settings#lockdown"/>
6    <link type="seealso" xref="dconf-lockdown"/>
7    <revision pkgversion="3.11" date="2014-12-04" status="review"/>
8
9    <credit type="author copyright">
10      <name>Jana Svarova</name>
11      <email>jana.svarova@gmail.com</email>
12      <years>2014</years>
13    </credit>
14    <credit type="author copyright">
15      <name>Ekaterina Gerasimova</name>
16      <email>kittykat3756@gmail.com</email>
17      <years>2014</years>
18    </credit>
19
20    <include xmlns="http://www.w3.org/2001/XInclude" href="legal.xml"/>
21
22    <desc>Prevent the user from printing documents.</desc>
23  </info>
24
25  <title>Disable printing</title>
26
27  <p>You can disable the print dialog from being shown to users. This can be
28  useful if you are giving temporary access to a user or you do not want the
29  user to print to network printers.</p>
30
31  <note style="warning">
32    <p>This feature will only work in applications which support it! Not all
33    GNOME and third party applications have this feature enabled. These changes
34    will have no effect on applications which do not support this feature.</p>
35  </note>
36
37  <steps>
38    <title>Disable printing</title>
39    <include xmlns="http://www.w3.org/2001/XInclude" href="dconf-snippets.xml" xpointer="xpointer(/*/*[@xml:id='dconf-profile-user'])"/>
40    <include xmlns="http://www.w3.org/2001/XInclude" href="dconf-snippets.xml" xpointer="xpointer(/*/*[@xml:id='dconf-profile-user-dir'])"/>
41    <item>
42      <p>Create the key file
43      <file>/etc/dconf/db/local.d/00-printing</file> to provide
44      information for the <sys>local</sys> database.</p>
45      <listing>
46        <title><file>/etc/dconf/db/local.d/00-printing</file></title>
47<code>
48# Specify the dconf path
49[org/gnome/desktop/lockdown]
50
51# Prevent applications from printing
52disable-printing=true
53</code>
54     </listing>
55    </item>
56    <item>
57      <p>To prevent the user from overriding these settings, create the file
58      <file>/etc/dconf/db/local.d/locks/printing</file> with the following
59      content:</p>
60      <listing>
61        <title><file>/etc/dconf/db/local.db/locks/printing</file></title>
62<code>
63# Lock printing settings
64/org/gnome/desktop/lockdown/disable-printing
65</code>
66      </listing>
67    </item>
68    <include xmlns="http://www.w3.org/2001/XInclude" href="dconf-snippets.xml" xpointer="xpointer(/*/*[@xml:id='dconf-update'])"/>
69    <include xmlns="http://www.w3.org/2001/XInclude" href="dconf-snippets.xml" xpointer="xpointer(/*/*[@xml:id='dconf-logoutin'])"/>
70  </steps>
71
72</page>
73