Fun times figuring this out…. AFAIK, this will work for the whole HP Photosmart 2570 series. I’ve got a Photosmart 2575.
First, set up your Photosmart 2575 to print over the network. This is (relatively) simple… install the debian package hplip, then use the gnome Applications->System Tools->Printers GUI to go from there. Or… use the cmd line to get there.
A default debian lenny installation with the joy that is OpenOffice will come with xsane installed. Applications->Graphics->Xsane. Try it… it will fail to find your HP Photosmart.
You have issue #2. To fix this, you need your printer’s IP address, which there are several ways to get. One way: navigate your favorite browser to http://localhost:631 to access your CUPS admin page (creepy, huh? your laptop is running a http server? surprise!). Find your Photosmart 2570 series printer under ‘Manage Printers’, its IP address will be listed there.
Now, using a terminal, run xsane with the following argument:
xsane hpaio:/net/Photosmart_2570_series?ip=xxx.xxx.xxx.xxx
Where xxx.xxx.xxx.xxx is the IP address of your Photosmart 2570 series printer on your local network. Xsane should be able to find your HP Photosmart now. Enjoy….!