Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #225314 > unrolled thread

SANE default scanner

Started byNicolas George <george@nsup.org>
First post2020-07-27 12:00 +0200
Last post2020-08-07 17:30 +0200
Articles 20 on this page of 53 — 12 participants

Back to article view | Back to linux.debian.user


Contents

  SANE default scanner Nicolas George <george@nsup.org> - 2020-07-27 12:00 +0200
    Re: SANE default scanner Georgi Naplatanov <gosho@oles.biz> - 2020-07-27 14:00 +0200
      Re: SANE default scanner Nicolas George <george@nsup.org> - 2020-07-27 14:50 +0200
        Re: SANE default scanner Brian <ad44@cityscape.co.uk> - 2020-07-27 15:00 +0200
          Re: SANE default scanner Nicolas George <george@nsup.org> - 2020-07-27 15:00 +0200
            Re: SANE default scanner Brian <ad44@cityscape.co.uk> - 2020-07-27 15:30 +0200
          Re: SANE default scanner Hans <hans.ullrich@loop.de> - 2020-07-27 15:10 +0200
            Re: SANE default scanner Nicolas George <george@nsup.org> - 2020-07-27 15:30 +0200
        Re: SANE default scanner Georgi Naplatanov <gosho@oles.biz> - 2020-07-27 15:10 +0200
          Re: SANE default scanner Reco <recoverym4n@enotuniq.net> - 2020-07-27 15:30 +0200
          Re: SANE default scanner Nicolas George <george@nsup.org> - 2020-07-27 15:40 +0200
            Re: SANE default scanner Brian <ad44@cityscape.co.uk> - 2020-07-27 16:00 +0200
              Re: SANE default scanner Nicolas George <george@nsup.org> - 2020-07-27 16:30 +0200
                Re: SANE default scanner Nicolas George <george@nsup.org> - 2020-07-27 17:40 +0200
                  Re: SANE default scanner Brian <ad44@cityscape.co.uk> - 2020-07-27 18:10 +0200
                Re: SANE default scanner Brian <ad44@cityscape.co.uk> - 2020-07-27 17:40 +0200
            Re: SANE default scanner Georgi Naplatanov <gosho@oles.biz> - 2020-07-27 16:50 +0200
              Re: SANE default scanner Nicolas George <george@nsup.org> - 2020-07-27 17:00 +0200
                Re: SANE default scanner Stefan Monnier <monnier@iro.umontreal.ca> - 2020-07-27 17:20 +0200
                  Re: SANE default scanner Nicolas George <george@nsup.org> - 2020-07-27 17:30 +0200
                    Re: SANE default scanner Stefan Monnier <monnier@iro.umontreal.ca> - 2020-07-27 18:10 +0200
                      Re: SANE default scanner Stefan Monnier <monnier@iro.umontreal.ca> - 2020-07-27 18:40 +0200
                        Re: SANE default scanner Brian <ad44@cityscape.co.uk> - 2020-07-27 19:20 +0200
                      Re: SANE default scanner Nicolas George <george@nsup.org> - 2020-07-27 18:40 +0200
                        Re: SANE default scanner Stefan Monnier <monnier@iro.umontreal.ca> - 2020-07-27 23:10 +0200
                          Re: SANE default scanner Nicolas George <george@nsup.org> - 2020-07-28 00:00 +0200
                            Re: SANE default scanner Stefan Monnier <monnier@iro.umontreal.ca> - 2020-07-28 00:30 +0200
                              Re: SANE default scanner Nicolas George <george@nsup.org> - 2020-07-28 14:20 +0200
                                Re: SANE default scanner Stefan Monnier <monnier@iro.umontreal.ca> - 2020-07-28 16:20 +0200
                                  Re: SANE default scanner Brian <ad44@cityscape.co.uk> - 2020-07-28 21:30 +0200
                                  Re: SANE default scanner Nicolas George <george@nsup.org> - 2020-07-29 11:20 +0200
                                    Re: SANE default scanner <tomas@tuxteam.de> - 2020-07-29 12:10 +0200
                                      Re: SANE default scanner Brian <ad44@cityscape.co.uk> - 2020-07-29 20:30 +0200
                                        Re: SANE default scanner <tomas@tuxteam.de> - 2020-07-29 21:40 +0200
                            Re: SANE default scanner <tomas@tuxteam.de> - 2020-07-28 09:40 +0200
                      Re: SANE default scanner Brian <ad44@cityscape.co.uk> - 2020-07-27 18:40 +0200
                        Re: SANE default scanner Nicolas George <george@nsup.org> - 2020-07-27 18:50 +0200
                          Re: SANE default scanner Brian <ad44@cityscape.co.uk> - 2020-07-27 19:10 +0200
                            Re: SANE default scanner Nicolas George <george@nsup.org> - 2020-07-27 19:20 +0200
                              Re: SANE default scanner Brian <ad44@cityscape.co.uk> - 2020-07-27 20:00 +0200
                    Re: SANE default scanner Nicolas George <george@nsup.org> - 2020-07-27 19:40 +0200
                      Re: SANE default scanner Brian <ad44@cityscape.co.uk> - 2020-07-28 14:20 +0200
                Re: SANE default scanner Brian <ad44@cityscape.co.uk> - 2020-07-27 20:40 +0200
                  Re: SANE default scanner Brian <ad44@cityscape.co.uk> - 2020-07-27 21:20 +0200
                  Re: SANE default scanner Gene Heskett <gheskett@shentel.net> - 2020-07-27 21:20 +0200
        Re: SANE default scanner John Boxall <jboxall47@gmail.com> - 2020-07-27 15:30 +0200
          Re: SANE default scanner Nicolas George <george@nsup.org> - 2020-07-27 15:40 +0200
            Re: SANE default scanner Liam O'Toole <liam.p.otoole@gmail.com> - 2020-07-29 00:00 +0200
    Re: SANE default scanner Nicolas George <george@nsup.org> - 2020-07-27 19:40 +0200
      Re: SANE default scanner Siard <shiems@mailbox.org> - 2020-07-27 20:00 +0200
    Re: SANE default scanner Siard <shiems@mailbox.org> - 2020-07-27 19:40 +0200
    Re: SANE default scanner George Shuklin <george.shuklin@gmail.com> - 2020-08-07 17:20 +0200
      Re: SANE default scanner Nicolas George <george@nsup.org> - 2020-08-07 17:30 +0200

