Re: [a bit OT] Automate a (G o o g l e) search from a list of strings

2023-09-20 Thread Tamas Sohamar
Using another search engine is not an option?

On Thu, 21 Sept 2023, 05:55 The Wanderer,  wrote:

> On 2023-09-20 at 16:50, Tom Browder wrote:
>
> > On Wed, Sep 20, 2023 at 13:36 Nicolas George 
> > wrote:
> >
> >> Tom Browder (12023-09-20):
> >>
> >>> What if you used an equilavent script but increased and
> >>> randomized time
> >
> > ...
> >
> >> We can try to exercise some common sense, in particular by
> >> comparing to similar situations. For example, if you take something
> >> that does not belong to you, but do it at night, when everybody is
> >> sleeping and being very careful you do not make a step squeak or
> >> break the laser beams, is it still stealing?
> >
> > I apologize. I was not referring to stealing, and I haven't read the
> > details in the terms of use. What I should have  asked was: "is a
> > single query in the script okay?" If so, how much time would have to
> > pass before the next query in order to adhere to the terms of
> > service?
>
> You'd have to refer to the TOS to be certain, but based on the way
> they've been described here, it isn't a question of amount of time. It's
> the fact that you're applying scripts and automation at all, vs. having
> each search be individually triggered by (and, I suspect, the results
> sent/shown to) a real-person user.
>
> Yes, this is horrific in light of the fact that automation is what
> computers are *for* - but it also makes sense from Google's likely
> perspective, and it's entirely plausible that they might care enough to
> try to detect even minimal amounts of automation.
>
> In principle, it probably *would* be possible to script doing such a
> thing in such a way that it would not be sufficiently distinguishable
> from human access patterns for them to be able to tell. (Varying time
> between accesses almost certainly would not do it; among possibly other
> things, you'd need to specify the accessing program, etc., in a way that
> is doable but not necessarily obvious.)
>
> That said, you'd be taking a gamble that your ability to obfuscate such
> things is better than Google's ability to detect it. Who would you
> prefer to bet on in a competition like that?
>
> --
>The Wanderer
>
> The reasonable man adapts himself to the world; the unreasonable one
> persists in trying to adapt the world to himself. Therefore all
> progress depends on the unreasonable man. -- George Bernard Shaw
>
>


Re: Letting Windows go: scanning

2023-09-20 Thread Stefan Monnier
>>          HP LaserJet 400 MFP m425dn
>>                  Min HPLIP Version: 3.12.6
>>                  Chrome OS Support: Yes
>>                  Driver Plug-in: Yes
>>                  Supported Level: Full
>>                  Print Model: Mono
>>                  Scan PC: Yes

