This process needs to be much easier, but until then, here’s a script to get you set up. This is an update of an older post here: http://thetarah.com/2010/10/12/how-to-batch-scan-using-xsane/ to make this more intuitive. Instead of having you follow a long list of instructions, I’ve been testing out scripts to get my common tasks done upon my numerous Kubuntu rebuilds. I have to redo a lot of the things that I’ve posted instructions on, so I’m going to start building and posting helper scripts instead. It’s a good habit to be in anyway. I rebuild my Kubuntu box about once every two months because I am constantly breaking things.
As previously mentioned, I have an HP OfficeJet 6500 Wireless All-In-One. I am using the HP OfficeJet 6500 e709n, hpcups 3.12.6 driver; you should choose whatever driver is recommended for you. Cups printing seems to work
better and be less buggy, especially over the network. Please understand that the following script is imperfect and totally tailored to my hardware; you may need to break it apart and run it piecemeal depending on your setup. However, this should help. As usual, the links that helped me are at the bottom. Nota bene: you may need to rerun ‘hp-check –fix’ two or three times to have it complete all the repairs it needs.
sudo apt-get install xsane libsane-extras hplip-gui -y
sudo usermod -G saned -a $name
sudo usermod -G scanner -a $name
sudo usermod -G lp -a $name
echo hpaio >> /etc/sane.d/dll.conf