{"id":51,"date":"2016-01-04T18:49:35","date_gmt":"2016-01-04T18:49:35","guid":{"rendered":"http:\/\/www.joontech.nl\/wordpress\/?p=51"},"modified":"2018-08-22T19:53:54","modified_gmt":"2018-08-22T19:53:54","slug":"smb-printer-definition-in-gnome-3-shell","status":"publish","type":"post","link":"http:\/\/wordpress.joontech.nl\/?p=51","title":{"rendered":"SMB printer definition in Gnome 3 Shell"},"content":{"rendered":"<p>The standard interface for adding printers in Gnome 3 is not very extensive. When you need to add a lot of options, better to use the following:<\/p>\n<p><strong>system-config-printer<\/strong><\/p>\n<p>This will start a GUI that mimics the inputs and outputs of CUPS, that you can find on<a href=\"http:\/\/localhost:631\/\" target=\"_blank\" rel=\"noopener\"> http:\/\/localhost:631\/<br \/>\n<\/a>CUPS does not allow for some characters to be entered in the forms, where <em>system-config-printer<\/em> does.<br \/>\nThe command lets you browse and search for your printer, but if you already know the URL, then entering that URL directly is preferred. Consider the following:<\/p>\n<pre>smb:\/\/&lt;user_name&gt;:&lt;password&gt;@&lt;domain_name&gt;\/&lt;server_name&gt;\/&lt;printer_name&gt;<\/pre>\n<p>The password will be stored unencrypted in a file only readable by root and CUPS, so will be safe.<br \/>\nYou can find this file here:<\/p>\n<pre>\/etc\/cups\/printers.conf<\/pre>\n<p>After changes to this file, restart CUPS<\/p>\n<pre>sudo systemctl restart cups.service<\/pre>\n<p>Please do not forget to install the packages\u00a0<em>smbclient <\/em>and<em> python3-smbc.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The standard interface for adding printers in Gnome 3 is not very extensive. When you need to add a lot of options, better to use the following: system-config-printer This will start a GUI that mimics the inputs and outputs of CUPS, that you can find on http:\/\/localhost:631\/ CUPS does not allow for some characters to &hellip; <a href=\"http:\/\/wordpress.joontech.nl\/?p=51\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;SMB printer definition in Gnome 3 Shell&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-51","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"http:\/\/wordpress.joontech.nl\/index.php?rest_route=\/wp\/v2\/posts\/51","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/wordpress.joontech.nl\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/wordpress.joontech.nl\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/wordpress.joontech.nl\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/wordpress.joontech.nl\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=51"}],"version-history":[{"count":6,"href":"http:\/\/wordpress.joontech.nl\/index.php?rest_route=\/wp\/v2\/posts\/51\/revisions"}],"predecessor-version":[{"id":54,"href":"http:\/\/wordpress.joontech.nl\/index.php?rest_route=\/wp\/v2\/posts\/51\/revisions\/54"}],"wp:attachment":[{"href":"http:\/\/wordpress.joontech.nl\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=51"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/wordpress.joontech.nl\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=51"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/wordpress.joontech.nl\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=51"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}