Re: SANE default scanner

2020-08-07 Thread Nicolas George
George Shuklin (12020-08-07): > > scanimage -d "hpaio:/net/deskjet_3050a_j611_series?ip=10.0.1.155" > > xsane "hpaio:/net/deskjet_3050a_j611_series?ip=10.0.1.155" > > > > Where do I write this URL so that tools find it without having to tell > > them each time? > > > > Thanks. > > > I've just ye

Re: SANE default scanner

2020-08-07 Thread George Shuklin
On 27/07/2020 12:58, Nicolas George wrote: Hi. This may be an obvious thing, but I cannot find the answer. I can scan with: scanimage -d "hpaio:/net/deskjet_3050a_j611_series?ip=10.0.1.155" xsane "hpaio:/net/deskjet_3050a_j611_series?ip=10.0.1.155" Where do I write this URL so that tools find

Re: SANE default scanner

2020-07-29 Thread tomas
On Wed, Jul 29, 2020 at 07:28:21PM +0100, Brian wrote: > On Wed 29 Jul 2020 at 12:07:08 +0200, to...@tuxteam.de wrote: > > [...] can read C. > > Reviewing a patch for a non-extisting bug? That's above and beyond the > call of duty :). Always glad to please ;-P Perhaps I should temper my offer.

Re: SANE default scanner

2020-07-29 Thread Brian
On Wed 29 Jul 2020 at 12:07:08 +0200, to...@tuxteam.de wrote: > On Wed, Jul 29, 2020 at 11:11:22AM +0200, Nicolas George wrote: > > > If the patch is to be rejected, or just ignored, then my time would be > > better invested in an external work-around, it would be less effort than > > forking, an

Re: SANE default scanner

2020-07-29 Thread tomas
On Wed, Jul 29, 2020 at 11:11:22AM +0200, Nicolas George wrote: > Stefan Monnier (12020-07-28): > > The fact that you sometimes can, seems a clear indication that the > > underlying design still makes it possible [...] > "Significant" is a subjective threshold. Probing is less reliable than > conf

Re: SANE default scanner

2020-07-29 Thread Nicolas George
Stefan Monnier (12020-07-28): > The fact that you sometimes can, seems a clear indication that the > underlying design still makes it possible: you just need a bit of code > somewhere in SANE so you can specify this URL in a more central place > than on the command line. IOW, a trivial new feature

Re: SANE default scanner

2020-07-28 Thread Liam O'Toole
On Mon, 27 Jul, 2020 at 15:38:57 +0200, Nicolas George wrote: > John Boxall (12020-07-27): > > I was having the same problem with the same model mfp. I had to go into the > > HPLIP Toolbox app and setup the printer. Once I did that xsane and simple > > scan could find the scanner. > > Thanks for t

Re: SANE default scanner

2020-07-28 Thread Brian
On Tue 28 Jul 2020 at 09:56:20 -0400, Stefan Monnier wrote: > > And the fact that hpaio relies on CUPS is inexcusable. > > I don't see why: first, AFAICT it is still fully functional without > CUPS, and the fact that it tries to make use of CUPS's config > information in order to overcome specifi

Re: SANE default scanner

2020-07-28 Thread Stefan Monnier
>> >> The problem is with scanner that are >> I'm not sure where you found assignment of blame in what I wrote. > "The problem is" is an assignment of technical blame. I was just pointing out in which circumstances the problem appears. No blame was meant and when I reread it I don't see blame bein

Re: SANE default scanner

2020-07-28 Thread Nicolas George
Stefan Monnier (12020-07-27): > >> The problem is with scanner that are > I'm not sure where you found assignment of blame in what I wrote. "The problem is" is an assignment of technical blame. > Apparently not 100% so since it works if you provide the URI explicitly. Most applications do not a

Re: SANE default scanner

