{"id":190,"date":"2014-08-14T13:12:37","date_gmt":"2014-08-14T04:12:37","guid":{"rendered":"http:\/\/fsck.jp\/?p=190"},"modified":"2018-04-16T10:14:09","modified_gmt":"2018-04-16T01:14:09","slug":"ubuntu%e3%81%a7epson%e3%83%97%e3%83%aa%e3%83%b3%e3%82%bf%e3%82%92%e4%bd%bf%e3%81%86","status":"publish","type":"post","link":"https:\/\/fsck.jp\/?p=190","title":{"rendered":"Ubuntu\u3067EPSON\u30d7\u30ea\u30f3\u30bf\u3092\u4f7f\u3046"},"content":{"rendered":"<p>\u81ea\u5206\u306e\u5834\u5408\u306f\u901a\u5e38\u4f7f\u308f\u306a\u3044\u306e\u3060\u304c\u3001\u5ff5\u306e\u305f\u3081Ubuntu\u30b5\u30fc\u30d0\u304b\u3089\u3082\u5370\u5237\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u3066\u307f\u305f\u3002<br \/>\n\u74b0\u5883:<br \/>\n\u30d7\u30ea\u30f3\u30bf\u30b5\u30fc\u30d0: Ubuntu 14.04 server (64bit) \u30db\u30b9\u30c8\u540d myserver1<br \/>\n\u64cd\u4f5c\u7528\u30c7\u30b9\u30af\u30c8\u30c3\u30d7: Ubuntu 14.04 desktop (64bit) \u30db\u30b9\u30c8\u540d desktop<br \/>\n\u30d7\u30ea\u30f3\u30bf: EPSON EP-802A<br \/>\n\u30d7\u30ea\u30f3\u30bf\u30b5\u30fc\u30d0-\u30d7\u30ea\u30f3\u30bf\u9593\u63a5\u7d9a\u5f62\u5f0f: \u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u7d4c\u7531<\/p>\n<h3>1. \u30d7\u30ea\u30f3\u30bf\u30c9\u30e9\u30a4\u30d0\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9<\/h3>\n<p><a href=\"http:\/\/download.ebz.epson.net\/dsc\/search\/01\/search\/\">EPSON Download Center<\/a> \u3067\u30d7\u30ea\u30f3\u30bf\u578b\u756a\u3092\u30ad\u30fc\u30ef\u30fc\u30c9\u306b\u691c\u7d22\u3057\u3001\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u3002<br \/>\n\u81ea\u5206\u306e\u74b0\u5883\u306e\u5834\u5408\u306f\u3001\u4ee5\u4e0b\u306e4\u3064\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f\u3002<br \/>\niscan-data_1.29.0-2_all.deb<br \/>\niscan_2.29.3-1~usb0.1.ltdl7_amd64.deb<br \/>\nepson-inkjet-printer-ep-902a-series_1.0.0-1lsb3.2_amd64.deb<br \/>\nepson-inkjet-printer-escpr_1.4.1-1lsb3.2_amd64.deb<\/p>\n<h3>2. \u30d7\u30ea\u30f3\u30bf\u30c9\u30e9\u30a4\u30d0\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h3>\n<p>\u5fc5\u8981\u306a\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3002<\/p>\n<pre>\r\nmyserver1$ sudo apt-get install lsb xsltproc<\/pre>\n<p>\u3055\u3089\u306b\u3001\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3002<\/p>\n<pre>\r\nmyserver1$ sudo dpkg -i iscan-data_1.29.0-2_all.deb \\\r\niscan_2.29.3-1~usb0.1.ltdl7_amd64.deb \\\r\nepson-inkjet-printer-ep-902a-series_1.0.0-1lsb3.2_amd64.deb \\\r\nepson-inkjet-printer-escpr_1.4.1-1lsb3.2_amd64.deb<\/pre>\n<h3>3. CUPS\u306e\u8a2d\u5b9a<\/h3>\n<p>\u4eca\u56de\u306e\u8a2d\u5b9a\u5bfe\u8c61\u306f X \u74b0\u5883\u306e\u7121\u3044Ubuntu\u30b5\u30fc\u30d0\u306a\u306e\u3067\u3001\u4ed6\u306e\u30de\u30b7\u30f3(Ubuntu\u30c7\u30b9\u30af\u30c8\u30c3\u30d7)\u304b\u3089\u30ea\u30e2\u30fc\u30c8\u3067\u8a2d\u5b9a\u3057\u305f\u3044\u3002\u305d\u306e\u305f\u3081\u3001CUPS\u306e\u8a2d\u5b9a\u3092\u5909\u66f4\u3057\u3066\u540c\u4e00\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306e\u30de\u30b7\u30f3\u304b\u3089\u306f\u30ea\u30e2\u30fc\u30c8\u7ba1\u7406\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b\u3002<\/p>\n<pre>\r\nmyserver1$ sudo vi \/etc\/cups\/cupsd.conf<\/pre>\n<p>\u4ee5\u4e0b\u3001cupsd.conf\u306e\u7de8\u96c6\u5185\u5bb9\u3092diff -u\u5f62\u5f0f\u3067\u8868\u793a\u3059\u308b\u3002<\/p>\n<pre>\r\n@@ -13,11 +13,12 @@\r\n MaxLogSize 0\r\n\r\n # Only listen for connections from the local machine.\r\n-Listen localhost:631\r\n+#Listen localhost:631\r\n Listen \/var\/run\/cups\/cups.sock\r\n+Port 631\r\n\r\n # Show shared printers on the local network.\r\n-Browsing Off\r\n+Browsing On\r\n BrowseLocalProtocols dnssd\r\n\r\n # Default authentication type, when authentication is required...\r\n@@ -29,11 +30,13 @@\r\n # Restrict access to the server...\r\n &lt;Location \/&gt;\r\n   Order allow,deny\r\n+  Allow @LOCAL\r\n &lt;\/Location&gt;\r\n\r\n # Restrict access to the admin pages...\r\n &lt;Location \/admin>\r\n   Order allow,deny\r\n+  Allow @LOCAL\r\n &lt;\/Location&gt;\r\n\r\n # Restrict access to configuration files...\r\n@@ -41,6 +44,7 @@\r\n   AuthType Default\r\n   Require user @SYSTEM\r\n   Order allow,deny\r\n+  Allow @LOCAL\r\n &lt;\/Location&gt;\r\n\r\n # Set the default printer\/job policies...<\/pre>\n<p>\u30b5\u30fc\u30d3\u30b9\u3092\u518d\u8d77\u52d5\u3059\u308b\u3002<\/p>\n<pre>\r\nmyserver1$ sudo service cups restart<\/pre>\n<h3>4. Ubuntu \u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u304b\u3089\u306e\u8a2d\u5b9a<\/h3>\n<p>\u6b21\u306bUbuntu\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u5074\u3067\u3001system-config-printer\u3092\u4f7f\u3063\u3066\u5148\u306e\u30b5\u30fc\u30d0\u306b\u30ea\u30e2\u30fc\u30c8\u63a5\u7d9a\u3057\u3066\u8a2d\u5b9a\u3092\u5b9f\u65bd\u3059\u308b\u3002system-config-printer\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u306a\u3051\u308c\u3070\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304a\u304f\u3002<\/p>\n<pre>\r\ndesktop$ sudo apt-get install system-config-printer-gnome<\/pre>\n<p>\u624b\u5143\u306eUbuntu 14.04 Desktop\u3067\u306f\u3001\u30b7\u30b9\u30c6\u30e0\u8a2d\u5b9a (unity-control-center) \u306b\u30d7\u30ea\u30f3\u30bf\u306e\u8a2d\u5b9a\u30a2\u30a4\u30b3\u30f3\u304c\u7121\u304b\u3063\u305f\u306e\u3067\u3001\u7aef\u672b\u304b\u3089\u76f4\u63a5\u5b9f\u884c\u3057\u3066 GUI \u3092\u8d77\u52d5\u3057\u305f\u3002<\/p>\n<pre>\r\ndesktop$ system-config-printer<\/pre>\n<p>\u300c\u30b5\u30fc\u30d0\u30fc\u300d\u30e1\u30cb\u30e5\u30fc\u304b\u3089\u300c\u63a5\u7d9a\u300d\u3092\u9078\u629e\u3057\u3066\u3001\u300cCUPS\u30b5\u30fc\u30d0\u30fc\u300d\u6b04\u306bUbuntu\u30b5\u30fc\u30d0\u306eIP\u30a2\u30c9\u30ec\u30b9\u3092\u5165\u529b\u3057\u3066\u63a5\u7d9a\u3059\u308b\u3002<\/p>\n<p>\u3042\u3068\u306f\u300c\u8ffd\u52a0\u300d\u30dc\u30bf\u30f3\u3092\u62bc\u3057\u3066\u300c\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30d7\u30ea\u30f3\u30bf\u30fc\u300d\u306e\u4e2d\u304b\u3089\u300cEpson EP-802A (aa.bb.cc.dd)\u300d\u3001\u63a5\u7d9a\u306f\u300cDNS-SD \u7d4c\u7531\u306e LPD \u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30d7\u30ea\u30f3\u30bf\u30fc\u300d\u3092\u9078\u629e\u3059\u308b\u3002\u30c9\u30e9\u30a4\u30d0\u306f\u81ea\u52d5\u691c\u7d22\u3055\u308c\u3001\u9ad8\u6a5f\u80fd\u7248\u304c\u81ea\u52d5\u7684\u306b\u9078\u3070\u308c\u308b\u3002<\/p>\n<p>\u8a2d\u5b9a\u304c\u7d42\u308f\u3063\u305f\u3089\u3001\u30c6\u30b9\u30c8\u5370\u5237\u3092\u5b9f\u884c\u3057\u3066\u78ba\u8a8d\u3059\u308b\u3002<\/p>\n<p>\u53c2\u8003URL: <a href=\"http:\/\/gihyo.jp\/admin\/serial\/01\/ubuntu-recipe\/0286\">Ubuntu Weekly Recipe \u7b2c286\u56de Ubuntu\u304b\u3089EPSON\u8907\u5408\u6a5fEP-805A\u3092\u4f7f\u7528\u3059\u308b<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u81ea\u5206\u306e\u5834\u5408\u306f\u901a\u5e38\u4f7f\u308f\u306a\u3044\u306e\u3060\u304c\u3001\u5ff5\u306e\u305f\u3081Ubuntu\u30b5\u30fc\u30d0\u304b\u3089\u3082\u5370\u5237\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u3066\u307f\u305f\u3002 \u74b0\u5883: \u30d7\u30ea\u30f3\u30bf\u30b5\u30fc\u30d0: Ubuntu 14.04 server (64bit) \u30db\u30b9\u30c8\u540d myserver1 \u64cd\u4f5c\u7528\u30c7\u30b9\u30af\u30c8 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[13,9],"tags":[],"_links":{"self":[{"href":"https:\/\/fsck.jp\/index.php?rest_route=\/wp\/v2\/posts\/190"}],"collection":[{"href":"https:\/\/fsck.jp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fsck.jp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fsck.jp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fsck.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=190"}],"version-history":[{"count":0,"href":"https:\/\/fsck.jp\/index.php?rest_route=\/wp\/v2\/posts\/190\/revisions"}],"wp:attachment":[{"href":"https:\/\/fsck.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=190"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fsck.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=190"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fsck.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=190"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}