Page 1 of 3  [1] 2 3  Next page →


#225314 — SANE default scanner

FromNicolas George <george@nsup.org>
Date2020-07-27 12:00 +0200
SubjectSANE default scanner
Message-ID<Ax85k-4uf-15@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

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?

Thanks.

-- 
  Nicolas George

[toc] | [next] | [standalone]


#225318

FromGeorgi Naplatanov <gosho@oles.biz>
Date2020-07-27 14:00 +0200
Message-ID<Ax9Xr-5Em-1@gated-at.bofh.it>
In reply to#225314
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 so that tools find it without having to tell
> them each time?
> 

Here is the answer:


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). If no device-name is specified explicitly, scanimage reads a
device-name from the environment variable SANE_DEFAULT_DEVICE. If this
variable is not set, scanimage will attempt to open the first available
device. "

HTH

Kind regards
Georgi

[toc] | [prev] | [next] | [standalone]


#225324

FromNicolas George <george@nsup.org>
Date2020-07-27 14:50 +0200
Message-ID<AxaJP-6dI-3@gated-at.bofh.it>
In reply to#225318

[Multipart message — attachments visible in raw view] — view raw

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). If no device-name is specified explicitly, scanimage reads a
> device-name from the environment variable SANE_DEFAULT_DEVICE. If this
> variable is not set, scanimage will attempt to open the first available
> device. "

Thanks.

Unfortunately, it does not work: for GUI tools, this environment
variable pre-selects the device in the device selection dialog, but it
does not make it appear if it is not detected (?!???@!%@?!!!?).