2020-07-28 Thread Brian
On Mon 27 Jul 2020 at 19:39:25 +0200, Nicolas George wrote: > Nicolas George (12020-07-27): > > Well, in between explaining why all the answers I got do not match the > > question, I RTFS, and it seems indeed it is not possible with SANE. What > > stupid design. > > > > As for the hpaio backend,

Re: SANE default scanner

2020-07-28 Thread tomas
On Mon, Jul 27, 2020 at 11:49:59PM +0200, Nicolas George wrote: [...] > This is a sadly classic pattern in Libre software: "not my problem, it's > the other project doing it wrong". ...and of all the rest of humanity, too. Cheers -- t signature.asc Description: Digital signature

Re: SANE default scanner

2020-07-27 Thread Stefan Monnier
Nicolas George [2020-07-27 23:49:59] wrote: > Stefan Monnier (12020-07-27): >> Indeed. And given SANE's design, there shouldn't be much need for it: >> it assumes that either the scanner is local (via a hardware-specific >> driver, hpaio being one of them) or it's remotely accessed over the SANE >

Re: SANE default scanner

2020-07-27 Thread Nicolas George
Stefan Monnier (12020-07-27): > Indeed. And given SANE's design, there shouldn't be much need for it: > it assumes that either the scanner is local (via a hardware-specific > driver, hpaio being one of them) or it's remotely accessed over the SANE > protocol, in which case it uses the DNS-SD proto

Re: SANE default scanner

2020-07-27 Thread Stefan Monnier
>> It's definitely possible with SANE. But apparently not with `hpaio`. > I insist: it is not possible with SANE to specify a list of extra > scanners. Indeed. And given SANE's design, there shouldn't be much need for it: it assumes that either the scanner is local (via a hardware-specific drive

Re: SANE default scanner

2020-07-27 Thread Brian
On Mon 27 Jul 2020 at 15:09:52 -0400, Gene Heskett wrote: > At high risk of hyjacking the thread, ... You have driven a bulldozer through it. Please go away, think about what you want to say and devise a new post to express your particular issue. And don't do it again. You should know better and

Re: SANE default scanner

2020-07-27 Thread Gene Heskett
On Monday 27 July 2020 14:32:11 Brian wrote: > On Mon 27 Jul 2020 at 16:52:19 +0200, Nicolas George wrote: > > Georgi Naplatanov (12020-07-27): > > > Did you try to add scanners to /etc/sane.d/net.conf > > > > > > there is another howto > > > > > > https://help.ubuntu.com/community/sane > > > > I

Re: SANE default scanner

2020-07-27 Thread Brian
On Mon 27 Jul 2020 at 16:52:19 +0200, Nicolas George wrote: > Georgi Naplatanov (12020-07-27): > > Did you try to add scanners to /etc/sane.d/net.conf > > > > there is another howto > > > > https://help.ubuntu.com/community/sane > > I did, and as expected it does not work, because > > "hpaio:/

Re: SANE default scanner

2020-07-27 Thread Brian
On Mon 27 Jul 2020 at 19:12:10 +0200, Nicolas George wrote: > Brian (12020-07-27): > > Ok, libsane-hpaio requires libcups.so.2. That's nowhere near requiring > > CUPS, in particular cups-daemon. The printing system is not involved > > with scanning. > > This is the last time I grace you with a re

Re: SANE default scanner

2020-07-27 Thread Siard
Nicolas George: > Siard (12020-07-27): > > It looks simple to me, or am I missing something? > > Does it add the scanner in Gimp's scanner menu? Ah, I guess I see what I was missing.

Re: SANE default scanner

2020-07-27 Thread Nicolas George
Nicolas George (12020-07-27): > Well, in between explaining why all the answers I got do not match the > question, I RTFS, and it seems indeed it is not possible with SANE. What > stupid design. > > As for the hpaio backend, it relies on CUPS to find networked printers, > but CUPS will not be alwa

Re: SANE default scanner