The above says that scanning *is* supported by hplip for this printer,
and hplip is compatible with sane, so `xsane` and friends should all
work (and you can even scan over the network when the printer is
connected via USB, by using sane's own network support).

IOW, the question shouldn't be if it works but how to make it work.
For that, you'd first need to describe what it is you have tried and how
it failed.


Stefan



Re: Letting Windows go: scanning

2023-09-20 Thread Tom Browder
On Wed, Sep 20, 2023 at 18:19 gene heskett  wrote:

So whats wrong that no one has suggested sane/xsane?


They have, Gene, the problem is getting it to recognize my HP scanner.

BTW, I have owned many laser HP printers, and one Brother (no inket among
them). I  went back to HP after the Brother. And my HP is laser, two-sided
print and scan, single paper feed, and dual paper size feed.

-Tom


Re: Letting Windows go: scanning

2023-09-20 Thread gene heskett

On 9/20/23 14:38, Tom Browder wrote:



On Wed, Sep 20, 2023 at 13:27 Klaus Singvogel > wrote:


Michael Kjörling wrote:
 > On 20 Sep 2023 12:26 -0500, from tom.brow...@gmail.com
 (Tom Browder):
 > > “Laser Jet Pro 400 MFP m425dn”
 >
 > openprinting.org  doesn't seem to have
heard of it, unfortunately:
 >
 > https://openprinting.org/printers/manufacturer/HP


Unfortunately you made only the first step and not all.

Looking at
https://openprinting.org/driver/hplip/


will lead you via "Supported Devices"-link to
https://developers.hp.com/hp-linux-imaging-and-printing/supported_devices/index 


At HP's website you'll search and find the information that it is
Full supported.

         HP LaserJet 400 MFP m425dn
                 Min HPLIP Version: 3.12.6
                 Chrome OS Support: Yes
                 Driver Plug-in: Yes
                 Supported Level: Full
                 Print Model: Mono
                 Scan PC: Yes

So, install the required hplip packages for Debian (OpenSource) and
see that it is supported.


Thank you, Klaus! I was disappointed I didn't find it because I remember 
having to modify some CUPS driver or interface many years ago when I 
first got the printer. And that was to print. I'm not sure I ever got 
reliable scanning on Linux.


I'll report back soon.

-Tom

And while I may have missed it, there has been no mention of what has 
been the default scanner utility for a decade or more. Is it known for 
sure that sane/xsane does not support this device?


That would have been my first choice of paths. My Brother MFC-J6920DW 
may have in its many year history sold under 10,000 because of its 
up-front cost. Among its features are an 11x17 scanner in the top, with 
a duplex capable ADF feeder in the top for up to letter/a4 paper.  With 
Brothers brscan drivers and xsane, its quite capable of using every 
feature it brags about, thru a usb interface or an ipv4 interface.


Brother's linux drivers fully support every feature this printer 
supports. And the ink tanks are bigger that most. And if powered up, it 
autocleans the nozzles a couple times a day leading to its being almost 
a decade old now, w/o ever a clogged nozzle.  The only ink squirter I've 
ever had that did not expire from clogged nozzles, sometimes before the 
warranty was up.


So whats wrong that no one has suggested sane/xsane?

Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 



Re: [a bit OT] Automate a (G o o g l e) search from a list of strings

2023-09-20 Thread The Wanderer
On 2023-09-20 at 16:50, Tom Browder wrote:

> On Wed, Sep 20, 2023 at 13:36 Nicolas George 
> wrote:
> 
>> Tom Browder (12023-09-20):
>> 
>>> What if you used an equilavent script but increased and
>>> randomized time
> 
> ...
> 
>> We can try to exercise some common sense, in particular by
>> comparing to similar situations. For example, if you take something
>> that does not belong to you, but do it at night, when everybody is
>> sleeping and being very careful you do not make a step squeak or
>> break the laser beams, is it still stealing?
> 
> I apologize. I was not referring to stealing, and I haven't read the 
> details in the terms of use. What I should have  asked was: "is a
> single query in the script okay?" If so, how much time would have to
> pass before the next query in order to adhere to the terms of
> service?

You'd have to refer to the TOS to be certain, but based on the way
they've been described here, it isn't a question of amount of time. It's
the fact that you're applying scripts and automation at all, vs. having
each search be individually triggered by (and, I suspect, the results
sent/shown to) a real-person user.

Yes, this is horrific in light of the fact that automation is what
computers are *for* - but it also makes sense from Google's likely
perspective, and it's entirely plausible that they might care enough to
try to detect even minimal amounts of automation.

In principle, it probably *would* be possible to script doing such a
thing in such a way that it would not be sufficiently distinguishable
from human access patterns for them to be able to tell. (Varying time
between accesses almost certainly would not do it; among possibly other
things, you'd need to specify the accessing program, etc., in a way that
is doable but not necessarily obvious.)

That said, you'd be taking a gamble that your ability to obfuscate such
things is better than Google's ability to detect it. Who would you
prefer to bet on in a competition like that?

-- 
   The Wanderer

The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man. -- George Bernard Shaw



signature.asc
Description: OpenPGP digital signature


Re: Letting Windows go: scanning

2023-09-20 Thread Tom Browder
On Wed, Sep 20, 2023 at 13:37 Tom Browder  wrote:

>
>
> On Wed, Sep 20, 2023 at 13:27 Klaus Singvogel 
> wrote:
>
>> Michael Kjörling wrote:
>> > On 20 Sep 2023 12:26 -0500, from tom.brow...@gmail.com (Tom Browder):
>> > > “Laser Jet Pro 400 MFP m425dn”
>> >
>> > openprinting.org doesn't seem to have heard of it, unfortunately:
>> >
>> > https://openprinting.org/printers/manufacturer/HP
>>
>> Unfortunately you made only the first step and not all.
>>
>> Looking at
>> https://openprinting.org/driver/hplip/
>>
>> will lead you via "Supported Devices"-link to
>>
>> https://developers.hp.com/hp-linux-imaging-and-printing/supported_devices/index
>>
>> At HP's website you'll search and find the information that it is Full
>> supported.
>>
>> HP LaserJet 400 MFP m425dn
>> Min HPLIP Version: 3.12.6
>> Chrome OS Support: Yes
>> Driver Plug-in: Yes
>> Supported Level: Full
>> Print Model: Mono
>> Scan PC: Yes
>>
>> So, install the required hplip packages for Debian (OpenSource) and see
>> that it is supported.
>
>
> Thank you, Klaus! I was disappointed I didn't find it because I remember
> having to modify some CUPS driver or interface many years ago when I first
> got the printer. And that was to print. I'm not sure I ever got reliable
> scanning on Linux.
>
> I'll report back soon.
>

I got stuck with incompatible package requirements for network use, so I
filed a bug report. Their support is active (last release was this year),
so I'm hoping for a fix.

In the meantime, I do have the two alternatives: (1) scan to USB drive or
(2) use my Windows box. Since I'm unhooking my KVM switch setup to make my
wife happy (she's a neat freak and I'm not), I'll have to manually unplug
KVM cables  from the Debian box to hook up them up to the Windows box, so
laziness and the desire for weening from Windows will probably dictate
option 1.

-Tom


Re: [a bit OT] Automate a (G o o g l e) search from a list of strings

2023-09-20 Thread Tom Browder
 On Wed, Sep 20, 2023 at 13:36 Nicolas George  wrote:

> Tom Browder (12023-09-20):
> > What if you used an equilavent script but increased and randomized time

...

We can try to exercise some common sense, in particular by comparing to
> similar situations. For example, if you take something that does not
> belong to you, but do it at night, when everybody is sleeping and being
> very careful you do not make a step squeak or break the laser beams, is
> it still stealing?


I apologize. I was not referring to stealing, and I haven't read the
details in the terms of use. What I should have  asked was: "is a single
query in the script okay?" If so, how much time would have to pass before
the next query in order to adhere to the terms of service?

In the distant past I have used Google's APIs to search mail,  and I
believe there was some kind of rate or time limit for their use.

-Tom


Re: [a bit OT] Automate a (G o o g l e) search from a list of strings

2023-09-20 Thread tomas
On Wed, Sep 20, 2023 at 08:35:54PM +0200, Nicolas George wrote:
> Tom Browder (12023-09-20):
> > What if you used an equilavent script but increased and randomized time
> > between each search string?  Or do you think just the single search is
> > enough to trigger them?
> 
> We can try to exercise some common sense, in particular by comparing to
> similar situations. For example, if you take something that does not
> belong to you, but do it at night, when everybody is sleeping and being
> very careful you do not make a step squeak or break the laser beams, is
> it still stealing? I think most people would consider the answer to the
> question whether what you describes breaks Google's terms of use is the
> same.
> 
> Now, if your interrogation is whether we think you would get away with
> it. Well, as it is roughly equivalent to asking if I think you are
> smarter than the people at Google, I will respectfully decline to
> answer.

Or possibly Google doesn't care /that/ much. Or even possibly they
welcome the degree of lock-in they achieve in "markets" which usually
are beyond their reach (there was a time when Microsoft was definitely
doing this: their license numbers were so easily guessable that it
almost surely wasn't a honest mistake).

Reality is often even messier :)

Cheers
-- 
t


signature.asc
Description: PGP signature


Re: Letting Windows go: scanning

2023-09-20 Thread Tom Browder
On Wed, Sep 20, 2023 at 13:27 Klaus Singvogel 
wrote:

> Michael Kjörling wrote:
> > On 20 Sep 2023 12:26 -0500, from tom.brow...@gmail.com (Tom Browder):
> > > “Laser Jet Pro 400 MFP m425dn”
> >
> > openprinting.org doesn't seem to have heard of it, unfortunately:
> >
> > https://openprinting.org/printers/manufacturer/HP
>
> Unfortunately you made only the first step and not all.
>
> Looking at
> https://openprinting.org/driver/hplip/
>
> will lead you via "Supported Devices"-link to
>
> https://developers.hp.com/hp-linux-imaging-and-printing/supported_devices/index
>
> At HP's website you'll search and find the information that it is Full
> supported.
>
> HP LaserJet 400 MFP m425dn
> Min HPLIP Version: 3.12.6
> Chrome OS Support: Yes
> Driver Plug-in: Yes
> Supported Level: Full
> Print Model: Mono
> Scan PC: Yes
>
> So, install the required hplip packages for Debian (OpenSource) and see
> that it is supported.


Thank you, Klaus! I was disappointed I didn't find it because I remember
having to modify some CUPS driver or interface many years ago when I first
got the printer. And that was to print. I'm not sure I ever got reliable
scanning on Linux.

I'll report back soon.

-Tom


Re: Letting Windows go: scanning

2023-09-20 Thread Klaus Singvogel
Michael Kjörling wrote:
> On 20 Sep 2023 12:26 -0500, from tom.brow...@gmail.com (Tom Browder):
> > “Laser Jet Pro 400 MFP m425dn”
> 
> openprinting.org doesn't seem to have heard of it, unfortunately:
> 
> https://openprinting.org/printers/manufacturer/HP

Unfortunately you made only the first step and not all.

Looking at
https://openprinting.org/driver/hplip/

will lead you via "Supported Devices"-link to

https://developers.hp.com/hp-linux-imaging-and-printing/supported_devices/index

At HP's website you'll search and find the information that it is Full 
supported.

HP LaserJet 400 MFP m425dn
Min HPLIP Version: 3.12.6
Chrome OS Support: Yes
Driver Plug-in: Yes
Supported Level: Full
Print Model: Mono
Scan PC: Yes

So, install the required hplip packages for Debian (OpenSource) and see that it 
is supported.

Can't tell more about the process, as I possess a different, older HP printer.

Best regards,
Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: [a bit OT] Automate a (G o o g l e) search from a list of strings

2023-09-20 Thread Nicolas George
Tom Browder (12023-09-20):
> What if you used an equilavent script but increased and randomized time
> between each search string?  Or do you think just the single search is
> enough to trigger them?

We can try to exercise some common sense, in particular by comparing to
similar situations. For example, if you take something that does not
belong to you, but do it at night, when everybody is sleeping and being
very careful you do not make a step squeak or break the laser beams, is
it still stealing? I think most people would consider the answer to the
question whether what you describes breaks Google's terms of use is the
same.

Now, if your interrogation is whether we think you would get away with
it. Well, as it is roughly equivalent to asking if I think you are
smarter than the people at Google, I will respectfully decline to
answer.

Regards,

-- 
  Nicolas George



Re: Letting Windows go: scanning

2023-09-20 Thread Tom Browder
On Wed, Sep 20, 2023 at 12:46 Brad Rogers  wrote:

> On Wed, 20 Sep 2023 13:17:14 -0400
> Timothy M Butterworth  wrote:
>
> Hello Timothy,
>
> >When I used to use HP MFD's I used to have to connect to it with USB to
> >get scanning. I do not know if network scanning is now supported or not.


Unfortunately, as Michael pointed out, no Linux driver for scanning can be
found. However, I can always scan to a USB thumb drive--I forgot about that.

Thanks, all.

-Tom


Re: Letting Windows go: scanning

2023-09-20 Thread Steve Sobol

On 2023-09-20 10:17, Timothy M Butterworth wrote:


When I used to use HP MFD's I used to have to connect to it with USB
to get scanning. I do not know if network scanning is now supported or
not.


Scanning directly to a computer, using drivers installed on that 
computer, is a nightmare - even with Windows PCs and Brother 
multi-function devices, which (in my opinion) work far better than 
products from any other manufacturer.


Consistently having to reinstall drivers because the MFD's suddenly were 
unable to connect to one or more computers got really old, really 
quickly.


I've started scanning to Windows (SMB) shares. Setting up shared folders 
on a Linux box is easy - Samba is your friend.


If the MFD is network-capable (either wired or wireless), that's the way 
to go.




Re: Letting Windows go: scanning

2023-09-20 Thread Brad Rogers
On Wed, 20 Sep 2023 13:17:14 -0400
Timothy M Butterworth  wrote:

Hello Timothy,

>When I used to use HP MFD's I used to have to connect to it with USB to
>get scanning. I do not know if network scanning is now supported or not.

My HP 8012e (a wifi only device) scans happily.

-- 
 Regards  _   "Valid sig separator is {dash}{dash}{space}"
 / )  "The blindingly obvious is never immediately apparent"
