LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 04-12-2011, 08:02 PM   #1
wufo
Member
 
Registered: Oct 2004
Posts: 209

Rep: Reputation: 15
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
 
Old 04-20-2011, 12:19 AM   #2
lazardo
Member
 
Registered: Feb 2010
Location: SD Bay Area
Posts: 276

Rep: Reputation: Disabled
Try escaping the '?'
Quote:
~ $ xsane hpaio:/net/Officejet_6300_series\?ip=192.168.1.208
 
Old 04-22-2011, 05:25 PM   #3
wufo
Member
 
Registered: Oct 2004
Posts: 209

Original Poster
Rep: Reputation: 15
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Multipage PDF in xsane -- "Failed to start scanner" pwabrahams Linux - Software 4 05-04-2010 12:06 AM
clcok_get(CLOCK_MONOTONIC returns error "Invalid Argument" raghupv30 Linux - Kernel 1 11-19-2009 03:45 AM
error: Error for wireless request "Set Mode" (8B06) : invalid argument "roaming" penguin chick Linux - Wireless Networking 5 08-22-2008 01:16 PM
Unable to "scanimage": "invalid argument” in Debian 4.0 sonichedgehog Linux - Newbie 3 12-02-2007 02:31 PM
"cp -p" fails with "cp: setting permissions for `/home/svbld/t': Invalid argument" mkhesin Red Hat 1 02-28-2007 12:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 09:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration