I'm trying to setup my HP m1217 mfw so I can scan from my Ubuntu box, mostly because the Windows software is rubbish and I can probably do things better with Linux.

The HP software appears to work and install ok. Only one sticking point - it's a (semi) headless server and X isn't setup. And I don't really want to do that. I will if I have to, but I was wondering if anyone had managed to set it up with a CLI only, or at least if there was a way to use the HP software over SSH only.