/ _)rad   "Is it only me that has a working delete key?"
It's becoming an obsession
Teenage Depression - Eddie & The Hot Rods


pgpPX6GKp_3cY.pgp
Description: OpenPGP digital signature


Re: Letting Windows go: scanning

2023-09-20 Thread Michael Kjörling
On 20 Sep 2023 12:26 -0500, from tom.brow...@gmail.com (Tom Browder):
> “Laser Jet Pro 400 MFP m425dn”

openprinting.org doesn't seem to have heard of it, unfortunately:

https://openprinting.org/printers/manufacturer/HP

-- 
Michael Kjörling  https://michael.kjorling.se
“Remember when, on the Internet, nobody cared that you were a dog?”



Re: Letting Windows go: scanning

2023-09-20 Thread DdB
Am 20.09.2023 um 19:06 schrieb Tom Browder:
> So how can I get my Debuian host to see and use the scanner part?

No answer from me. Just saying: My situation is similar, but YMMV.
I was using a scanner from MS Windows since almost 20 years. I am on
debian since about 5 years, but never got the scanner to work.

The workaround - for me - is to keep a Windows VM with outdated Win7,
scanner software and configuration, which i use to scan, whereas i can
print to the scanner/printer directly from debian. Certainly a bit
weird, especially the "virtual USB configuration" that is supported
inside my router for this to work, but it does since a long time and
needed adjustments only once in a blue moon.

