LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (http://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   xsane networked scanner returns "invalid argument" (http://www.linuxquestions.org/questions/linux-hardware-18/xsane-networked-scanner-returns-invalid-argument-874664/)

wufo 04-12-2011 08:02 PM

xsane networked scanner returns "invalid argument"
 
I am having trouble getting my HP 6310 All-In-One scanner working using it on its ethernet interface, set to 192.168.1.208. Installed fine under cups for printing. hplib installed. I do the following.

~ $ hp-makeuri 192.168.1.208

HP Linux Imaging and Printing System (ver. 3.9.4b)
Device URI Creation Utility ver. 5.0

Copyright (c) 2001-9 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

CUPS URI: hp:/net/Officejet_6300_series?ip=192.168.1.208
SANE URI: hpaio:/net/Officejet_6300_series?ip=192.168.1.208
HP Fax URI: hpfax:/net/Officejet_6300_series?ip=192.168.1.208

Done.

I then run
~ $ xsane hpaio:/net/Officejet_6300_series?ip=192.168.1.208

But I get an error window:
Failed to open device hpaio:/net/Officejet_6300_series?ip=192.168.1.208
Invalid Argument

/etc/cups/printers.conf contains
<Printer HP6310>
Info All In One
Location Den
DeviceURI socket://192.168.1.208
State Idle
StateTime 1302623634
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
</Printer>

What is wrong?

tj

lazardo 04-20-2011 12:19 AM

Try escaping the '?'
Quote:

~ $ xsane hpaio:/net/Officejet_6300_series\?ip=192.168.1.208

wufo 04-22-2011 05:25 PM

Actually I discoverred the problem. I ASSUMED that all necessary software was loaded at Slackware 13.0 install time. Wrong assumption, hpaio was NOT present. After installing it from the distro dvd I downloaded, everything worked perfectly.

tj


All times are GMT -5. The time now is 02:40 PM.