I've connected a HP LaserJet CM1312 scanner to my computer using the scanner's LAN port. After configuring the scanner with hp-setup and making a symbolic link from /usr/lib/libhpmud.so.0 to /usr/lib/libhpmud.so (the latter is a known bug), I can scan using:
works as expected.Code:scanimage -T -d hpaio:/net/HP_Color_LaserJet_CM1312nfi_MFP?ip=192.168.1.150
However, when I enter xsane by itself, or enter scanimage -L (that is, without the explicit device name), the scanner isn't detected.
I could enter the device name for those applications, of course, but some applications (e.g., gscan2pdf) don't seem to allow me to enter the device name. So, I'm thinking about sharing the scanner instead so that the clients don't need to know the device name.
I've configured saned.conf on the server to allow the client's IP, and net.conf on the client instructs the clients to connect to the server. This part appears to work: saned -d128 shows that access is granted to the scanner clients.
However, the clients don't detect the scanner. I'm assuming the reason is that the server doesn't detect the scanner with scanimage -L.
How can I force the scanner sharing server to share a specific scanner device, even if scanimage -L doesn't detect the scanner automatically?