So i am keeping this very old (scanner-) hardware functional, which has
a laser printer (no inkjet) as long as i still have toner cartridges (no
longer available from producer).

good luck with your endeavor.
DdB



Re: Letting Windows go: scanning

2023-09-20 Thread Tom Browder
On Wed, Sep 20, 2023 at 12:11 Michael Kjörling <2695bd53d...@ewoof.net> wrote:
> On 20 Sep 2023 12:06 -0500, from tom.brow...@gmail.com (Tom Browder):
> > One major thing I use my windows host for is using my HP multifunction
> > laser printer to scan to pdf to save locally.  I have just installed
...
> > So how can I get my Debuian host to see and use the scanner part?
...
> "HP multifunction laser printer" would still encompass a fair number
> of products. Can you be more specific?

Sorry, Michael, it’s a “Laser Jet Pro 400 MFP m425dn” and it’s been a
wonderful printer from the days when you could get HP help from a real
person.

Thanks.

Cheers!

-Tom



Re: Letting Windows go: scanning

2023-09-20 Thread Charles Curley
On Wed, 20 Sep 2023 12:06:12 -0500
Tom Browder  wrote:

> One major thing I use my windows host for is using my HP multifunction
> laser printer to scan to pdf to save locally.  I have just installed
> gscan2pdf and sane but I am still missing something.
> 
> I have tried printing docs from LibreOffice and it sees my networked
> printer and prints just fine.
> 
> So how can I get my Debuian host to see and use the scanner part?

If you have gscan2pdf installed, then you have most of sane. I suggest
you add xsane. It finds my HP LaserJet M234sdwe MF Printer just fine.


-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/



Re: Letting Windows go: scanning

2023-09-20 Thread ghe2001
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256


--- Original Message ---
On Wednesday, September 20th, 2023 at 11:06 AM, Tom Browder 
 wrote:


> One major thing I use my windows host for is using my HP multifunction
> laser printer to scan to pdf to save locally. I have just installed
> gscan2pdf and sane but I am still missing something.
> 
> I have tried printing docs from LibreOffice and it sees my networked
> printer and prints just fine.
> 
> So how can I get my Debuian host to see and use the scanner part?

I've had a Fujitsu s1300i ScanSnap scanner for two or three years, and it's 
still not supported on Linus, as best I can tell.  But there's a guy in England 
who's got a fix.  Here are the instructions that get my scanner going -- I know 
it's way not the same as yours, but I found him on the web, and you may too...

 
websites:
  https://www.josharcher.uk/code/install-scansnap-s1300-drivers-linux/
  
https://www.gaggl.com/2016/11/getting-fujitsu-scansnap-s1300i-to-work-on-ubuntu-16-04lts/
install Sane:
  sudo apt install sane
install Simple Scan:
  sudo apt install simple-scan
download driver to somewhere known (Downloads?):
  https://www.josharcher.uk/static/files/2016/10/1300i_0D12.nal
create dir (mkdir won't do it if the dir's already there):
  sudo mkdir /usr/share/sane/epjitsu/
move driver to
  /usr/share/sane/epjitsu/
unless it's already there, add to /etc/sane.d/epjitsu.conf
  # Fujitsu S1300
  firmware /usr/share/sane/epjitsu/1300_0C26.nal
  usb 0x04c5 0x11ed
power on the scanner and connect it to a known working USB port
see if all is well:   sudo sane-find-scanner | egrep 1300
if all is well, it says:
  found USB scanner (vendor=0x04c5 [FUJITSU], product=0x128d [ScanSnap 
S1300i]) at libusb:004:004
  reboot
run Simple Scan -- after a bit, there should be some whirring in the 
scanner, and it should say "FUJITSU ScanSnap S1300i"
that's all...

--
Glenn English

-BEGIN PGP SIGNATURE-
Version: ProtonMail

wsBzBAEBCAAnBYJlCyp5CZCf14YxgqyMMhYhBCyicw9CUnAlY0ANl5/XhjGC
rIwyAACQEggAlVVvQn/qMUl72YU3R9NE+rSDL41aFknHmshNN0DGPwtN7ioe
NHR8zIl68MhBWgoYH1i6Mr4mCAoIhdFv37ZNJu3+eClDv1glqMqX7PsyihYr
hKCMMpUXbik4M/WTKWt99ddVYxL6rd9v3Uid/thbETnrFbKSvt97jjSFyvhs
kLjtearHgr3WKaX9C7yDCAWjoNdxe7a1S9WJsXwcm8CCmlYCFXnoTFhznout
s1J01knWdvPqK5UE6MHWQuf1LBhD88ApTdx1AVsWIldBUO/tBZheTNXwUOpc
Otbi5xZkilc8vwgx5ZmmgXDwxnU4F6VWFm3qsZJ2m0sOiMwuIYRDVw==
=dz3j
-END PGP SIGNATURE-



