{"id":9,"date":"2015-01-18T14:43:16","date_gmt":"2015-01-18T14:43:16","guid":{"rendered":"https:\/\/192.168.0.100\/wordpress\/?p=9"},"modified":"2015-01-26T13:17:37","modified_gmt":"2015-01-26T13:17:37","slug":"cups-mit-airprint-und-google-cloud-print-installieren-debian-whezzy","status":"publish","type":"post","link":"https:\/\/wordpress.steffmaster.mooo.com\/?p=9","title":{"rendered":"Cups mit AirPrint und Google Cloud Print installieren (Debian Whezzy)"},"content":{"rendered":"<pre><\/pre>\n<blockquote>\n<p style=\"text-align: left;\">Cups installieren<\/p>\n<\/blockquote>\n<p style=\"text-align: left;\"><code>apt-get install avahi-daemon cups cups-pdf python-cups<\/code><\/p>\n<p style=\"text-align: left;\">cupsd.conf \u00f6ffnen und Zeilen \u00e4ndern<\/p>\n<p style=\"text-align: left;\"><code>nano \/etc\/cups\/cupsd.conf<\/code><\/p>\n<p style=\"text-align: left;\"># Only listen for connections from the local machine.<\/p>\n<p style=\"text-align: left;\"><code>Port 631<\/code> * Zeile \u00e4ndern<\/p>\n<p style=\"text-align: left;\"># Restrict access to the server&#8230;<br \/>\n&lt;Location \/&gt;<br \/>\nOrder allow,deny<br \/>\n<code>Allow @Local<\/code> * Zeile jeweils hinzuf\u00fcgen<br \/>\n&lt;\/Location&gt;<\/p>\n<p style=\"text-align: left;\"># Restrict access to the admin pages&#8230;<br \/>\n&lt;Location \/admin&gt;<br \/>\nOrder allow,deny<br \/>\n<code>Allow @Local<\/code><br \/>\n&lt;\/Location&gt;<\/p>\n<p style=\"text-align: left;\"># Restrict access to configuration files&#8230;<br \/>\n&lt;Location \/admin\/conf&gt;<br \/>\nAuthType Default<br \/>\nRequire user @SYSTEM<br \/>\nOrder allow,deny<br \/>\n<code>Allow @Local<\/code><br \/>\n&lt;\/Location&gt;<\/p>\n<p style=\"text-align: left;\"><code>service cups restart<br \/>\nadduser username\u00a0lpadmin<\/code><\/p>\n<p style=\"text-align: left;\">Danach erfolgt der Zugriff auf das Web-Interface von CUPS, durch Eingabe von https:\/\/[IP-Adresse]:631<\/p>\n<blockquote><p>Google Cloud Print<\/p><\/blockquote>\n<p style=\"text-align: left;\">sourcelist \u00f6ffnen<\/p>\n<p style=\"text-align: left;\"><code>nano \/etc\/apt\/sources.list<\/code><\/p>\n<p style=\"text-align: left;\">und Quelle hinzuf\u00fcgen<\/p>\n<p style=\"text-align: left;\"><code>deb http:\/\/davesteele.github.io\/cloudprint-service\/repo cloudprintppa main<\/code><\/p>\n<p style=\"text-align: left;\">Auf Konsole Key runterladen<\/p>\n<p style=\"text-align: left;\"><code>wget http:\/\/davesteele.github.io\/key-366150CE.pub.txt<\/code><\/p>\n<p style=\"text-align: left;\"><code>apt-key add key-366150CE.pub.txt<\/code><\/p>\n<p style=\"text-align: left;\">Cloudprint und Cloudservice installieren<\/p>\n<p style=\"text-align: left;\"><code>apt-get update<\/code><\/p>\n<p style=\"text-align: left;\"><code>apt-get install cloudprint cloudprint-service<\/code><\/p>\n<p style=\"text-align: left;\">Drucker hinzuf\u00fcgen mit Google Account Login<\/p>\n<p style=\"text-align: left;\"><code>service cloudprintd login<\/code><\/p>\n<p style=\"text-align: left;\">nach Eingabe der Daten erscheint nach kurzer zeit der gefundene Drucker<\/p>\n<p style=\"text-align: left;\">F\u00fcr Autostart des cloudprint Daemon diesen in \/etc\/rc.local am Ende einf\u00fcgen<\/p>\n<p style=\"text-align: left;\"><code>service cloudprintd start<\/code><\/p>\n<blockquote><p>Cron einrichten (falls notwendig)<\/p><\/blockquote>\n<p style=\"text-align: left;\"><code>nano \/etc\/crontab<\/code><\/p>\n<p style=\"text-align: left;\">am Ende einf\u00fcgen<\/p>\n<p style=\"text-align: left;\"><code># cloudprint<br \/>\n* * * * * root \/var\/Pathzuscript\/cloud.sh<\/code><\/p>\n<p style=\"text-align: left;\">* * * * * f\u00fchrt das Script jede Minute aus<\/p>\n<blockquote><p>cloud.sh Inhalt<\/p><\/blockquote>\n<p style=\"text-align: left;\"><code>#!\/bin\/bash<\/code><br \/>\n<code># Cloudprint Restart<\/code><br \/>\n<code>#<\/code><\/p>\n<p style=\"text-align: left;\"><code>service cloudprintd restart<\/code><\/p>\n<p style=\"text-align: left;\"><code>exit 0<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Cups installieren apt-get install avahi-daemon cups cups-pdf python-cups cupsd.conf \u00f6ffnen und Zeilen \u00e4ndern nano \/etc\/cups\/cupsd.conf # Only listen for connections from the local machine. Port 631 * Zeile \u00e4ndern # Restrict access to the server&#8230; &lt;Location \/&gt; Order allow,deny Allow @Local * Zeile jeweils hinzuf\u00fcgen &lt;\/Location&gt; # Restrict access to the admin pages&#8230; &lt;Location \/admin&gt; &hellip; <a href=\"https:\/\/wordpress.steffmaster.mooo.com\/?p=9\" class=\"more-link\"><span class=\"screen-reader-text\">Cups mit AirPrint und Google Cloud Print installieren (Debian Whezzy)<\/span> weiterlesen<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-9","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/wordpress.steffmaster.mooo.com\/index.php?rest_route=\/wp\/v2\/posts\/9","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.steffmaster.mooo.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wordpress.steffmaster.mooo.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.steffmaster.mooo.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.steffmaster.mooo.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=9"}],"version-history":[{"count":11,"href":"https:\/\/wordpress.steffmaster.mooo.com\/index.php?rest_route=\/wp\/v2\/posts\/9\/revisions"}],"predecessor-version":[{"id":66,"href":"https:\/\/wordpress.steffmaster.mooo.com\/index.php?rest_route=\/wp\/v2\/posts\/9\/revisions\/66"}],"wp:attachment":[{"href":"https:\/\/wordpress.steffmaster.mooo.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=9"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wordpress.steffmaster.mooo.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=9"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wordpress.steffmaster.mooo.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=9"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}