2020-07-27 Thread Nicolas George
Siard (12020-07-27): > It looks simple to me, or am I missing something? Does it add the scanner in Gimp's scanner menu? Regards, -- Nicolas George signature.asc Description: PGP signature

Re: SANE default scanner

2020-07-27 Thread Siard
On Mon, 27 Jul 2020 11:58:44 +0200, Nicolas George wrote: > This may be an obvious thing, but I cannot find the answer. > > I can scan with: > > scanimage -d "hpaio:/net/deskjet_3050a_j611_series?ip=10.0.1.155" > xsane "hpaio:/net/deskjet_3050a_j611_series?ip=10.0.1.155" > > Where do I write thi

Re: SANE default scanner

2020-07-27 Thread Brian
On Mon 27 Jul 2020 at 12:39:11 -0400, Stefan Monnier wrote: > >> > Well, in between explaining why all the answers I got do not match the > >> > question, I RTFS, and it seems indeed it is not possible with SANE. > >> It's definitely possible with SANE. But apparently not with `hpaio`. > > libsan

Re: SANE default scanner

2020-07-27 Thread Nicolas George
Brian (12020-07-27): > Ok, libsane-hpaio requires libcups.so.2. That's nowhere near requiring > CUPS, in particular cups-daemon. The printing system is not involved > with scanning. This is the last time I grace you with a reply. As I have told you twice now, unlike you, I have read the source cod

Re: SANE default scanner

2020-07-27 Thread Brian
On Mon 27 Jul 2020 at 18:39:45 +0200, Nicolas George wrote: > Brian (12020-07-27): > > libsane-hpaio needs CUPS to deal with scanners? Imagination is a great > > asset. Sometimes! > > If you do not believe me, just RTFS or use ldd and nm to check. Ok, libsane-hpaio requires libcups.so.2. That's

Re: SANE default scanner

2020-07-27 Thread Nicolas George
Brian (12020-07-27): > libsane-hpaio needs CUPS to deal with scanners? Imagination is a great > asset. Sometimes! If you do not believe me, just RTFS or use ldd and nm to check. Regards, -- Nicolas George signature.asc Description: PGP signature

Re: SANE default scanner

2020-07-27 Thread Stefan Monnier
>> > Well, in between explaining why all the answers I got do not match the >> > question, I RTFS, and it seems indeed it is not possible with SANE. >> It's definitely possible with SANE. But apparently not with `hpaio`. > libsane-hpaio is a backend that conforms to the SANE standard. On one end,

Re: SANE default scanner

2020-07-27 Thread Nicolas George
Stefan Monnier (12020-07-27): > It's definitely possible with SANE. But apparently not with `hpaio`. I insist: it is not possible with SANE to specify a list of extra scanners. And since SANE lies between applications and back-ends, it is the correct place to implement it. Regards, -- Nicol

Re: SANE default scanner

2020-07-27 Thread Brian
On Mon 27 Jul 2020 at 12:05:15 -0400, Stefan Monnier wrote: > > > Well, in between explaining why all the answers I got do not match the > > question, I RTFS, and it seems indeed it is not possible with SANE. > > It's definitely possible with SANE. But apparently not with `hpaio`. libsane-hpai

Re: SANE default scanner

2020-07-27 Thread Brian
On Mon 27 Jul 2020 at 17:34:52 +0200, Nicolas George wrote: > Brian (12020-07-27): > > Scanning with xsane or simple-scan only works by specifying a URI? You > > don't think this is an issue, in spite of its not being the experience > > of most users? > > Well, I am pretty sure I know my situatio

Re: SANE default scanner

2020-07-27 Thread Stefan Monnier
>> That's the kind of reason why I don't like using printer's own network >> facilities and prefer to connect them over USB to a local GNU/Linux >> server which can then share them over CUPS&SANE. > There will be no computer close enough to the printer to do the job. Indeed, it's not always a conv

Re: SANE default scanner