Re: Letting Windows go: scanning

2023-09-20 Thread Timothy M Butterworth
On Wed, Sep 20, 2023 at 1:11 PM Michael Kjörling <2695bd53d...@ewoof.net>
wrote:

> On 20 Sep 2023 12:06 -0500, from tom.brow...@gmail.com (Tom Browder):
> > One major thing I use my windows host for is using my HP multifunction
> > laser printer to scan to pdf to save locally.  I have just installed
> > gscan2pdf and sane but I am still missing something.
> >
> > I have tried printing docs from LibreOffice and it sees my networked
> > printer and prints just fine.
> >
> > So how can I get my Debuian host to see and use the scanner part?
>

When I used to use HP MFD's I used to have to connect to it with USB to get
scanning. I do not know if network scanning is now supported or not.


> "HP multifunction laser printer" would still encompass a fair number
> of products. Can you be more specific?
>
> --
> Michael Kjörling  https://michael.kjorling.se
> “Remember when, on the Internet, nobody cared that you were a dog?”
>
>

-- 
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org/
⠈⠳⣄⠀⠀


Re: Letting Windows go: scanning

2023-09-20 Thread Michael Kjörling
On 20 Sep 2023 12:06 -0500, from tom.brow...@gmail.com (Tom Browder):
> One major thing I use my windows host for is using my HP multifunction
> laser printer to scan to pdf to save locally.  I have just installed
> gscan2pdf and sane but I am still missing something.
> 
> I have tried printing docs from LibreOffice and it sees my networked
> printer and prints just fine.
> 
> So how can I get my Debuian host to see and use the scanner part?

"HP multifunction laser printer" would still encompass a fair number
of products. Can you be more specific?

-- 
Michael Kjörling  https://michael.kjorling.se
“Remember when, on the Internet, nobody cared that you were a dog?”



Letting Windows go: scanning

2023-09-20 Thread Tom Browder
One major thing I use my windows host for is using my HP multifunction
laser printer to scan to pdf to save locally.  I have just installed
gscan2pdf and sane but I am still missing something.

I have tried printing docs from LibreOffice and it sees my networked
printer and prints just fine.

So how can I get my Debuian host to see and use the scanner part?

Thanks so much.

-Tom



Re: Printer HP LaserJet MFP M234sdw 5085B1

2023-09-20 Thread Reco
Hi.

