fredag 25 mars 2011

Hp 3210 URL for scanning

I have a Hp 3210 printer/scanner/copier. It works perfect with Ubuntu, but everytime I have to set it up for scanning i run into problems finding out what parameters I need to start xsane. Here's how to find the url:

Use the program hp-makeuri to generate the uri
$ hp-makeuri 192.168.1.20
the result is in my case:
SANE URI: hpaio:/net/Photosmart_3200_series?ip=192.168.1.20

Now xsane can be started with the uri as parameter:
xsane hpaio:/net/Photosmart_3200_series?ip=192.168.1.20