2020-07-27 Thread Nicolas George
Brian (12020-07-27): > Scanning with xsane or simple-scan only works by specifying a URI? You > don't think this is an issue, in spite of its not being the experience > of most users? Well, I am pretty sure I know my situation better than you. But if you insist to know: hpaio detects networked sc

Re: SANE default scanner

2020-07-27 Thread Brian
On Mon 27 Jul 2020 at 16:15:30 +0200, Nicolas George wrote: > Brian (12020-07-27): > > > To summarize: I want to tell SANE URLs for network-connected scanners so > > > that they can be presented to the users in GUI dialogs. > > > > Not much chance of that happening if SANE cannot see the scanner.

Re: SANE default scanner

2020-07-27 Thread Nicolas George
Stefan Monnier (12020-07-27): > That's the kind of reason why I don't like using printer's own network > facilities and prefer to connect them over USB to a local GNU/Linux > server which can then share them over CUPS&SANE. There will be no computer close enough to the printer to do the job. And

Re: SANE default scanner

2020-07-27 Thread Stefan Monnier
> net.conf is for scanner shared with SANE's protocol. Notice the "hpaio:" > fake URL protocol. That's the kind of reason why I don't like using printer's own network facilities and prefer to connect them over USB to a local GNU/Linux server which can then share them over CUPS&SANE. It also has t

Re: SANE default scanner

2020-07-27 Thread Nicolas George
Georgi Naplatanov (12020-07-27): > Did you try to add scanners to /etc/sane.d/net.conf > > there is another howto > > https://help.ubuntu.com/community/sane I did, and as expected it does not work, because "hpaio:/net/deskjet_3050a_j611_series?ip=10.0.1.155" looks nothing like the provided exa

Re: SANE default scanner

2020-07-27 Thread Georgi Naplatanov
On 7/27/20 4:32 PM, Nicolas George wrote: > Georgi Naplatanov (12020-07-27): >> I'm not sure how you share the scanner(s) - with saned or if those are >> some kind of network scanners. > > I do not share the scanner, the scanner shares itself. > > To summarize: I want to tell SANE URLs for networ

Re: SANE default scanner

2020-07-27 Thread Nicolas George
Brian (12020-07-27): > > To summarize: I want to tell SANE URLs for network-connected scanners so > > that they can be presented to the users in GUI dialogs. > > Not much chance of that happening if SANE cannot see the scanner. Well, if I write scanner "hpaio:/net/deskjet_3050a_j611_series?ip=10

Re: SANE default scanner

2020-07-27 Thread Brian
On Mon 27 Jul 2020 at 15:32:23 +0200, Nicolas George wrote: > Georgi Naplatanov (12020-07-27): > > I'm not sure how you share the scanner(s) - with saned or if those are > > some kind of network scanners. > > I do not share the scanner, the scanner shares itself. > > To summarize: I want to tell

Re: SANE default scanner

2020-07-27 Thread Nicolas George
John Boxall (12020-07-27): > I was having the same problem with the same model mfp. I had to go into the > HPLIP Toolbox app and setup the printer. Once I did that xsane and simple > scan could find the scanner. Thanks for the suggestion. I was hoping to avoid installing the whole GUI crap from H

Re: SANE default scanner

2020-07-27 Thread Nicolas George
Georgi Naplatanov (12020-07-27): > I'm not sure how you share the scanner(s) - with saned or if those are > some kind of network scanners. I do not share the scanner, the scanner shares itself. To summarize: I want to tell SANE URLs for network-connected scanners so that they can be presented to

Re: SANE default scanner

2020-07-27 Thread Brian
On Mon 27 Jul 2020 at 14:53:38 +0200, Nicolas George wrote: > Brian (12020-07-27): > > When xsane is run it searches for devices. If the deskjet_3050a is the > > only one found, that is the one you will get. If there is more than one, > > it presents you with choice. > > It does not find it at al

Re: SANE default scanner

