{"id":230,"date":"2022-07-12T19:05:04","date_gmt":"2022-07-12T19:05:04","guid":{"rendered":"https:\/\/www.zebadger.com\/wp\/?p=230"},"modified":"2023-05-25T11:56:02","modified_gmt":"2023-05-25T11:56:02","slug":"scanning-in-linux","status":"publish","type":"post","link":"https:\/\/www.zebadger.com\/wp\/?p=230","title":{"rendered":"Scanning in Linux"},"content":{"rendered":"<p>I was having a mare trying to get scanning working on my USB HP Deskjet 2050.<br \/>\nEven though some of these settings are listed as defaults, it produces rubbish.<\/p>\n<p>So I thought that I would document a working command!<\/p>\n<p>Obviously you need to install the scan utilites<br \/>\n<code>matt@server:~$ sudo apt install sane<\/code><\/p>\n<p>Then list the devices:<\/p>\n<p><code>matt@server:~$ scanimage -L device `hpaio:\/usb\/Deskjet_2050_J510_series?serial=XXXXXXXXXX' is a Hewlett-Packard Deskjet_2050_J510_series all-in-one<\/code><\/p>\n<p>And use the output from above to specify the device:<\/p>\n<p><code>scanimage -d \"hpaio:\/usb\/Deskjet_2050_J510_series?serial=XXXXXXXXXX\" --mode Color --resolution 200 --brightness 1000 --contrast 1000 -o scan9.jpg<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I was having a mare trying to get scanning working on my USB HP Deskjet 2050. Even though some of these settings are listed as defaults, it produces rubbish. So I thought that I would document a working command! Obviously you need to install the scan utilites matt@server:~$ sudo apt install sane Then list the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[23],"tags":[],"class_list":["post-230","post","type-post","status-publish","format-standard","hentry","category-linux"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.zebadger.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/230","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.zebadger.com\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.zebadger.com\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.zebadger.com\/wp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.zebadger.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=230"}],"version-history":[{"count":6,"href":"https:\/\/www.zebadger.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/230\/revisions"}],"predecessor-version":[{"id":237,"href":"https:\/\/www.zebadger.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/230\/revisions\/237"}],"wp:attachment":[{"href":"https:\/\/www.zebadger.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=230"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.zebadger.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=230"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.zebadger.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=230"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}