[sane-devel] HP officejet: access scanner over the network

Till Kamppeter till.kamppeter at gmail.com
Wed Jan 7 08:46:12 UTC 2009


To be able to access your scanner without supplying the scanner URI 
(hpaio:/...) and so also to be able to access it with saned and xsane, 
you need to set up a CUPS queue for the printing part of your device 
(with CUPS URI hp:/net/Officejet_J6400_series?ip=192.168.2.103). Then 
you can do the scanimage command without the -d option:

scanimage -x 215.9 -y 297 -pv --mode gray > $FILE

and use also any other frontend without specifying your scanner. And if 
you run saned, it will share your scanner then.

    Till

Wouter van Marle wrote:
> Has anyone an idea on this issue?
> 
> On Tue, 2008-12-30 at 10:17 -0600, gobo wrote:
>> you need to have hplip installed.  with hplip you can then use hpaio
>> to access the scanner across the network.  for example:
>>
>> scanimage -x 215.9 -y 297 -d
>> hpaio:/net/Officejet_J6400_series?ip=192.168.2.103 -pv --mode gray >
>> $FILE
> 
> OK that part works after substituting my scanner name and ip of course.
> So the scanner can be addressed, and is scanning properly.
> 
> But this is not the way I like to do my scanning of course, it's nice
> for testing and all. How can I integrate this into a saned server or
> whatever, so I can use xsane or another sane compliant software in the
> network to access this scanner?
> 
> Previously the HP was connected to the server over USB, and the rest of
> the workstations could very easily access the scanner through the saned
> interfaces. The workstations are on Mandriva Linux by the way, and could
> easily add this scanner through the control panel. Just give the ip of
> the server, and the scanner was detected automatically.
> 
> Wouter.
> 
>>
>>
>> On Tue, Dec 30, 2008 at 7:45 AM, Wouter van Marle
>> <wouter at squirrel-systems.com> wrote:
>>> Hi all,
>>>
>>> I am the happy owner of an HP Officejet Pro L7560 (an all-in-one
>>> device).
>>>
>>> Until recently I had this connected to my server through USB, and
>>> printing and scanning all worked fine. Of course using sane on the
>>> server to access the scanner from the workstations.
>>>
>>> Now I have a new office, all is rearranged, and the Officejet is
>>> connected directly to the network. It gets it's IP from the server by
>>> DHCP, which I configured to be fixed, so far so good. Printing (though
>>> Cups) works like a charm after some googling to get the correct way to
>>> address the printer, but now scanning! How can I do this? A couple of
>>> hours searching Google didn't give me a single clue... the scanner is
>>> not found automatically by Sane, and no idea on how to address it.
>>>
>>> I'm looking for one of two solutions:
>>> 1) server is talking to the scanner one way or another, and then 
>>> shares
>>> the scanner with the workstations through the existing Sane interface.
>>> 2) the workstations (three only, it's a small network) talk to the
>>> scanner directly (they are all on the same 192.168.2.0/24 subnet) (if
>>> easy/automatically to configure on the workstations).
>>>
>>> Wouter.
>>>
>>>
>>> --
>>> sane-devel mailing list: sane-devel at lists.alioth.debian.org
>>> http://lists.alioth.debian.org/mailman/listinfo/sane-devel
>>> Unsubscribe: Send mail with subject "unsubscribe your_password"
>>>             to sane-devel-request at lists.alioth.debian.org
>>>
>>
> 
> 




More information about the sane-devel mailing list