2020-07-27 Thread Nicolas George
Hans (12020-07-27): > I had had a similar problem with a scanner from Brother. The solution was, to > add the > output from lsusb like "5986:0102" (this is just an example!) of the > /lib/udev/rules.d/60-libsane.rules". Not all scanners are included here and > sometime you > must add your own

Re: SANE default scanner

2020-07-27 Thread Reco
On Mon, Jul 27, 2020 at 04:09:08PM +0300, Georgi Naplatanov wrote: > On 7/27/20 3:40 PM, Nicolas George wrote: > > Georgi Naplatanov (12020-07-27): > >> https://linux.die.net/man/1/scanimage > >> > >> "The -d or --device-name options must be followed by a SANE device-name > >> like 'epson:/dev/sg0'

Re: SANE default scanner

2020-07-27 Thread John Boxall
I was having the same problem with the same model mfp. I had to go into the HPLIP Toolbox app and setup the printer. Once I did that xsane and simple scan could find the scanner. On 2020-07-27 8:40 a.m., Nicolas George wrote: Georgi Naplatanov (12020-07-27): https://linux.die.net/man/1/scanim

Re: SANE default scanner

2020-07-27 Thread Georgi Naplatanov
On 7/27/20 3:40 PM, Nicolas George wrote: > Georgi Naplatanov (12020-07-27): >> https://linux.die.net/man/1/scanimage >> >> "The -d or --device-name options must be followed by a SANE device-name >> like 'epson:/dev/sg0' or 'hp:/dev/usbscanner0'. A (partial) list of >> available devices can be obta

Re: SANE default scanner

2020-07-27 Thread Hans
Am Montag, 27. Juli 2020, 14:50:12 CEST schrieb Brian: > On Mon 27 Jul 2020 at 14:40:00 +0200, Nicolas George wrote: > > Georgi Naplatanov (12020-07-27): Hi! I had had a similar problem with a scanner from Brother. The solution was, to add the output from lsusb like "5986:0102" (this is just an e

Re: SANE default scanner

2020-07-27 Thread Nicolas George
Brian (12020-07-27): > When xsane is run it searches for devices. If the deskjet_3050a is the > only one found, that is the one you will get. If there is more than one, > it presents you with choice. It does not find it at all. It only works if I specify the scanner. (And I would find very bad ta

Re: SANE default scanner

2020-07-27 Thread Brian
On Mon 27 Jul 2020 at 14:40:00 +0200, Nicolas George wrote: > Georgi Naplatanov (12020-07-27): > > https://linux.die.net/man/1/scanimage > > > > "The -d or --device-name options must be followed by a SANE device-name > > like 'epson:/dev/sg0' or 'hp:/dev/usbscanner0'. A (partial) list of > > avai

Re: SANE default scanner

2020-07-27 Thread Nicolas George
Georgi Naplatanov (12020-07-27): > https://linux.die.net/man/1/scanimage > > "The -d or --device-name options must be followed by a SANE device-name > like 'epson:/dev/sg0' or 'hp:/dev/usbscanner0'. A (partial) list of > available devices can be obtained with the --list-devices option (see > below

Re: SANE default scanner

2020-07-27 Thread Georgi Naplatanov
On 7/27/20 12:58 PM, Nicolas George wrote: > Hi. > > This may be an obvious thing, but I cannot find the answer. > > I can scan with: > > scanimage -d "hpaio:/net/deskjet_3050a_j611_series?ip=10.0.1.155" > xsane "hpaio:/net/deskjet_3050a_j611_series?ip=10.0.1.155" > > Where do I write this URL

SANE default scanner

2020-07-27 Thread Nicolas George
Hi. This may be an obvious thing, but I cannot find the answer. I can scan with: scanimage -d "hpaio:/net/deskjet_3050a_j611_series?ip=10.0.1.155" xsane "hpaio:/net/deskjet_3050a_j611_series?ip=10.0.1.155" Where do I write this URL so that tools find it without having to tell them each time? T