Also, it works for only one scanner.

Regards,

-- 
  Nicolas George

[toc] | [prev] | [next] | [standalone]


#225325

FromBrian <ad44@cityscape.co.uk>
Date2020-07-27 15:00 +0200
Message-ID<AxaTv-6h1-1@gated-at.bofh.it>
In reply to#225324
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
> > available devices can be obtained with the --list-devices option (see
> > below). If no device-name is specified explicitly, scanimage reads a
> > device-name from the environment variable SANE_DEFAULT_DEVICE. If this
> > variable is not set, scanimage will attempt to open the first available
> > device. "
> 
> Thanks.
> 
> Unfortunately, it does not work: for GUI tools, this environment
> variable pre-selects the device in the device selection dialog, but it
> does not make it appear if it is not detected (?!???@!%@?!!!?).
> 
> Also, it works for only one scanner.

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.

-- 
Brian.

[toc] | [prev] | [next] | [standalone]


#225326

FromNicolas George <george@nsup.org>
Date2020-07-27 15:00 +0200
Message-ID<AxaTv-6h1-5@gated-at.bofh.it>
In reply to#225325

[Multipart message — attachments visible in raw view] — view raw

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 taste for xsane to somehow scan my whole
network just in case a scanner happens to be there.)

Regards,

-- 
  Nicolas George

[toc] | [prev] | [next] | [standalone]


#225334

FromBrian <ad44@cityscape.co.uk>
Date2020-07-27 15:30 +0200
Message-ID<Axbmy-6Gc-9@gated-at.bofh.it>
In reply to#225326
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 all. It only works if I specify the scanner.

That is not the way it works here. SANE runs each of the backends in
turn.
 
> (And I would find very bad taste for xsane to somehow scan my whole
> network just in case a scanner happens to be there.

DNS-SD is probably involved. Hardly scanning every host on the network.

-- 
Brian.

[toc] | [prev] | [next] | [standalone]


#225328

FromHans <hans.ullrich@loop.de>
Date2020-07-27 15:10 +0200
Message-ID<Axb3b-6zL-11@gated-at.bofh.it>
In reply to#225325

[Multipart message — attachments visible in raw view] — view raw

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 example!) of the 
/lib/udev/rules.d/60-libsane.rules". Not all scanners are included here and sometime you 
must add your own into this lib.

Try, hope it helps!

Good luck,

Hans



> 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.


[toc] | [prev] | [next] | [standalone]


#225333

FromNicolas George <george@nsup.org>
Date2020-07-27 15:30 +0200
Message-ID<Axbmy-6Gc-7@gated-at.bofh.it>
In reply to#225328

[Multipart message — attachments visible in raw view] — view raw

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 into this lib.

Thanks, but that is for USB, I am asking for network.

To summarize: I want to tell SANE URLs for network-connected scanners so
that they can be presented to the users in GUI dialogs.

Regards,

-- 
  Nicolas George

[toc] | [prev] | [next] | [standalone]


#225330

FromGeorgi Naplatanov <gosho@oles.biz>
Date2020-07-27 15:10 +0200
Message-ID<Axb3c-6zL-19@gated-at.bofh.it>
In reply to#225324
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 obtained with the --list-devices option (see
>> below). If no device-name is specified explicitly, scanimage reads a
>> device-name from the environment variable SANE_DEFAULT_DEVICE. If this
>> variable is not set, scanimage will attempt to open the first available
>> device. "
> 
> Thanks.
> 
> Unfortunately, it does not work: for GUI tools, this environment
> variable pre-selects the device in the device selection dialog, but it
> does not make it appear if it is not detected (?!???@!%@?!!!?).
> 
> Also, it works for only one scanner.
> 

Hi,

I'm not sure how you share the scanner(s) - with saned or if those are
some kind of network scanners.

In case you share these scanners with saned then this article may be
helpful for you.

https://feeding.cloud.geek.nz/posts/setting-up-a-network-scanner-using-sane/

