
Warning: strpos() expects parameter 1 to be string, array given in /volume1/web/wordpress/wp-includes/blocks.php on line 20

Warning: strpos() expects parameter 1 to be string, array given in /volume1/web/wordpress/wp-includes/blocks.php on line 20

Warning: strpos() expects parameter 1 to be string, array given in /volume1/web/wordpress/wp-includes/blocks.php on line 20
{"id":2781,"date":"2018-03-08T19:32:17","date_gmt":"2018-03-08T19:32:17","guid":{"rendered":"https:\/\/home.worldofwills.uk\/Home\/?p=2781"},"modified":"2018-03-08T19:32:17","modified_gmt":"2018-03-08T19:32:17","slug":"network-scanner-with-sane","status":"publish","type":"post","link":"https:\/\/worldofwills.uk\/wordpress\/2018\/03\/08\/network-scanner-with-sane\/","title":{"rendered":"Network scanner with &#8216;sane&#8217;"},"content":{"rendered":"<p>Previously, I had sorted out my home printer to use a RaspberryPI as a print server and so offer shared printing services on my home wi-fi. However, my printer is a Canon MP630 which is a printer and scanner.<\/p>\n<p>I have a need to scan some old photographs but do not want to mess around disconnecting the MP630 from the RPi and reconnecting it to my main computer. I need to turn my RPi into a network printer and scanner controller that can be built as an embedded system using Buildroot.\u00a0 With this as my main requirement, I &#8216;googled&#8217; &#8216;<em>network scanner linux&#8217;<\/em> software and in the search result was the name &#8216;<em>saned<\/em>&#8216; .<\/p>\n<p>A bit of investigation followed; could <em>sane<\/em> be easily configured in Buildroot? what supporting files did I need to create?. There is a <em>&#8216;sane-backends&#8217;<\/em> directory in the Buildroot &#8216;package&#8217; directory, so after 30 minutes or so of reading I decided to give it a try. The steps needed were:<\/p>\n<ol>\n<li>enable &#8216;<em>sane-backends<\/em>&#8216; in the root system configuration to be used by Buildroot to create the root file system<\/li>\n<li>create an overlay file <em>saned.conf<\/em> which determines who can access the network scanner<\/li>\n<li>create a startup file in <em>\/etc\/init.d<\/em> called <em>S91scanner<\/em> which starts\/stops\/restarts the sane network daemon to automatically start the network daemon at startup.<\/li>\n<li>define the sane network port in a <em>\/etc\/services<\/em> overlay file<\/li>\n<li>then tell Buildroot to build me a new root file system.<\/li>\n<li>move the image to a micro-SD card and boot the RPi<\/li>\n<li>On any client system install something like xsane which is a scanner front end.<\/li>\n<\/ol>\n<p>Amazing, I was able to scan photographs in remotely on the scanner, and then print them from the remote printer\/scanner using the RaspberryPi 0W as the print &amp; scan server.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Previously, I had sorted out my home printer to use a RaspberryPI as a print server and so offer shared printing services on my home wi-fi. However, my printer is a Canon MP630 which is a printer and scanner. I have a need to scan some old photographs but do not want to mess around &hellip; <a href=\"https:\/\/worldofwills.uk\/wordpress\/2018\/03\/08\/network-scanner-with-sane\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Network scanner with &#8216;sane&#8217;&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0},"categories":[20],"tags":[31,37],"_links":{"self":[{"href":"https:\/\/worldofwills.uk\/wordpress\/wp-json\/wp\/v2\/posts\/2781"}],"collection":[{"href":"https:\/\/worldofwills.uk\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/worldofwills.uk\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/worldofwills.uk\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/worldofwills.uk\/wordpress\/wp-json\/wp\/v2\/comments?post=2781"}],"version-history":[{"count":0,"href":"https:\/\/worldofwills.uk\/wordpress\/wp-json\/wp\/v2\/posts\/2781\/revisions"}],"wp:attachment":[{"href":"https:\/\/worldofwills.uk\/wordpress\/wp-json\/wp\/v2\/media?parent=2781"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/worldofwills.uk\/wordpress\/wp-json\/wp\/v2\/categories?post=2781"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/worldofwills.uk\/wordpress\/wp-json\/wp\/v2\/tags?post=2781"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}