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


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

brave browser cannot print.

Started byTim Woodall <debianuser@woodall.me.uk>
First post2021-12-12 19:20 +0100
Last post2021-12-14 21:30 +0100
Articles 6 — 2 participants

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


Contents

  brave browser cannot print. Tim Woodall <debianuser@woodall.me.uk> - 2021-12-12 19:20 +0100
    Re: brave browser cannot print. Brian <ad44@cityscape.co.uk> - 2021-12-13 14:20 +0100
      Re: brave browser cannot print. Tim Woodall <debianuser@woodall.me.uk> - 2021-12-14 07:40 +0100
        Re: brave browser cannot print. Brian <ad44@cityscape.co.uk> - 2021-12-14 18:20 +0100
          Re: brave browser cannot print. Tim Woodall <debianuser@woodall.me.uk> - 2021-12-14 20:40 +0100
            Re: brave browser cannot print. Brian <ad44@cityscape.co.uk> - 2021-12-14 21:30 +0100

#243023 — brave browser cannot print.

FromTim Woodall <debianuser@woodall.me.uk>
Date2021-12-12 19:20 +0100
Subjectbrave browser cannot print.
Message-ID<DtBC2-3la-3@gated-at.bofh.it>
I've installed brave-browser but it cannot print. I get:

"The selected printer is not available or not installed correctly. Check
your printer or try selecting another"

This machine is using cups. The printer is on a remote host. Everything
else seems to work, openoffice, firefox, chrome. Just brave having this
problem.

Anybody got any ideas? I'm using xfce on buster for this at the moment.

I've been using firefox, and it's predecessors, for as long as I've been
using the web. But with 78 esr being EOL and me using umatrix to control
the web I'm seeing what else is out there.


Looks like brave doesn't have any way to set the proxy - so it's not
going to work for me on android[1]. Not a debian question but does anyone
know if there are any browsers that still allow setting the proxy,
particulary on android?


Tim.


