{"id":303,"date":"2021-02-06T23:12:23","date_gmt":"2021-02-06T15:12:23","guid":{"rendered":"http:\/\/www.bxworks.com\/?p=303"},"modified":"2021-02-06T23:16:17","modified_gmt":"2021-02-06T15:16:17","slug":"armbian-%e5%ae%89%e8%a3%85-cups-%e6%94%af%e6%8c%81epson-r330","status":"publish","type":"post","link":"http:\/\/www.bxworks.com\/?p=303","title":{"rendered":"Armbian \u5b89\u88c5 cups \u652f\u6301EPSON R330"},"content":{"rendered":"<p>armbian-config<br \/>\n\u8bbe\u7f6e\u56fa\u5b9aip<br \/>\n\u5b89\u88c5cpus<\/p>\n<p>sudo apt-get install printer-driver-gutenprint<br \/>\n\u5b89\u88c5\u6253\u5370\u673a\u9a71\u52a8EPSON R330 \u9009 P50\u6216\u8005T50\uff08\u56fd\u5916\u578b\u53f7\uff09<\/p>\n<p>sudo usermod -a -G lpadmin root<br \/>\n\u628acups\u7528\u6237\u52a0\u5165root\u6743\u9650<\/p>\n<p>sudo nano \/etc\/cups\/cupsd.conf<br \/>\n\u4fee\u6539\u914d\u7f6e\u6587\u4ef6<br \/>\nListen 0.0.0.0:631<br \/>\n#\u65390.0.0.0<\/p>\n<p>Browsing On<br \/>\n#\u6539On<\/p>\n<p>\/\/=========================================================================<br \/>\n\u56fe\u4e2d\u7ea2\u5b57localhost\u6539\u62100.0.0.0<br \/>\nBrowsing off\u6539\u6210Browsing on<br \/>\n\u5e76\u5728\u4e09\u4e2a\u5730\u65b9\u5206\u522b\u6dfb\u52a0Allow all\uff0c\u5177\u4f53\u5982\u4e0b<\/p>\n<p>Listen 0.0.0.0:631<br \/>\nListen \/var\/run\/cups\/cups.sock<\/p>\n<p># Show shared printers on the local network.<br \/>\nBrowsing On<br \/>\nBrowseLocalProtocols dnssd<\/p>\n<p># Default authentication type, when authentication is required&#8230;<br \/>\nDefaultAuthType Basic<\/p>\n<p># Web interface setting&#8230;<br \/>\nWebInterface Yes<\/p>\n<p># Restrict access to the server&#8230;<br \/>\n&lt;Location \/&gt;<br \/>\nOrder allow,deny<br \/>\nAllow all<br \/>\n&lt;\/Location&gt;<\/p>\n<p># Restrict access to the admin pages&#8230;<br \/>\n&lt;Location \/admin&gt;<br \/>\nOrder allow,deny<br \/>\nAllow all<br \/>\n&lt;\/Location&gt;<\/p>\n<p># 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 \/>\nAllow all<br \/>\n\/\/=========================================================================<\/p>\n<p>sudo systemctl restart cups<br \/>\n\u91cd\u542fcpus\u670d\u52a1<\/p>\n<p>\u7f51\u9875\u6253\u5f00 ip:631 \u5f00\u59cb\u914d\u7f6e\u6253\u5370\u673a\uff0c\u671f\u95f4admin\u767b\u5f55\u7684\u7528\u6237\u540d\u5bc6\u7801\u4e3a armbian\u7684\u7528\u6237\u540d\u5bc6\u7801<\/p>\n<p>sudo sudo apt-get -y install avahi-daemon avahi-discover libnss-mdns<br \/>\n#\u5b89\u88c5Avahi\u548cmDns \u652f\u6301 AirPrint \u65e0\u7ebf\u6253\u5370<\/p>\n<p>sudo service avahi-daemon restart<br \/>\n#\u91cd\u542f\u4e0b\u3002\u5b8c\u6210\uff01\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>armbian-config \u8bbe\u7f6e\u56fa\u5b9aip \u5b89\u88c5cpus sudo apt-get install print &hellip; <a href=\"http:\/\/www.bxworks.com\/?p=303\" class=\"more-link\">\u7ee7\u7eed\u9605\u8bfb<span class=\"screen-reader-text\">Armbian \u5b89\u88c5 cups \u652f\u6301EPSON R330<\/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-303","post","type-post","status-publish","format-standard","hentry","category-science"],"_links":{"self":[{"href":"http:\/\/www.bxworks.com\/index.php?rest_route=\/wp\/v2\/posts\/303","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.bxworks.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.bxworks.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.bxworks.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.bxworks.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=303"}],"version-history":[{"count":3,"href":"http:\/\/www.bxworks.com\/index.php?rest_route=\/wp\/v2\/posts\/303\/revisions"}],"predecessor-version":[{"id":306,"href":"http:\/\/www.bxworks.com\/index.php?rest_route=\/wp\/v2\/posts\/303\/revisions\/306"}],"wp:attachment":[{"href":"http:\/\/www.bxworks.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=303"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.bxworks.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=303"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.bxworks.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=303"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}