My understanding is that you have to add scanners'  IP addresses in
/etc/sane.d/net.conf


Kind regards
Georgi

[toc] | [prev] | [next] | [standalone]


#225331

FromReco <recoverym4n@enotuniq.net>
Date2020-07-27 15:30 +0200
Message-ID<Axbmx-6Gc-1@gated-at.bofh.it>
In reply to#225330
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' or 'hp:/dev/usbscanner0'. A (partial) list of
> >> available devices can be obtained with the --list-devices option (see
> >> below). If no device-name is specified explicitly, scanimage reads a
> >> device-name from the environment variable SANE_DEFAULT_DEVICE. If this
> >> variable is not set, scanimage will attempt to open the first available
> >> device. "
> > 
> > Unfortunately, it does not work: for GUI tools, this environment
> > variable pre-selects the device in the device selection dialog, but it
> > does not make it appear if it is not detected (?!???@!%@?!!!?).
> > 
> > Also, it works for only one scanner.
> 
> I'm not sure how you share the scanner(s) - with saned or if those are
> some kind of network scanners.
> 
> In case you share these scanners with saned then this article may be
> helpful for you.
> 
> https://feeding.cloud.geek.nz/posts/setting-up-a-network-scanner-using-sane/
> 
> My understanding is that you have to add scanners'  IP addresses in
> /etc/sane.d/net.conf

That file serves as ACL for saned (server part), and you're supposed to
add clients' IP there. It does not seem to affect xsane or scanimage
(client parts) in any way.

I'm interested in knowing how to set a default device for xsane too
(which could also disable annoying broadcast-based discovery on every
xsane launch), but it looks like there's no way of doing it.
SANE_DEFAULT_DEVICE is an interesting idea, but ultimately is no
different from a shell alias.

Reco

[toc] | [prev] | [next] | [standalone]


#225335

FromNicolas George <george@nsup.org>
Date2020-07-27 15:40 +0200
Message-ID<Axbwd-6Jq-1@gated-at.bofh.it>
In reply to#225330

[Multipart message — attachments visible in raw view] — view raw

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 the users in GUI dialogs.

Regards,

-- 
  Nicolas George

[toc] | [prev] | [next] | [standalone]


#225338

FromBrian <ad44@cityscape.co.uk>
Date2020-07-27 16:00 +0200
Message-ID<AxbPA-6Qv-15@gated-at.bofh.it>
In reply to#225335
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 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. Try

  SANE_DEBUG_DLL=5 scanimage -L

-- 
Brian.

[toc] | [prev] | [next] | [standalone]


#225342

FromNicolas George <george@nsup.org>
Date2020-07-27 16:30 +0200
Message-ID<AxciB-7fE-1@gated-at.bofh.it>
In reply to#225338

[Multipart message — attachments visible in raw view] — view raw

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.0.1.155"
scanner "hpaio:/net/Photosmart_2570_series?ip=10.0.0.32"

into some configuration file, then SANE does not need to see the
scanners: I just told where to find them.

My question is: WHAT CONFIGURATION FILE?

>   SANE_DEBUG_DLL=5 scanimage -L

There is no bug to debug, this is useless.

Regards,

-- 
  Nicolas George

[toc] | [prev] | [next] | [standalone]


#225353

FromNicolas George <george@nsup.org>
Date2020-07-27 17:40 +0200
Message-ID<Axdol-7Sw-3@gated-at.bofh.it>
In reply to#225342

[Multipart message — attachments visible in raw view] — view raw

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 scanners by querying
CUPS for networked printers. But I do not want CUPS running. This is not
a bug, just a completely idiotic design.

Regards,

-- 
  Nicolas George

[toc] | [prev] | [next] | [standalone]


#225358

FromBrian <ad44@cityscape.co.uk>
Date2020-07-27 18:10 +0200
Message-ID<AxdRn-8i6-7@gated-at.bofh.it>
In reply to#225353
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 situation better than you.