[1] I don't use android much but the OS is *incredibly* chatty to the
outside world[2]. The best way around this I've found is to block all
direct connections and only allow connections via a proxy. But adding
the proxy at the system level will (presumably) defeat this. One of my
frustrations at the moment is all of this https everywhere, DNS over
HTTPS etc are making it harder and harder to keep track of what is
talking *outbound* that you do not want/approve. And once you can
establish an outbound connection it's trivial to tunnel connections back
the other way. Currently I'm using SNI peeking using squid to block and
log some of what is going on too but I feel as though I'm losing control
:-(

[2] Perhaps everything except debian is. Firefox certainly is, I have a
list of domains that firefox wants to chat to that I block too. Haven't
started looking at what brave is doing yet...

[toc] | [next] | [standalone]


#243059

FromBrian <ad44@cityscape.co.uk>
Date2021-12-13 14:20 +0100
Message-ID<DtTpg-5JE-9@gated-at.bofh.it>
In reply to#243023
On Sun 12 Dec 2021 at 18:11:55 +0000, Tim Woodall wrote:

> I've installed brave-browser but it cannot print. I get:
> 
> "The selected printer is not available or not installed correctly. Check
> your printer or try selecting another"
> 
> This machine is using cups. The printer is on a remote host. Everything
> else seems to work, openoffice, firefox, chrome. Just brave having this
> problem.

Looks like a problem with Brave and not the printing system. The remote
host is running CUPS? What is the make and model of the attached printer?
 
> Anybody got any ideas? I'm using xfce on buster for this at the moment.

Please give 'lpstat -t' and 'lpinfo -v' on the client machine.

Does the Brave print dialog have a "Print using system dialogue..."
entry in its settings?

-- 
Brian.

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


#243088

FromTim Woodall <debianuser@woodall.me.uk>
Date2021-12-14 07:40 +0100
Message-ID<Du9DI-7am-5@gated-at.bofh.it>
In reply to#243059
Someone off-list suggested vivaldi which looks closer to what I want a
browser to be - many/most things being configurable (and much closer to
what firefox used to be) so I'm probably going to stop using brave.
However, I've replied inline below to the questions.
(printing works in vivaldi too)

On Mon, 13 Dec 2021, Brian wrote:

> On Sun 12 Dec 2021 at 18:11:55 +0000, Tim Woodall wrote:
>
>> I've installed brave-browser but it cannot print. I get:
>>
>> "The selected printer is not available or not installed correctly. Check
>> your printer or try selecting another"
>>
>> This machine is using cups. The printer is on a remote host. Everything
>> else seems to work, openoffice, firefox, chrome. Just brave having this
>> problem.
>
> Looks like a problem with Brave and not the printing system. The remote
> host is running CUPS? What is the make and model of the attached printer?
>
>> Anybody got any ideas? I'm using xfce on buster for this at the moment.
>
> Please give 'lpstat -t' and 'lpinfo -v' on the client machine.
>

tim@dirac:~ (none)$ lpstat -t
scheduler is running
system default destination: Samsung_SCX-4x25_Series
device for Samsung_SCX-4x25_Series:
ipps://cups:631/printers/Samsung_SCX-4x25_Series
device for Samsung_SCX-4x25_Series-envelope:
ipps://cups:631/printers/Samsung_SCX-4x25_Series-envelope
device for Samsung_SCX-4x25_Series-label:
ipps://cups:631/printers/Samsung_SCX-4x25_Series-label
device for Samsung_SCX-4x25_Series-one-sided:
ipps://cups:631/printers/Samsung_SCX-4x25_Series-one-sided
Samsung_SCX-4x25_Series accepting requests since Mon 13 Dec 2021
17:45:19 GMT
Samsung_SCX-4x25_Series-envelope accepting requests since Tue 29 Sep
2020 09:20:21 BST
Samsung_SCX-4x25_Series-label accepting requests since Sun 28 Nov 2021
10:13:59 GMT
Samsung_SCX-4x25_Series-one-sided accepting requests since Sun 20 Dec
2020 16:36:45 GMT
printer Samsung_SCX-4x25_Series is idle.  enabled since Mon 13 Dec 2021
17:45:19 GMT
printer Samsung_SCX-4x25_Series-envelope is idle.  enabled since Tue 29
Sep 2020 09:20:21 BST
printer Samsung_SCX-4x25_Series-label is idle.  enabled since Sun 28 Nov
2021 10:13:59 GMT
printer Samsung_SCX-4x25_Series-one-sided is idle.  enabled since Sun 20
Dec 2020 16:36:45 GMT
tim@dirac:~ (none)$ lpinfo -v
-bash: lpinfo: command not found
tim@dirac:~ (none)$

> Does the Brave print dialog have a "Print using system dialogue..."
> entry in its settings?
>
>
I think it does but it does nothing. I suspect I don't have the relevant
package installed. (Not in front of the machine right now to check the
UI)

Tim.

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


#243111

FromBrian <ad44@cityscape.co.uk>
Date2021-12-14 18:20 +0100
Message-ID<DujD3-4Ls-1@gated-at.bofh.it>
In reply to#243088
On Tue 14 Dec 2021 at 06:35:20 +0000, Tim Woodall wrote:

> Someone off-list suggested vivaldi which looks closer to what I want a
> browser to be - many/most things being configurable (and much closer to
> what firefox used to be) so I'm probably going to stop using brave.
> However, I've replied inline below to the questions.
> (printing works in vivaldi too)

Probably a good change in direction. Thanks for the info. I'll pursue
it for interest's sake.
 
> On Mon, 13 Dec 2021, Brian wrote:
> 
> > On Sun 12 Dec 2021 at 18:11:55 +0000, Tim Woodall wrote:
> > 
> > > I've installed brave-browser but it cannot print. I get:
> > > 
> > > "The selected printer is not available or not installed correctly. Check
> > > your printer or try selecting another"
> > > 
> > > This machine is using cups. The printer is on a remote host. Everything
> > > else seems to work, openoffice, firefox, chrome. Just brave having this
> > > problem.
> > 
> > Looks like a problem with Brave and not the printing system. The remote
> > host is running CUPS? What is the make and model of the attached printer?
> > 
> > > Anybody got any ideas? I'm using xfce on buster for this at the moment.
> > 
> > Please give 'lpstat -t' and 'lpinfo -v' on the client machine.
> > 
> 
> tim@dirac:~ (none)$ lpstat -t
> scheduler is running
> system default destination: Samsung_SCX-4x25_Series
> device for Samsung_SCX-4x25_Series:
> ipps://cups:631/printers/Samsung_SCX-4x25_Series

This URI (device) and the others do not seem correct to me. For a
remote host with hostname HOSTNAME I'd expect a URI like this:

  ipps://HOSTNAME.local:631/printers/Samsung_SCX-4x25_Series

Let's try setting up a print queue manually. Use 'ippfind -T 5'
and '/usr/sbin/lpinfo -v' to obtain a URI from the remote host.
Then a print queue with

  lpadmin -p PRINTER_NAME -v URI -E -m everywhere

PRINTER_NAME can be what you want, for example, scxtest.

Test with

  lp -d PRINTER_NAME /etc/nsswitch.conf

and from Brave.

-- 
Brian.

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


#243117

FromTim Woodall <debianuser@woodall.me.uk>
Date2021-12-14 20:40 +0100
Message-ID<DulOx-5Yl-3@gated-at.bofh.it>
In reply to#243111
On Tue, 14 Dec 2021, Brian wrote:

> On Tue 14 Dec 2021 at 06:35:20 +0000, Tim Woodall wrote:
>
>> Someone off-list suggested vivaldi which looks closer to what I want a
>> browser to be - many/most things being configurable (and much closer to
>> what firefox used to be) so I'm probably going to stop using brave.
>> However, I've replied inline below to the questions.
>> (printing works in vivaldi too)
>
> Probably a good change in direction. Thanks for the info. I'll pursue
> it for interest's sake.
>
>> On Mon, 13 Dec 2021, Brian wrote:
>>
>>> On Sun 12 Dec 2021 at 18:11:55 +0000, Tim Woodall wrote:
>>>
>>>> I've installed brave-browser but it cannot print. I get:
>>>>
>>>> "The selected printer is not available or not installed correctly. Check
>>>> your printer or try selecting another"
>>>>
>>>> This machine is using cups. The printer is on a remote host. Everything
>>>> else seems to work, openoffice, firefox, chrome. Just brave having this
>>>> problem.
>>>
>>> Looks like a problem with Brave and not the printing system. The remote
>>> host is running CUPS? What is the make and model of the attached printer?
>>>
>>>> Anybody got any ideas? I'm using xfce on buster for this at the moment.
>>>
>>> Please give 'lpstat -t' and 'lpinfo -v' on the client machine.
>>>
>>
>> tim@dirac:~ (none)$ lpstat -t
>> scheduler is running
>> system default destination: Samsung_SCX-4x25_Series
>> device for Samsung_SCX-4x25_Series:
>> ipps://cups:631/printers/Samsung_SCX-4x25_Series
>
> This URI (device) and the others do not seem correct to me. For a
> remote host with hostname HOSTNAME I'd expect a URI like this:
>
>  ipps://HOSTNAME.local:631/printers/Samsung_SCX-4x25_Series
>
cups is resolved locally.

tim@dirac:~ (none)$ host cups
cups.home.woodall.me.uk has IPv6 address 2001:8b0:bfcd:100:...

> Let's try setting up a print queue manually. Use 'ippfind -T 5'

ippfind complains about bonjour not running. And it looks like I'd need
to add some more dns records based on my quick glance at the manpage

> and '/usr/sbin/lpinfo -v' to obtain a URI from the remote host.

lpinfo -v doesn't give me what I want either:

root@dirac:~# lpinfo -v
network socket
network beh
file cups-brf:/
network lpd
network ipps
network http
network ipp
network https

root@cups17:~# lpinfo -v
Password for root on cups?  ********
network socket
network beh
file cups-brf:/
network https
network ipps
network ipp
network http
network lpd
network socket://192.168.100.23

That last one is the actual printer (which is only ipv4). dirac is ipv6
only ATM but currently on the same network segment.

Does all of this point to something being wrong on cups (who, to confuse
even more, is really cups17)?

My wife's windows machine can also successfully print via cups17.

> Then a print queue with
>
>  lpadmin -p PRINTER_NAME -v URI -E -m everywhere
>
> PRINTER_NAME can be what you want, for example, scxtest.
>
> Test with
>
>  lp -d PRINTER_NAME /etc/nsswitch.conf
>
> and from Brave.
>

This is what I get with current config:

root@dirac:~# lpq
Samsung_SCX-4x25_Series is ready
no entries
root@dirac:~# lp /etc/nsswitch.conf
request id is Samsung_SCX-4x25_Series-1164 (1 file(s))
root@dirac:~# lpq
Samsung_SCX-4x25_Series is ready and printing
Rank    Owner   Job     File(s)                         Total Size
active  root    1164    nsswitch.conf                   1024 bytes
root@dirac:~# lpq
Samsung_SCX-4x25_Series is ready
no entries

That must be going via cups as dirac has no ipv4 addresses. (other than
127.0.0.1)

Tim.

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


#243118

FromBrian <ad44@cityscape.co.uk>
Date2021-12-14 21:30 +0100
Message-ID<DumAV-6uo-3@gated-at.bofh.it>
In reply to#243117
On Tue 14 Dec 2021 at 19:29:46 +0000, Tim Woodall wrote:

> On Tue, 14 Dec 2021, Brian wrote:
> 
> > On Tue 14 Dec 2021 at 06:35:20 +0000, Tim Woodall wrote:
> > 
> > > Someone off-list suggested vivaldi which looks closer to what I want a
> > > browser to be - many/most things being configurable (and much closer to
> > > what firefox used to be) so I'm probably going to stop using brave.
> > > However, I've replied inline below to the questions.
> > > (printing works in vivaldi too)
> > 
> > Probably a good change in direction. Thanks for the info. I'll pursue
> > it for interest's sake.
> > 
> > > On Mon, 13 Dec 2021, Brian wrote:
> > > 
> > > > On Sun 12 Dec 2021 at 18:11:55 +0000, Tim Woodall wrote:
> > > > 
> > > > > I've installed brave-browser but it cannot print. I get:
> > > > > 
> > > > > "The selected printer is not available or not installed correctly. Check
> > > > > your printer or try selecting another"
> > > > > 
> > > > > This machine is using cups. The printer is on a remote host. Everything
> > > > > else seems to work, openoffice, firefox, chrome. Just brave having this
> > > > > problem.
> > > > 
> > > > Looks like a problem with Brave and not the printing system. The remote
> > > > host is running CUPS? What is the make and model of the attached printer?
> > > > 
> > > > > Anybody got any ideas? I'm using xfce on buster for this at the moment.
> > > > 
> > > > Please give 'lpstat -t' and 'lpinfo -v' on the client machine.
> > > > 
> > > 
> > > tim@dirac:~ (none)$ lpstat -t
> > > scheduler is running
> > > system default destination: Samsung_SCX-4x25_Series
> > > device for Samsung_SCX-4x25_Series:
> > > ipps://cups:631/printers/Samsung_SCX-4x25_Series
> > 
> > This URI (device) and the others do not seem correct to me. For a
> > remote host with hostname HOSTNAME I'd expect a URI like this:
> > 
> >  ipps://HOSTNAME.local:631/printers/Samsung_SCX-4x25_Series
> > 
> cups is resolved locally.
> 
> tim@dirac:~ (none)$ host cups
> cups.home.woodall.me.uk has IPv6 address 2001:8b0:bfcd:100:...
> 
> > Let's try setting up a print queue manually. Use 'ippfind -T 5'
> 
> ippfind complains about bonjour not running. And it looks like I'd need
> to add some more dns records based on my quick glance at the manpag

ippfind requirea a functioning avahi-daemob on remote host and client.
The complaint needs investigation. I haven't a clue what is amiss.

-- 
Brian.

[toc] | [prev] | [standalone]


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


csiph-web