On Wed, Sep 20, 2023 at 05:05:12PM +0200, Erwan David wrote:
> On Wed, Sep 20, 2023 at 04:42:12PM CEST, Reco  said:
> > On Wed, Sep 20, 2023 at 04:01:25PM +0200, Erwan David wrote:
> > > Le 20/09/2023 à 15:55, Jörg-Volker Peetz a écrit :
> > > > With this printer CUPS driverless printing works, see 
> > > > https://wiki.debian.org/CUPSDriverlessPrinting . No need for hplip.
> > > > 
> > > Once again : cups driverless printing works ONLY when printer and 
> > > computer are on SAME NETWORK.
> > 
> > Nope, that's not required. Whenever 'same network' is actually 'same L2
> > network segment', or 'same L3 IP subnet'.
> > Because it's totally possible to configure CUPS to use known IPP
> > destination without discovery, like this:
> > 
> > lpadmin -p myprinter -E -v ipp:///ipp/print -m 
> > everywhere
> > 
> > Discovering said IP is another story of course.
> 
> First time I here it (and that's not first time I try to find the info). I'll 
> give it a try. So hplip will still be useful for scanning I guess ?

Of course hplip is still useful for scanning (as in - don't try scanning
anything by any HP MFD without hplip :)
Unless they've implemented "driverless" scanning too.

Reco



Re: [a bit OT] Automate a (G o o g l e) search from a list of strings

2023-09-20 Thread Tom Browder
On Wed, Sep 20, 2023 at 09:35 Andy Smith  wrote:

> Hello,
>
> On Wed, Sep 20, 2023 at 08:13:43AM +0200, steve wrote:
> > Le 19-09-2023, à 16:52:24 +0200, Nicolas George a écrit :
> > > what you intend is completely forbidden by Google's terms and
> > > service. And they have detection: please only do this on a
> > > computer and network access when you will be the only one
> > > inconvenienced when they block your access. It happened on a
> > > computer I co-administrate.


What if you used an equilavent script but increased and randomized time
between each search string?  Or do you think just the single search is
enough to trigger them?

-Tom


Re: Printer HP LaserJet MFP M234sdw 5085B1

2023-09-20 Thread Erwan David
On Wed, Sep 20, 2023 at 04:42:12PM CEST, Reco  said:
> On Wed, Sep 20, 2023 at 04:01:25PM +0200, Erwan David wrote:
> > Le 20/09/2023 à 15:55, Jörg-Volker Peetz a écrit :
> > > With this printer CUPS driverless printing works, see 
> > > https://wiki.debian.org/CUPSDriverlessPrinting . No need for hplip.
> > > 
> > Once again : cups driverless printing works ONLY when printer and computer 
> > are on SAME NETWORK.
> 
> Nope, that's not required. Whenever 'same network' is actually 'same L2
> network segment', or 'same L3 IP subnet'.
> Because it's totally possible to configure CUPS to use known IPP
> destination without discovery, like this:
> 
> lpadmin -p myprinter -E -v ipp:///ipp/print -m 
> everywhere
> 
> Discovering said IP is another story of course.
> 

First time I here it (and that's not first time I try to find the info). I'll 
give it a try. So hplip will still be useful for scanning I guess ?
 

-- 
Erwan



Re: Printer HP LaserJet MFP M234sdw 5085B1

2023-09-20 Thread Reco
On Wed, Sep 20, 2023 at 04:01:25PM +0200, Erwan David wrote:
> Le 20/09/2023 à 15:55, Jörg-Volker Peetz a écrit :
> > With this printer CUPS driverless printing works, see 
> > https://wiki.debian.org/CUPSDriverlessPrinting . No need for hplip.
> > 
> Once again : cups driverless printing works ONLY when printer and computer 
> are on SAME NETWORK.

Nope, that's not required. Whenever 'same network' is actually 'same L2
network segment', or 'same L3 IP subnet'.
Because it's totally possible to configure CUPS to use known IPP
destination without discovery, like this:

lpadmin -p myprinter -E -v ipp:///ipp/print -m 
everywhere

Discovering said IP is another story of course.

Reco



Re: Printer HP LaserJet MFP M234sdw 5085B1

2023-09-20 Thread Erwan David

Le 20/09/2023 à 15:55, Jörg-Volker Peetz a écrit :
With this printer CUPS driverless printing works, see 
https://wiki.debian.org/CUPSDriverlessPrinting . No need for hplip.


Regards,
Jörg.



Once again : cups driverless printing works ONLY when printer and 
computer are on SAME NETWORK.


SO maybe there is no need for hplip, maybe there is. One cannot say

--
Erwan David



Re: Printer HP LaserJet MFP M234sdw 5085B1

2023-09-20 Thread Jörg-Volker Peetz
With this printer CUPS driverless printing works, see 
https://wiki.debian.org/CUPSDriverlessPrinting . No need for hplip.


Regards,
Jörg.




Re: El entorno gráfico no muestra unidades extraíbles USB

2023-09-20 Thread Camaleón
El 2023-09-20 a las 09:42 +0200, Julian Daich escribió:

> El lun, 18 sept 2023 a las 21:10, Germán Avendaño Ramírez
> () escribió:
> >
> > Tengo debian 11, con xfce. Para montar usb u otros discos uso el comando
> >
> > 'udisksctl mount -b /dev/sdbX'
> >
> 
> Hola,
> 
> Gracias, el problema puede estar por aquí
> $ udisksctl mount -b /dev/sdbb
> Error connecting to the udisks daemon: Se alcanzó el tiempo de expiración
> 
> Con sudo la respuesta no cambia. Lo mismo con udisksctl status y
> udisksctl monitor.
> 
> Tengo instalado udisks2, pero no udisks2d porque ya no está disponible
> 
> $ systemctl status udisks2
> ● udisks2.service - Disk Manager
>  Loaded: loaded (/lib/systemd/system/udisks2.service; disabled; preset: 
> disabled)

^^
>  Active: active (running) since Wed 2023-09-20 08:09:47 CEST; 1h 28min ago
>Docs: man:udisks(8)
>Main PID: 4917 (udisksd)
>   Tasks: 7 (limit: 9280)
>  Memory: 93.8M
> CPU: 22min 56.771s
>  CGroup: /system.slice/udisks2.service
>  ├─ 4917 /usr/libexec/udisks2/udisksd
>  └─11737 fsck.vfat -nv /dev/sdb1

El servicio aparece como DESACTIVADO, pero creo que debería cargarse al 
inicio. Así lo tengo yo:


root@stt008:~# systemctl status udisks2
● udisks2.service - Disk Manager
 Loaded: loaded (/lib/systemd/system/udisks2.service; enabled; vendor 
preset: enabled)
 Active: active (running) since Wed 2023-09-20 08:07:43 CEST; 5h 46min ago
   Docs: man:udisks(8)
   Main PID: 459 (udisksd)
  Tasks: 5 (limit: 9512)
 Memory: 10.6M
CPU: 5.599s
 CGroup: /system.slice/udisks2.service
 └─459 /usr/libexec/udisks2/udisksd

sep 20 08:07:39 stt008 systemd[1]: Starting Disk Manager...
sep 20 08:07:39 stt008 udisksd[459]: udisks daemon version 2.9.2 starting
sep 20 08:07:43 stt008 systemd[1]: Started Disk Manager.
sep 20 08:07:43 stt008 udisksd[459]: Acquired the name org.freedesktop.UDisks2 
on the system message bus


Saludos,

-- 
Camaleón 



Re: memtest86 (solved)

2023-09-20 Thread Tom Browder
On Wed, Sep 13, 2023 at 09:10 Tom Browder  wrote:

> Here I am again seeking help. I have used memtest86 long ago when I burned
> it on a CDROM disk.
>

Finally tested all my memory modules using a recent system rescue cd and
its memtest86+. One bad module out of four.

Sending bad module back for warranty replacement.

Thanks for your help.

Cheers!

-Tom

>


Re: El entorno gráfico no muestra unidades extraíbles USB

2023-09-20 Thread Julian Daich
El mié, 20 sept 2023 a las 10:15, José Luis Triviño Rodriguez
() escribió:
>
> Buenos días,
>
> Igual no tiene nada que ver. Pero... ¿por casualidad tienes instalado
> chrome-remote_desktop? A mi me pasó que, cuando arrancaba esta
> aplicación, aunque no la estuviese usando, me impedía montar los
> dispositivos USB.
>

Hola,

Por suerte no tengo instalado chrome-remote_desktop.

Saludos,

Julián

> Saludos,
>
> El 20/9/23 a las 9:42, Julian Daich escribió:
> > El lun, 18 sept 2023 a las 21:10, Germán Avendaño Ramírez
> > () escribió:
> >> Tengo debian 11, con xfce. Para montar usb u otros discos uso el comando
> >>
> >> 'udisksctl mount -b /dev/sdbX'
> >>
> > Hola,
> >
> > Gracias, el problema puede estar por aquí
> > $ udisksctl mount -b /dev/sdbb
> > Error connecting to the udisks daemon: Se alcanzó el tiempo de expiración
> >
> > Con sudo la respuesta no cambia. Lo mismo con udisksctl status y
> > udisksctl monitor.
> >
> > Tengo instalado udisks2, pero no udisks2d porque ya no está disponible
> >
> > $ systemctl status udisks2
> > ● udisks2.service - Disk Manager
> >   Loaded: loaded (/lib/systemd/system/udisks2.service; disabled;
> > preset: disabled)
> >   Active: active (running) since Wed 2023-09-20 08:09:47 CEST; 1h 28min 
> > ago
> > Docs: man:udisks(8)
> > Main PID: 4917 (udisksd)
> >Tasks: 7 (limit: 9280)
> >   Memory: 93.8M
> >  CPU: 22min 56.771s
> >   CGroup: /system.slice/udisks2.service
> >   ├─ 4917 /usr/libexec/udisks2/udisksd
> >   └─11737 fsck.vfat -nv /dev/sdb1
> >
> > Saludos,
> >
> > Julián
> >
> >
> >> Atentamente,
> >>
> >> --
> >> Mancho
> >> @mancho en Gorf.tube
> >>
> >
> > --
> > Julian
> >
> --
> José L. Triviño-Rodriguez
> Dept. Languages and Computer Sciences
> University of Málaga
>


-- 
Julian



Re: [ SOLUCIONADO] El entorno gráfico no muestra unidades extraíbles USB

2023-09-20 Thread Julian Daich
El mié, 20 sept 2023 a las 9:42, Julian Daich () escribió:

> Tengo instalado udisks2, pero no udisks2d porque ya no está disponible

Hoy se actualizó udisks2 y empezó a funcionar.

Larga vida  Sid.

 Saludos,

 Julián

>
>
> > Atentamente,
> >
> > --
> > Mancho
> > @mancho en Gorf.tube
> >
>
>
> --
> Julian



-- 
Julian



Re: [a bit OT] Automate a (G o o g l e) search from a list of strings

2023-09-20 Thread steve

Le 20-09-2023, à 08:46:06 +, Andy Smith a écrit :


Hello,

On Wed, Sep 20, 2023 at 08:13:43AM +0200, steve wrote:

Le 19-09-2023, à 16:52:24 +0200, Nicolas George a écrit :
> what you intend is completely forbidden by Google's terms and
> service. And they have detection: please only do this on a
> computer and network access when you will be the only one
> inconvenienced when they block your access. It happened on a
> computer I co-administrate.

Why would it be forbidden, I just want to automate what I could do
manually? Nothing evil in my approach.


Google terms of use forbid mechanization, automation and scraping of
their service. And as Nicolas says, they do check, and they do
punish offenders. At best you'd be hoping that the volume of your
queries falls below their radar. But I wouldn't risk it.

A typical punishment is to require a CAPTCHA be solved for any query
from your netblock to any Google property, which is immensely
annoying.

I have had to terminate my own customers on multiple occasions over
their inability to take this exact issue seriously, because it
really upsets OTHER customers when they suddenly need to solve a
CAPTCHA to do a search query or look at their email.


Thank you very much for this very clear explanation, I didn't know that
(never read those terms of use to be honest).

I ended up doing my searches by hand, it took some time and that's all
right.

Best,

s.



Re: [a bit OT] Automate a (G o o g l e) search from a list of strings

2023-09-20 Thread Andy Smith
Hello,

On Wed, Sep 20, 2023 at 08:13:43AM +0200, steve wrote:
> Le 19-09-2023, à 16:52:24 +0200, Nicolas George a écrit :
> > what you intend is completely forbidden by Google's terms and
> > service. And they have detection: please only do this on a
> > computer and network access when you will be the only one
> > inconvenienced when they block your access. It happened on a
> > computer I co-administrate.
> 
> Why would it be forbidden, I just want to automate what I could do
> manually? Nothing evil in my approach.

Google terms of use forbid mechanization, automation and scraping of
their service. And as Nicolas says, they do check, and they do
punish offenders. At best you'd be hoping that the volume of your
queries falls below their radar. But I wouldn't risk it.

A typical punishment is to require a CAPTCHA be solved for any query
from your netblock to any Google property, which is immensely
annoying.

I have had to terminate my own customers on multiple occasions over
their inability to take this exact issue seriously, because it
really upsets OTHER customers when they suddenly need to solve a
CAPTCHA to do a search query or look at their email.

Cheers,
Andy

-- 
https://bitfolk.com/ -- No-nonsense VPS hosting



Re: El entorno gráfico no muestra unidades extraíbles USB

2023-09-20 Thread José Luis Triviño Rodriguez

Buenos días,

Igual no tiene nada que ver. Pero... ¿por casualidad tienes instalado 
chrome-remote_desktop? A mi me pasó que, cuando arrancaba esta 
aplicación, aunque no la estuviese usando, me impedía montar los 
dispositivos USB.


Saludos,

El 20/9/23 a las 9:42, Julian Daich escribió:

El lun, 18 sept 2023 a las 21:10, Germán Avendaño Ramírez
() escribió:

Tengo debian 11, con xfce. Para montar usb u otros discos uso el comando

'udisksctl mount -b /dev/sdbX'


Hola,

Gracias, el problema puede estar por aquí
$ udisksctl mount -b /dev/sdbb
Error connecting to the udisks daemon: Se alcanzó el tiempo de expiración

Con sudo la respuesta no cambia. Lo mismo con udisksctl status y
udisksctl monitor.

Tengo instalado udisks2, pero no udisks2d porque ya no está disponible

$ systemctl status udisks2
● udisks2.service - Disk Manager
  Loaded: loaded (/lib/systemd/system/udisks2.service; disabled;
preset: disabled)
  Active: active (running) since Wed 2023-09-20 08:09:47 CEST; 1h 28min ago
Docs: man:udisks(8)
Main PID: 4917 (udisksd)
   Tasks: 7 (limit: 9280)
  Memory: 93.8M
 CPU: 22min 56.771s
  CGroup: /system.slice/udisks2.service
  ├─ 4917 /usr/libexec/udisks2/udisksd
  └─11737 fsck.vfat -nv /dev/sdb1

Saludos,

Julián



Atentamente,

--
Mancho
@mancho en Gorf.tube



--
Julian


--
José L. Triviño-Rodriguez
Dept. Languages and Computer Sciences
University of Málaga



Re: El entorno gráfico no muestra unidades extraíbles USB

2023-09-20 Thread Julian Daich
El lun, 18 sept 2023 a las 21:10, Germán Avendaño Ramírez
() escribió:
>
> Tengo debian 11, con xfce. Para montar usb u otros discos uso el comando
>
> 'udisksctl mount -b /dev/sdbX'
>

Hola,

Gracias, el problema puede estar por aquí
$ udisksctl mount -b /dev/sdbb
Error connecting to the udisks daemon: Se alcanzó el tiempo de expiración

Con sudo la respuesta no cambia. Lo mismo con udisksctl status y
udisksctl monitor.

Tengo instalado udisks2, pero no udisks2d porque ya no está disponible

$ systemctl status udisks2
● udisks2.service - Disk Manager
 Loaded: loaded (/lib/systemd/system/udisks2.service; disabled;
preset: disabled)
 Active: active (running) since Wed 2023-09-20 08:09:47 CEST; 1h 28min ago
   Docs: man:udisks(8)
   Main PID: 4917 (udisksd)
  Tasks: 7 (limit: 9280)
 Memory: 93.8M
CPU: 22min 56.771s
 CGroup: /system.slice/udisks2.service
 ├─ 4917 /usr/libexec/udisks2/udisksd
 └─11737 fsck.vfat -nv /dev/sdb1

Saludos,

Julián


> Atentamente,
>
> --
> Mancho
> @mancho en Gorf.tube
>


--
Julian



Re: [a bit OT] Automate a (G o o g l e) search from a list of strings

2023-09-20 Thread steve

Dear all,

Thank you for your answers, unfortunately they don't help me much
(provided code is too complicated for me).


Le 19-09-2023, à 16:52:24 +0200, Nicolas George a écrit :


steve (12023-09-19):

I have a list of 200 keywords and would like for every one to launch a
search on a specific website and put the result(s) in a file, something
like:

search keyword website: example.com >> file.csv

I guess I could code a Python script to do that but if something already
exists I'd rather use it.

Any ideas or links ?


Hi.

If you have access to Google's APIs, then the answer is probably in
their documentation.


I don't.


If not, then what you intend is completely forbidden by Google's terms
and service. And they have detection: please only do this on a computer
and network access when you will be the only one inconvenienced when
they block your access. It happened on a computer I co-administrate.


Why would it be forbidden, I just want to automate what I could do
manually? Nothing evil in my approach.

Have a nice day.

s.



Re: Variable de entorno para un programa específico.

2023-09-20 Thread fernando sainz
El mié, 20 sept 2023 a las 7:35, fernando sainz (<
fernandojose.sa...@gmail.com>) escribió:

>
>
> El mié, 20 sept 2023 a las 7:34, fernando sainz (<
> fernandojose.sa...@gmail.com>) escribió:
>
>>
>> Puedes crear un alias e iniciar la variable en él.
>>
>> alias 'avidemus=QT_QPA_PLATFORM=xcb  /usr/bin/avidemux'
>>
>> No se si es lo que buscas, espero te sirva.
>>
>> Un saludo.
>>
>>
>>
> Perdón, la comilla lógicamente no va ahi...
> alias avidemus ='QT_QPA_PLATFORM=xcb  /usr/bin/avidemux'
>
>
> Saludos.
>
>

Luego puedes ponerlo en tu ~/.bash_aliases

alias avidemux='QT_QPA_PLATFORM=xcb  avidemux'

Asegurándote que en .bashrc tengas descomentado esto:

if [ -f ~/.bash_aliases ]; then
. ~/.bash_aliases
fi


Saludos.



>
>
>> El mar, 19 sept 2023 a las 23:20, JavierDebian (<
>> javier.debian.bb...@gmail.com>) escribió:
>>
>>> Buenas tardes.
>>>
>>> Hace un tiempo, escribí esto:
>>> https://lists.debian.org/debian-user-spanish/2023/06/msg00022.html
>>>
>>> Con Avidemux, lo he solucionado, parcialmente.
>>> Abro consola y
>>> $ export QT_QPA_PLATFORM=xcb
>>> $ avidemux
>>>
>>> Es decir, configuro la variable de entorno QT_QPA_PLATFORM para que
>>> utilice X11 en vez de Wayland, en una consola dentro de una sesión en
>>> Plasma KDE Wayland.
>>> Va de maravilla.
>>> Lindo pero impráctico.
>>>
>>> La preguntonta:
>>> ¿Cómo hacer para configurar UN programa específico para que utilice X11
>>> en lugar de Wayland cuando inicie?
>>>
>>> Sé cómo poner variables de entorno.
>>> Sé cómo hacerlas volátiles o permanentes.
>>> Sé como hacerlo localmente y para todo el sistema.
>>> No sé cómo hacerlo para UN programa específico, y no lo encuentro.
>>>
>>> Gracias.
>>>
>>> JAP
>>>
>>>


Re: Printer HP LaserJet MFP M234sdw 5085B1

2023-09-20 Thread Marco M.
Am 20.09.2023 um 07:26:36 Uhr schrieb Aleix Piulachs:

> error: debian-12 version is not supported, so all dependències may
> not be installed. However trying to install using debian-11 version
> packages I’ve installed it but there’s a file problem
> python3-dbus.mainloop.qt

https://developers.hp.com/hp-linux-imaging-and-printing/supported_devices/index
Supported by HPLIP 3.21.2, Debian 12 has 3.22.10, so use it from the
repo.

Uninstall the currently installed version before installing from the
repo.