>From xsane(1)

  xsane accesses image acquisition devices through the SANE (Scanner
  Access Now Easy) interface. The list of available devices depends on
  installed hardware and configuration. When invoked without an explicit
  devicename argument, xsane presents a dialog listing all known and
  available devices. To access an available device that is not known to
  the system, the devicename must be specified explicitly. The format of
  devicename is backend‐name:devicefile (eg: umax:/dev/sga).

All my networked scanners show in xsane. I wonder why yours are unknown
to the system? You are in the best situation to know.

> But if you insist to know: hpaio detects networked scanners by querying
> CUPS for networked printers. But I do not want CUPS running. This is not
> a bug, just a completely idiotic design.

It's good to have technical reasons for network scanner discovery, even
when they do not match reality.

-- 
Brian.

[toc] | [prev] | [next] | [standalone]


#225355

FromBrian <ad44@cityscape.co.uk>
Date2020-07-27 17:40 +0200
Message-ID<Axdol-7Sw-5@gated-at.bofh.it>
In reply to#225342
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.
> 
> Well, if I write
> 
> scanner "hpaio:/net/deskjet_3050a_j611_series?ip=10.0.1.155"
> scanner "hpaio:/net/Photosmart_2570_series?ip=10.0.0.32"
> 
> into some configuration file, then SANE does not need to see the
> scanners: I just told where to find them.
> 
> My question is: WHAT CONFIGURATION FILE?
> 
> >   SANE_DEBUG_DLL=5 scanimage -L
> 
> There is no bug to debug, this is useless.

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?

-- 
Brian.

[toc] | [prev] | [next] | [standalone]


#225345

FromGeorgi Naplatanov <gosho@oles.biz>
Date2020-07-27 16:50 +0200
Message-ID<AxcBX-7mE-7@gated-at.bofh.it>
In reply to#225335
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 network-connected scanners so
> that they can be presented to the users in GUI dialogs.
> 

Did you try to add scanners to /etc/sane.d/net.conf

there is another howto

https://help.ubuntu.com/community/sane

Kind regards
Georgi

[toc] | [prev] | [next] | [standalone]


#225346

FromNicolas George <george@nsup.org>
Date2020-07-27 17:00 +0200
Message-ID<AxcLE-7pR-5@gated-at.bofh.it>
In reply to#225345

[Multipart message — attachments visible in raw view] — view raw

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 examples:

192.168.0.15
::1
localhost
scan-server.office.lan

net.conf is for scanner shared with SANE's protocol. Notice the "hpaio:"
fake URL protocol.

Regards,

-- 
  Nicolas George

[toc] | [prev] | [next] | [standalone]


#225350

FromStefan Monnier <monnier@iro.umontreal.ca>
Date2020-07-27 17:20 +0200
Message-ID<Axd50-7M3-11@gated-at.bofh.it>
In reply to#225346
> 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 the side benefit that sleeping while connected via USB tends
to consume significantly less power than sleeping while connected via the
wifi network (can't remember what the numbers look like for ethernet).
The difference can be sufficient to power a BananaPi ;-)


        Stefan

[toc] | [prev] | [next] | [standalone]


#225351

FromNicolas George <george@nsup.org>
Date2020-07-27 17:30 +0200
Message-ID<AxdeG-7Pd-23@gated-at.bofh.it>
In reply to#225350

[Multipart message — attachments visible in raw view] — view raw

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 if you are suggesting I should buy a device, even an inexpensive
one, for something that should be done with just a line in a config
file, please think again.

> It also has the side benefit that sleeping while connected via USB tends
> to consume significantly less power than sleeping while connected via the
> wifi network (can't remember what the numbers look like for ethernet).
> The difference can be sufficient to power a BananaPi ;-)

Have you considered turning the printer off and disconnecting it from
the power mains with an external switch?


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 always running. What stupid design.


Regards,

-- 
  Nicolas George

[toc] | [prev] | [next] | [standalone]


Page 1 of 3  [1] 2 3  Next page →

Back to top | Article view | linux.debian.user


csiph-web