Mystery printer in firefox under Ubuntu 14.04.5

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
16 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Mystery printer in firefox under Ubuntu 14.04.5

Robert Heller
For some unknown reason a "mystery" printer is showing up in FF's selection of
printers. This printer does NOT show up in 'lpstat -t'. It is not in
/etc/cups/printers.conf. And I know for sure that I uninstalled the (stupid)
deamon that finds new random printers (don't need or want that sort of "user
friendliness"). Is this a Ubuntu issue or a Firefox issue or a Unity/Gnome
issue? I have not seen this on my CentOS machines, ever. It only seems to
happen on the diskless Ubuntu machines I set up using DRBL.

--
Robert Heller             -- 978-544-6933
Deepwoods Software        -- Custom Software Services
http://www.deepsoft.com/  -- Linux Administration Services
[hidden email]       -- Webhosting Services
                                             

--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Mystery printer in firefox under Ubuntu 14.04.5

Brian-277
On Wed 15 Mar 2017 at 17:36:18 -0400, Robert Heller wrote:

> For some unknown reason a "mystery" printer is showing up in FF's selection of
> printers. This printer does NOT show up in 'lpstat -t'. It is not in
> /etc/cups/printers.conf. And I know for sure that I uninstalled the (stupid)
> deamon that finds new random printers (don't need or want that sort of "user
> friendliness"). Is this a Ubuntu issue or a Firefox issue or a Unity/Gnome
> issue? I have not seen this on my CentOS machines, ever. It only seems to
> happen on the diskless Ubuntu machines I set up using DRBL.

Please post

1. The entry for this printer in Firefox's print dialog.

2. The name of the "(stupid) deamon".

3. The outputs of

        /usr/sbin/lpinfo -v
        lpstat -t
        systemctl status avahi-daemon.service

4. The makes/models of printers on the network.

We assume you have a wireless-enabled network.

--
Brian.

--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Mystery printer in firefox under Ubuntu 14.04.5

Robert Heller
At Thu, 16 Mar 2017 11:40:05 +0000 "Ubuntu user technical support,  not for general discussions" <[hidden email]> wrote:

>
> On Wed 15 Mar 2017 at 17:36:18 -0400, Robert Heller wrote:
>
> > For some unknown reason a "mystery" printer is showing up in FF's selection of
> > printers. This printer does NOT show up in 'lpstat -t'. It is not in
> > /etc/cups/printers.conf. And I know for sure that I uninstalled the (stupid)
> > deamon that finds new random printers (don't need or want that sort of "user
> > friendliness"). Is this a Ubuntu issue or a Firefox issue or a Unity/Gnome
> > issue? I have not seen this on my CentOS machines, ever. It only seems to
> > happen on the diskless Ubuntu machines I set up using DRBL.
>
> Please post
>
> 1. The entry for this printer in Firefox's print dialog.

Don't have the exact thing right now -- the machine in question is not powered
up right now and I am not presently at the library. It is something like
"NPI76<more digits>"

>
> 2. The name of the "(stupid) deamon".

cups-browsed

This daemon is (I guess) meant to be helpful (?) on a laptop that 'roams'
about and it seems to find new printers and/or remove printers that are no
longer available. We don't want / need this on *hard (network) wired*
workstations with a pair of *hard (network) wired* printers.  We don't want
printers coming and going automagically.

>
> 3. The outputs of
>
> /usr/sbin/lpinfo -v
> lpstat -t
> systemctl status avahi-daemon.service


On the Ubuntu VM server (serves the /tftpboot of the kernel, the root and /usr
file systems to the PXE booting diskless workstations):

ub140464.wendellfreelibrary.org% /usr/sbin/lpinfo -v
network ipp
network ipps
network http
network lpd
network https
network socket
network ipp14
direct hp
serial serial:/dev/ttyS0?baud=115200
network smb
direct hpfax
network dnssd://hp%20LaserJet%204200%20(0001E67659FE)._pdl-datastream._tcp.local/
ub140464.wendellfreelibrary.org% lpstat -t
scheduler is running
system default destination: BrotherColorLaser
device for BlackandWhiteLaserjet: ipp://192.168.1.251:631/printers/BlackandWhiteLaserjet
device for BrotherColorLaser: socket://192.168.1.252
BlackandWhiteLaserjet accepting requests since Sat 27 Sep 2014 05:47:52 PM EDT
BrotherColorLaser accepting requests since Fri 05 Dec 2014 04:03:05 PM EST
printer BlackandWhiteLaserjet is idle.  enabled since Sat 27 Sep 2014 05:47:52 PM EDT
printer BrotherColorLaser is idle.  enabled since Fri 05 Dec 2014 04:03:05 PM EST

There is no systemctl.  The machines are not running systemd, they are Ubuntu
14.04.5 and using upstart.

I will get the exact info from one of the workstations later today.

>
> 4. The makes/models of printers on the network.

HP LaserJet 4200
Brother MFC-9970CDW

>
> We assume you have a wireless-enabled network.
>

There is wireless, but all of the workstations are hard wired and none have
wireless.  Both printers are hard wired.  One printer does not have wireless
(the *old* HP B&W LaserJet) and the other has the wireless turned off.

The Ubuntu "server" is running as a VM on a CentOS 6 machine.  The CentOS 6 is
the main file server (/home) and is also the DNS, DHCP, and LDAP server.  It
is also the network print server (or at least tries to be).  Both the Ubuntu
"server" and the CentOS 6 machine provide tftp and nfs services.


--
Robert Heller             -- 978-544-6933
Deepwoods Software        -- Custom Software Services
http://www.deepsoft.com/  -- Linux Administration Services
[hidden email]       -- Webhosting Services
                 

--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Mystery printer in firefox under Ubuntu 14.04.5

Brian-277
On Thu 16 Mar 2017 at 10:48:35 -0400, Robert Heller wrote:

> At Thu, 16 Mar 2017 11:40:05 +0000 "Ubuntu user technical support,  not for general discussions" <[hidden email]> wrote:
>
> >
> > On Wed 15 Mar 2017 at 17:36:18 -0400, Robert Heller wrote:
> >
> > > For some unknown reason a "mystery" printer is showing up in FF's selection of
> > > printers. This printer does NOT show up in 'lpstat -t'. It is not in
> > > /etc/cups/printers.conf. And I know for sure that I uninstalled the (stupid)
> > > deamon that finds new random printers (don't need or want that sort of "user
> > > friendliness"). Is this a Ubuntu issue or a Firefox issue or a Unity/Gnome
> > > issue? I have not seen this on my CentOS machines, ever. It only seems to
> > > happen on the diskless Ubuntu machines I set up using DRBL.
> >
> > Please post
> >
> > 1. The entry for this printer in Firefox's print dialog.
>
> Don't have the exact thing right now -- the machine in question is not powered
> up right now and I am not presently at the library. It is something like
> "NPI76<more digits>"
 
My HP LaserJet has a default hostname which begins "NPI".
 
> > 2. The name of the "(stupid) deamon".
>
> cups-browsed
>
> This daemon is (I guess) meant to be helpful (?) on a laptop that 'roams'
> about and it seems to find new printers and/or remove printers that are no
> longer available. We don't want / need this on *hard (network) wired*
> workstations with a pair of *hard (network) wired* printers.  We don't want
> printers coming and going automagically.

cups-browsed is also useful for machines which do not roam but, as you
say, you have no need of it. Without it the cups daemon will only see
the local print queues you have configured on a machine. They are in
printers.conf and shown by 'lpstat -t'.

> > 3. The outputs of
> >
> > /usr/sbin/lpinfo -v
> > lpstat -t
> > systemctl status avahi-daemon.service
>
>
> On the Ubuntu VM server (serves the /tftpboot of the kernel, the root and /usr
> file systems to the PXE booting diskless workstations):

[Snip]
 
> network dnssd://hp%20LaserJet%204200%20(0001E67659FE)._pdl-datastream._tcp.local/

This is a URI for the LaserJet 4200. The machine it is connected to is
running CUPS and doing Bonjour broadcasting. You have not used this URI
to set up a print queue for the printer.

> ub140464.wendellfreelibrary.org% lpstat -t
> scheduler is running
> system default destination: BrotherColorLaser
> device for BlackandWhiteLaserjet: ipp://192.168.1.251:631/printers/BlackandWhiteLaserjet

This is the URI you have used to set up a print queue for the Laserjet
4200.

> device for BrotherColorLaser: socket://192.168.1.252

Looks like you are sending print jobs directly to the MFC-9970CDW.

> BlackandWhiteLaserjet accepting requests since Sat 27 Sep 2014 05:47:52 PM EDT
> BrotherColorLaser accepting requests since Fri 05 Dec 2014 04:03:05 PM EST
> printer BlackandWhiteLaserjet is idle.  enabled since Sat 27 Sep 2014 05:47:52 PM EDT
> printer BrotherColorLaser is idle.  enabled since Fri 05 Dec 2014 04:03:05 PM EST
>
> There is no systemctl.  The machines are not running systemd, they are Ubuntu
> 14.04.5 and using upstart.

I was only after whether you had avahi-daemon running on the network,
The dnssd URI indicates you have.

> I will get the exact info from one of the workstations later today.
>
> > 4. The makes/models of printers on the network.
>
> HP LaserJet 4200
> Brother MFC-9970CDW
>
> > We assume you have a wireless-enabled network.
>
> There is wireless, but all of the workstations are hard wired and none have
> wireless.  Both printers are hard wired.  One printer does not have wireless
> (the *old* HP B&W LaserJet) and the other has the wireless turned off.
>
> The Ubuntu "server" is running as a VM on a CentOS 6 machine.  The CentOS 6 is
> the main file server (/home) and is also the DNS, DHCP, and LDAP server.  It
> is also the network print server (or at least tries to be).  Both the Ubuntu
> "server" and the CentOS 6 machine provide tftp and nfs services.

cups-browsed browses Bonjour broadcasts of remote print queues and
printers and sets up local queues for them. cupsd sees these queues and
displays them in an app's print dialog. Stopping or uninstalling
cups-browsed means remote print queues or printers will not be visible
in dialogs **via the agency of cupsd**.

However, the GTK printing subsystem is capable of browsing Bonjour
broadcasts all by itself, without the need for cupsd. This is what you
are observing when you see the extra print queue. Examining the output
of

 avahi-browse -art | less

should show the culprit. Does it?

--
Brian.

--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Mystery printer in firefox under Ubuntu 14.04.5

Robert Heller
In reply to this post by Robert Heller
At Thu, 16 Mar 2017 10:48:35 -0400 (EDT) "Ubuntu user technical support,  not for general discussions" <[hidden email]> wrote:

>
> At Thu, 16 Mar 2017 11:40:05 +0000 "Ubuntu user technical support,  not for general discussions" <[hidden email]> wrote:
>
> >
> > On Wed 15 Mar 2017 at 17:36:18 -0400, Robert Heller wrote:
> >
> > > For some unknown reason a "mystery" printer is showing up in FF's selection of
> > > printers. This printer does NOT show up in 'lpstat -t'. It is not in
> > > /etc/cups/printers.conf. And I know for sure that I uninstalled the (stupid)
> > > deamon that finds new random printers (don't need or want that sort of "user
> > > friendliness"). Is this a Ubuntu issue or a Firefox issue or a Unity/Gnome
> > > issue? I have not seen this on my CentOS machines, ever. It only seems to
> > > happen on the diskless Ubuntu machines I set up using DRBL.
> >
> > Please post
> >
> > 1. The entry for this printer in Firefox's print dialog.
>
> Don't have the exact thing right now -- the machine in question is not powered
> up right now and I am not presently at the library. It is something like
> "NPI76<more digits>"

OK, I am at the library now.  The "mystery" printer entry is: "NPI7659FE".

>
> >
> > 2. The name of the "(stupid) deamon".
>
> cups-browsed
>
> This daemon is (I guess) meant to be helpful (?) on a laptop that 'roams'
> about and it seems to find new printers and/or remove printers that are no
> longer available. We don't want / need this on *hard (network) wired*
> workstations with a pair of *hard (network) wired* printers.  We don't want
> printers coming and going automagically.
>
> >
> > 3. The outputs of
> >
> > /usr/sbin/lpinfo -v
> > lpstat -t
> > systemctl status avahi-daemon.service
>
>
> On the Ubuntu VM server (serves the /tftpboot of the kernel, the root and /usr
> file systems to the PXE booting diskless workstations):
>
> ub140464.wendellfreelibrary.org% /usr/sbin/lpinfo -v
> network ipp
> network ipps
> network http
> network lpd
> network https
> network socket
> network ipp14
> direct hp
> serial serial:/dev/ttyS0?baud=115200
> network smb
> direct hpfax
> network dnssd://hp%20LaserJet%204200%20(0001E67659FE)._pdl-datastream._tcp.local/
> ub140464.wendellfreelibrary.org% lpstat -t
> scheduler is running
> system default destination: BrotherColorLaser
> device for BlackandWhiteLaserjet: ipp://192.168.1.251:631/printers/BlackandWhiteLaserjet
> device for BrotherColorLaser: socket://192.168.1.252
> BlackandWhiteLaserjet accepting requests since Sat 27 Sep 2014 05:47:52 PM EDT
> BrotherColorLaser accepting requests since Fri 05 Dec 2014 04:03:05 PM EST
> printer BlackandWhiteLaserjet is idle.  enabled since Sat 27 Sep 2014 05:47:52 PM EDT
> printer BrotherColorLaser is idle.  enabled since Fri 05 Dec 2014 04:03:05 PM EST
>
> There is no systemctl.  The machines are not running systemd, they are Ubuntu
> 14.04.5 and using upstart.
>
> I will get the exact info from one of the workstations later today.
>

The output on one of the workstations is:

adultpatron1.wendellfreelibrary.org% sudo /usr/sbin/lpinfo -v
[sudo] password for heller:
network lpd
network socket
network https
network http
network ipp
network ipp14
network ipps
direct hp
serial serial:/dev/ttyS4?baud=115200
network smb
direct hpfax
network dnssd://Brother%20MFC-9970CDW._pdl-datastream._tcp.local/
network dnssd://hp%20LaserJet%204200%20(0001E67659FE)._pdl-datastream._tcp.local/
network socket://192.168.1.246
network lpd://colorprinter/BINARY_P1
adultpatron1.wendellfreelibrary.org% lpstat -t
scheduler is running
system default destination: BrotherColorLaser
device for BlackandWhiteLaserjet: ipp://192.168.1.251:631/printers/BlackandWhiteLaserjet
device for BrotherColorLaser: ipp://192.168.1.251:631/printers/BrotherColorLaser
BlackandWhiteLaserjet accepting requests since Wed 15 Oct 2014 11:24:28 AM EDT
BrotherColorLaser accepting requests since Mon 02 Jun 2014 03:16:19 PM EDT
printer BlackandWhiteLaserjet is idle.  enabled since Wed 15 Oct 2014 11:24:28 AM EDT
printer BrotherColorLaser is idle.  enabled since Mon 02 Jun 2014 03:16:19 PM EDT

Note:  192.168.1.251 is the IP address of the server running CentOS 6.

> >
> > 4. The makes/models of printers on the network.
>
> HP LaserJet 4200
> Brother MFC-9970CDW
>
> >
> > We assume you have a wireless-enabled network.
> >
>
> There is wireless, but all of the workstations are hard wired and none have
> wireless.  Both printers are hard wired.  One printer does not have wireless
> (the *old* HP B&W LaserJet) and the other has the wireless turned off.
>
> The Ubuntu "server" is running as a VM on a CentOS 6 machine.  The CentOS 6 is
> the main file server (/home) and is also the DNS, DHCP, and LDAP server.  It
> is also the network print server (or at least tries to be).  Both the Ubuntu
> "server" and the CentOS 6 machine provide tftp and nfs services.
>
>

--
Robert Heller             -- 978-544-6933
Deepwoods Software        -- Custom Software Services
http://www.deepsoft.com/  -- Linux Administration Services
[hidden email]       -- Webhosting Services
   

--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Mystery printer in firefox under Ubuntu 14.04.5

Brian-277
On Thu 16 Mar 2017 at 15:16:06 -0400, Robert Heller wrote:

> OK, I am at the library now.  The "mystery" printer entry is: "NPI7659FE".

Looks like an HP device.
 

> The output on one of the workstations is:
>
> adultpatron1.wendellfreelibrary.org% sudo /usr/sbin/lpinfo -v
> [sudo] password for heller:
> network lpd
> network socket
> network https
> network http
> network ipp
> network ipp14
> network ipps
> direct hp
> serial serial:/dev/ttyS4?baud=115200
> network smb
> direct hpfax
> network dnssd://Brother%20MFC-9970CDW._pdl-datastream._tcp.local/
> network dnssd://hp%20LaserJet%204200%20(0001E67659FE)._pdl-datastream._tcp.local/
                                          ^^^^^^^^^^^^
A coincidence?     NPI7659FE

> network socket://192.168.1.246

What is 192.168.1.246?

> network lpd://colorprinter/BINARY_P1
> adultpatron1.wendellfreelibrary.org% lpstat -t
> scheduler is running
> system default destination: BrotherColorLaser
> device for BlackandWhiteLaserjet: ipp://192.168.1.251:631/printers/BlackandWhiteLaserjet
> device for BrotherColorLaser: ipp://192.168.1.251:631/printers/BrotherColorLaser
> BlackandWhiteLaserjet accepting requests since Wed 15 Oct 2014 11:24:28 AM EDT
> BrotherColorLaser accepting requests since Mon 02 Jun 2014 03:16:19 PM EDT
> printer BlackandWhiteLaserjet is idle.  enabled since Wed 15 Oct 2014 11:24:28 AM EDT
> printer BrotherColorLaser is idle.  enabled since Mon 02 Jun 2014 03:16:19 PM EDT
>
> Note:  192.168.1.251 is the IP address of the server running CentOS 6.

I'll stick with my previous opinion for the present.

--
Brian.

--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Mystery printer in firefox under Ubuntu 14.04.5

Robert Heller
In reply to this post by Brian-277
At Thu, 16 Mar 2017 18:21:26 +0000 "Ubuntu user technical support,  not for general discussions" <[hidden email]> wrote:

>
> On Thu 16 Mar 2017 at 10:48:35 -0400, Robert Heller wrote:
>
> > At Thu, 16 Mar 2017 11:40:05 +0000 "Ubuntu user technical support,  not for general discussions" <[hidden email]> wrote:
> >
> > >
> > > On Wed 15 Mar 2017 at 17:36:18 -0400, Robert Heller wrote:
> > >
> > > > For some unknown reason a "mystery" printer is showing up in FF's selection of
> > > > printers. This printer does NOT show up in 'lpstat -t'. It is not in
> > > > /etc/cups/printers.conf. And I know for sure that I uninstalled the (stupid)
> > > > deamon that finds new random printers (don't need or want that sort of "user
> > > > friendliness"). Is this a Ubuntu issue or a Firefox issue or a Unity/Gnome
> > > > issue? I have not seen this on my CentOS machines, ever. It only seems to
> > > > happen on the diskless Ubuntu machines I set up using DRBL.
> > >
> > > Please post
> > >
> > > 1. The entry for this printer in Firefox's print dialog.
> >
> > Don't have the exact thing right now -- the machine in question is not powered
> > up right now and I am not presently at the library. It is something like
> > "NPI76<more digits>"
>  
> My HP LaserJet has a default hostname which begins "NPI".
>  
> > > 2. The name of the "(stupid) deamon".
> >
> > cups-browsed
> >
> > This daemon is (I guess) meant to be helpful (?) on a laptop that 'roams'
> > about and it seems to find new printers and/or remove printers that are no
> > longer available. We don't want / need this on *hard (network) wired*
> > workstations with a pair of *hard (network) wired* printers.  We don't want
> > printers coming and going automagically.
>
> cups-browsed is also useful for machines which do not roam but, as you
> say, you have no need of it. Without it the cups daemon will only see
> the local print queues you have configured on a machine. They are in
> printers.conf and shown by 'lpstat -t'.

Yes, that is the intent.

>
> > > 3. The outputs of
> > >
> > > /usr/sbin/lpinfo -v
> > > lpstat -t
> > > systemctl status avahi-daemon.service
> >
> >
> > On the Ubuntu VM server (serves the /tftpboot of the kernel, the root and /usr
> > file systems to the PXE booting diskless workstations):
>
> [Snip]
>  
> > network dnssd://hp%20LaserJet%204200%20(0001E67659FE)._pdl-datastream._tcp.local/
>
> This is a URI for the LaserJet 4200. The machine it is connected to is
> running CUPS and doing Bonjour broadcasting. You have not used this URI
> to set up a print queue for the printer.

Right, I want the printing to go through the CentOS 6 server and not have the
various workstations queuing to the printer itself.

>
> > ub140464.wendellfreelibrary.org% lpstat -t
> > scheduler is running
> > system default destination: BrotherColorLaser
> > device for BlackandWhiteLaserjet: ipp://192.168.1.251:631/printers/BlackandWhiteLaserjet
>
> This is the URI you have used to set up a print queue for the Laserjet
> 4200.

Yes.

>
> > device for BrotherColorLaser: socket://192.168.1.252
>
> Looks like you are sending print jobs directly to the MFC-9970CDW.

Yes.  Not what I wanted, but the MFC-9970CDW is a picky beast.

>
> > BlackandWhiteLaserjet accepting requests since Sat 27 Sep 2014 05:47:52 PM EDT
> > BrotherColorLaser accepting requests since Fri 05 Dec 2014 04:03:05 PM EST
> > printer BlackandWhiteLaserjet is idle.  enabled since Sat 27 Sep 2014 05:47:52 PM EDT
> > printer BrotherColorLaser is idle.  enabled since Fri 05 Dec 2014 04:03:05 PM EST
> >
> > There is no systemctl.  The machines are not running systemd, they are Ubuntu
> > 14.04.5 and using upstart.
>
> I was only after whether you had avahi-daemon running on the network,
> The dnssd URI indicates you have.
>
> > I will get the exact info from one of the workstations later today.
> >
> > > 4. The makes/models of printers on the network.
> >
> > HP LaserJet 4200
> > Brother MFC-9970CDW
> >
> > > We assume you have a wireless-enabled network.
> >
> > There is wireless, but all of the workstations are hard wired and none have
> > wireless.  Both printers are hard wired.  One printer does not have wireless
> > (the *old* HP B&W LaserJet) and the other has the wireless turned off.
> >
> > The Ubuntu "server" is running as a VM on a CentOS 6 machine.  The CentOS 6 is
> > the main file server (/home) and is also the DNS, DHCP, and LDAP server.  It
> > is also the network print server (or at least tries to be).  Both the Ubuntu
> > "server" and the CentOS 6 machine provide tftp and nfs services.
>
> cups-browsed browses Bonjour broadcasts of remote print queues and
> printers and sets up local queues for them. cupsd sees these queues and
> displays them in an app's print dialog. Stopping or uninstalling
> cups-browsed means remote print queues or printers will not be visible
> in dialogs **via the agency of cupsd**.
>
> However, the GTK printing subsystem is capable of browsing Bonjour
> broadcasts all by itself, without the need for cupsd. This is what you
> are observing when you see the extra print queue. Examining the output
> of
>
>  avahi-browse -art | less
>
> should show the culprit. Does it?

Yes.  How do I stop it?

>

--
Robert Heller             -- 978-544-6933
Deepwoods Software        -- Custom Software Services
http://www.deepsoft.com/  -- Linux Administration Services
[hidden email]       -- Webhosting Services
                     

--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Mystery printer in firefox under Ubuntu 14.04.5

Robert Heller
In reply to this post by Brian-277
At Thu, 16 Mar 2017 19:36:21 +0000 "Ubuntu user technical support,  not for general discussions" <[hidden email]> wrote:

>
> On Thu 16 Mar 2017 at 15:16:06 -0400, Robert Heller wrote:
>
> > OK, I am at the library now.  The "mystery" printer entry is: "NPI7659FE".
>
> Looks like an HP device.
>  
> > The output on one of the workstations is:
> >
> > adultpatron1.wendellfreelibrary.org% sudo /usr/sbin/lpinfo -v
> > [sudo] password for heller:
> > network lpd
> > network socket
> > network https
> > network http
> > network ipp
> > network ipp14
> > network ipps
> > direct hp
> > serial serial:/dev/ttyS4?baud=115200
> > network smb
> > direct hpfax
> > network dnssd://Brother%20MFC-9970CDW._pdl-datastream._tcp.local/
> > network dnssd://hp%20LaserJet%204200%20(0001E67659FE)._pdl-datastream._tcp.local/
>  ^^^^^^^^^^^^
> A coincidence?     NPI7659FE
>
> > network socket://192.168.1.246
>
> What is 192.168.1.246?

printer.wendellfreelibrary.org.

That is the HP LaserJet's IP address.

And 192.168.1.252 is

colorprinter.wendellfreelibrary.org.

Which is the Brother color all-in-one laser (MFC-9970CDW)

And 192.168.1.251 is

newserver.wendellfreelibrary.org.

The CentOS 6 server.

>
> > network lpd://colorprinter/BINARY_P1
> > adultpatron1.wendellfreelibrary.org% lpstat -t
> > scheduler is running
> > system default destination: BrotherColorLaser
> > device for BlackandWhiteLaserjet: ipp://192.168.1.251:631/printers/BlackandWhiteLaserjet
> > device for BrotherColorLaser: ipp://192.168.1.251:631/printers/BrotherColorLaser
> > BlackandWhiteLaserjet accepting requests since Wed 15 Oct 2014 11:24:28 AM EDT
> > BrotherColorLaser accepting requests since Mon 02 Jun 2014 03:16:19 PM EDT
> > printer BlackandWhiteLaserjet is idle.  enabled since Wed 15 Oct 2014 11:24:28 AM EDT
> > printer BrotherColorLaser is idle.  enabled since Mon 02 Jun 2014 03:16:19 PM EDT
> >
> > Note:  192.168.1.251 is the IP address of the server running CentOS 6.
>
> I'll stick with my previous opinion for the present.

Which is?

>

--
Robert Heller             -- 978-544-6933
Deepwoods Software        -- Custom Software Services
http://www.deepsoft.com/  -- Linux Administration Services
[hidden email]       -- Webhosting Services
     

--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Mystery printer in firefox under Ubuntu 14.04.5

Brian-277
In reply to this post by Robert Heller
On Thu 16 Mar 2017 at 17:32:37 -0400, Robert Heller wrote:

> At Thu, 16 Mar 2017 18:21:26 +0000 "Ubuntu user technical support,  not for general discussions" <[hidden email]> wrote:
>
> > cups-browsed browses Bonjour broadcasts of remote print queues and
> > printers and sets up local queues for them. cupsd sees these queues and
> > displays them in an app's print dialog. Stopping or uninstalling
> > cups-browsed means remote print queues or printers will not be visible
> > in dialogs **via the agency of cupsd**.
> >
> > However, the GTK printing subsystem is capable of browsing Bonjour
> > broadcasts all by itself, without the need for cupsd. This is what you
> > are observing when you see the extra print queue. Examining the output
> > of
> >
> >  avahi-browse -art | less
> >
> > should show the culprit. Does it?
>
> Yes.  How do I stop it?

Stop avahi-daemon on the Centos server or on a workstation.

What did avahi-browse tell you about the culprit? You could post that
snippet from the output.

--
Brian.

--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Mystery printer in firefox under Ubuntu 14.04.5

Brian-277
In reply to this post by Robert Heller
On Thu 16 Mar 2017 at 17:47:21 -0400, Robert Heller wrote:

> At Thu, 16 Mar 2017 19:36:21 +0000 "Ubuntu user technical support,  not for general discussions" <[hidden email]> wrote:
>
> > I'll stick with my previous opinion for the present.
>
> Which is?

GTK print is picking up a Bonjour broadcast from a CUPS server or from
a Bonjour-enabled printer.

--
Brian.

--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Mystery printer in firefox under Ubuntu 14.04.5

Robert Heller
In reply to this post by Brian-277
At Thu, 16 Mar 2017 23:38:17 +0000 "Ubuntu user technical support,  not for general discussions" <[hidden email]> wrote:

>
> On Thu 16 Mar 2017 at 17:32:37 -0400, Robert Heller wrote:
>
> > At Thu, 16 Mar 2017 18:21:26 +0000 "Ubuntu user technical support,  not for general discussions" <[hidden email]> wrote:
> >
> > > cups-browsed browses Bonjour broadcasts of remote print queues and
> > > printers and sets up local queues for them. cupsd sees these queues and
> > > displays them in an app's print dialog. Stopping or uninstalling
> > > cups-browsed means remote print queues or printers will not be visible
> > > in dialogs **via the agency of cupsd**.
> > >
> > > However, the GTK printing subsystem is capable of browsing Bonjour
> > > broadcasts all by itself, without the need for cupsd. This is what you
> > > are observing when you see the extra print queue. Examining the output
> > > of
> > >
> > >  avahi-browse -art | less
> > >
> > > should show the culprit. Does it?
> >
> > Yes.  How do I stop it?
>
> Stop avahi-daemon on the Centos server or on a workstation.
>
> What did avahi-browse tell you about the culprit? You could post that
> snippet from the output.

Well, the Centos's avahi-daemon is not reporting the printer, but the
avahi-daemon on Ubuntu server (and the Ubuntu workstations are).  If the avahi
daemon is not running, will that cause other problems?

>

--
Robert Heller             -- 978-544-6933
Deepwoods Software        -- Custom Software Services
http://www.deepsoft.com/  -- Linux Administration Services
[hidden email]       -- Webhosting Services
                                                                           

--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Mystery printer in firefox under Ubuntu 14.04.5

Brian-277
On Thu 16 Mar 2017 at 21:36:19 -0400, Robert Heller wrote:

> At Thu, 16 Mar 2017 23:38:17 +0000 "Ubuntu user technical support,  not for general discussions" <[hidden email]> wrote:
>
> > Stop avahi-daemon on the Centos server or on a workstation.
> >
> > What did avahi-browse tell you about the culprit? You could post that
> > snippet from the output.
>
> Well, the Centos's avahi-daemon is not reporting the printer, but the
> avahi-daemon on Ubuntu server (and the Ubuntu workstations are).  If the avahi
> daemon is not running, will that cause other problems?

Dunno. You'll lose mDNS/DNS-SD resolution on the network. 'apt-cache
rdepends avahi-daemon' might help you decide.

You could rejig the setup and use cups-browsed on the workstations, of
course, and activate AirPrint on the colour printer. Any i-device users
might thank you for this.

--
Brian.

--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Mystery printer in firefox under Ubuntu 14.04.5

Robert Heller
At Fri, 17 Mar 2017 08:22:01 +0000 "Ubuntu user technical support,  not for general discussions" <[hidden email]> wrote:

>
> On Thu 16 Mar 2017 at 21:36:19 -0400, Robert Heller wrote:
>
> > At Thu, 16 Mar 2017 23:38:17 +0000 "Ubuntu user technical support,  not for general discussions" <[hidden email]> wrote:
> >
> > > Stop avahi-daemon on the Centos server or on a workstation.
> > >
> > > What did avahi-browse tell you about the culprit? You could post that
> > > snippet from the output.
> >
> > Well, the Centos's avahi-daemon is not reporting the printer, but the
> > avahi-daemon on Ubuntu server (and the Ubuntu workstations are).  If the avahi
> > daemon is not running, will that cause other problems?
>
> Dunno. You'll lose mDNS/DNS-SD resolution on the network. 'apt-cache
> rdepends avahi-daemon' might help you decide.

Well I stopped avahi-daemon on the CentOS machine.  The CentOS machine is
itself running BIND (it is the local DNS server) and does not use apt.  I
stopped avahi-daemon on the CentOS machine.  The Ubuntu server is no longer
reporting the HP printer in lpinfo.  Hopefully the workstations will stop
reporting it too.  I don't run apt on the workstations -- they get updated
when the Ubuntu server gets updated (their root and /usr file systems are
shared off the Ubuntu server).

>
> You could rejig the setup and use cups-browsed on the workstations, of
> course, and activate AirPrint on the colour printer. Any i-device users
> might thank you for this.

We really don't want i-device users sending lots of random stuff to the color
printer.

>

--
Robert Heller             -- 978-544-6933
Deepwoods Software        -- Custom Software Services
http://www.deepsoft.com/  -- Linux Administration Services
[hidden email]       -- Webhosting Services
                                 

--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Mystery printer in firefox under Ubuntu 14.04.5

Brian-277
On Fri 17 Mar 2017 at 08:20:19 -0400, Robert Heller wrote:

> At Fri, 17 Mar 2017 08:22:01 +0000 "Ubuntu user technical support,  not for general discussions" <[hidden email]> wrote:
>
> >
> > On Thu 16 Mar 2017 at 21:36:19 -0400, Robert Heller wrote:
> >
> > > At Thu, 16 Mar 2017 23:38:17 +0000 "Ubuntu user technical support,  not for general discussions" <[hidden email]> wrote:
> > >
> > > > Stop avahi-daemon on the Centos server or on a workstation.
> > > >
> > > > What did avahi-browse tell you about the culprit? You could post that
> > > > snippet from the output.
> > >
> > > Well, the Centos's avahi-daemon is not reporting the printer, but the
> > > avahi-daemon on Ubuntu server (and the Ubuntu workstations are).  If the avahi
> > > daemon is not running, will that cause other problems?
> >
> > Dunno. You'll lose mDNS/DNS-SD resolution on the network. 'apt-cache
> > rdepends avahi-daemon' might help you decide.
>
> Well I stopped avahi-daemon on the CentOS machine.  The CentOS machine is
> itself running BIND (it is the local DNS server) and does not use apt.  I
> stopped avahi-daemon on the CentOS machine.  The Ubuntu server is no longer
> reporting the HP printer in lpinfo.  Hopefully the workstations will stop
> reporting it too.  I don't run apt on the workstations -- they get updated
> when the Ubuntu server gets updated (their root and /usr file systems are
> shared off the Ubuntu server).
>
> >
> > You could rejig the setup and use cups-browsed on the workstations, of
> > course, and activate AirPrint on the colour printer. Any i-device users
> > might thank you for this.
>
> We really don't want i-device users sending lots of random stuff to the color
> printer.

Understandable.

If all the printing from a workstation is done from GTK apps (no command
line printing; no QT apps ; no libreoffice) you could stop (or remove)
cups and rely on Bonjour broadcasts.

Or there is this;

https://launchpad.net/~roman-shipovskij/+archive/ubuntu/gtk+3.0-withoutavahiprinters

--
Brian.

--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Mystery printer in firefox under Ubuntu 14.04.5

Robert Heller
At Fri, 17 Mar 2017 12:37:38 +0000 "Ubuntu user technical support,  not for general discussions" <[hidden email]> wrote:

>
> On Fri 17 Mar 2017 at 08:20:19 -0400, Robert Heller wrote:
>
> > At Fri, 17 Mar 2017 08:22:01 +0000 "Ubuntu user technical support,  not for general discussions" <[hidden email]> wrote:
> >
> > >
> > > On Thu 16 Mar 2017 at 21:36:19 -0400, Robert Heller wrote:
> > >
> > > > At Thu, 16 Mar 2017 23:38:17 +0000 "Ubuntu user technical support,  not for general discussions" <[hidden email]> wrote:
> > > >
> > > > > Stop avahi-daemon on the Centos server or on a workstation.
> > > > >
> > > > > What did avahi-browse tell you about the culprit? You could post that
> > > > > snippet from the output.
> > > >
> > > > Well, the Centos's avahi-daemon is not reporting the printer, but the
> > > > avahi-daemon on Ubuntu server (and the Ubuntu workstations are).  If the avahi
> > > > daemon is not running, will that cause other problems?
> > >
> > > Dunno. You'll lose mDNS/DNS-SD resolution on the network. 'apt-cache
> > > rdepends avahi-daemon' might help you decide.
> >
> > Well I stopped avahi-daemon on the CentOS machine.  The CentOS machine is
> > itself running BIND (it is the local DNS server) and does not use apt.  I
> > stopped avahi-daemon on the CentOS machine.  The Ubuntu server is no longer
> > reporting the HP printer in lpinfo.  Hopefully the workstations will stop
> > reporting it too.  I don't run apt on the workstations -- they get updated
> > when the Ubuntu server gets updated (their root and /usr file systems are
> > shared off the Ubuntu server).
> >
> > >
> > > You could rejig the setup and use cups-browsed on the workstations, of
> > > course, and activate AirPrint on the colour printer. Any i-device users
> > > might thank you for this.
> >
> > We really don't want i-device users sending lots of random stuff to the color
> > printer.
>
> Understandable.
>
> If all the printing from a workstation is done from GTK apps (no command
> line printing; no QT apps ; no libreoffice) you could stop (or remove)
> cups and rely on Bonjour broadcasts.

People are using libreoffice, so that needs to work.  There is another
printer, a receipts printer connected by USB to one workstation, which in turn
exports it to another workstation.  This printer handled with CUPS and is only
used by these two workstations and is not visible or accessable by any other
workstations.  These two workstations are involved with library circulation.

>
> Or there is this;
>
> https://launchpad.net/~roman-shipovskij/+archive/ubuntu/gtk+3.0-withoutavahiprinters
>

--
Robert Heller             -- 978-544-6933
Deepwoods Software        -- Custom Software Services
http://www.deepsoft.com/  -- Linux Administration Services
[hidden email]       -- Webhosting Services
                             

--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Mystery printer in firefox under Ubuntu 14.04.5

Robert Heller
At Fri, 17 Mar 2017 12:08:24 -0400 (EDT) "Ubuntu user technical support,  not for general discussions" <[hidden email]> wrote:

>
> At Fri, 17 Mar 2017 12:37:38 +0000 "Ubuntu user technical support,  not for general discussions" <[hidden email]> wrote:
>
> >
> > On Fri 17 Mar 2017 at 08:20:19 -0400, Robert Heller wrote:
> >
> > > At Fri, 17 Mar 2017 08:22:01 +0000 "Ubuntu user technical support,  not for general discussions" <[hidden email]> wrote:
> > >
> > > >
> > > > On Thu 16 Mar 2017 at 21:36:19 -0400, Robert Heller wrote:
> > > >
> > > > > At Thu, 16 Mar 2017 23:38:17 +0000 "Ubuntu user technical support,  not for general discussions" <[hidden email]> wrote:
> > > > >
> > > > > > Stop avahi-daemon on the Centos server or on a workstation.
> > > > > >
> > > > > > What did avahi-browse tell you about the culprit? You could post that
> > > > > > snippet from the output.
> > > > >
> > > > > Well, the Centos's avahi-daemon is not reporting the printer, but the
> > > > > avahi-daemon on Ubuntu server (and the Ubuntu workstations are).  If the avahi
> > > > > daemon is not running, will that cause other problems?
> > > >
> > > > Dunno. You'll lose mDNS/DNS-SD resolution on the network. 'apt-cache
> > > > rdepends avahi-daemon' might help you decide.
> > >
> > > Well I stopped avahi-daemon on the CentOS machine.  The CentOS machine is
> > > itself running BIND (it is the local DNS server) and does not use apt.  I
> > > stopped avahi-daemon on the CentOS machine.  The Ubuntu server is no longer
> > > reporting the HP printer in lpinfo.  Hopefully the workstations will stop
> > > reporting it too.  I don't run apt on the workstations -- they get updated
> > > when the Ubuntu server gets updated (their root and /usr file systems are
> > > shared off the Ubuntu server).
> > >
> > > >
> > > > You could rejig the setup and use cups-browsed on the workstations, of
> > > > course, and activate AirPrint on the colour printer. Any i-device users
> > > > might thank you for this.
> > >
> > > We really don't want i-device users sending lots of random stuff to the color
> > > printer.
> >
> > Understandable.
> >
> > If all the printing from a workstation is done from GTK apps (no command
> > line printing; no QT apps ; no libreoffice) you could stop (or remove)
> > cups and rely on Bonjour broadcasts.
>
> People are using libreoffice, so that needs to work.  There is another
> printer, a receipts printer connected by USB to one workstation, which in turn
> exports it to another workstation.  This printer handled with CUPS and is only
> used by these two workstations and is not visible or accessable by any other
> workstations.  These two workstations are involved with library circulation.

OK, after a bit of groveling about at the library this afternoon I went and
purged avahi-daemon completely off the Ubuntu machines. I don't believe I need
the Multicast DNS -- the CentOS 6 server is running Bind 9 and there is no
dynamic DNS going on (if we add or remove a machine *I* will manually update
the DNS data and reload named). And for printers I will *manually* update
cups's conf files. Both of these things will be very rare.

>
> >
> > Or there is this;
> >
> > https://launchpad.net/~roman-shipovskij/+archive/ubuntu/gtk+3.0-withoutavahiprinters
> >
>

--
Robert Heller             -- 978-544-6933
Deepwoods Software        -- Custom Software Services
http://www.deepsoft.com/  -- Linux Administration Services
[hidden email]       -- Webhosting Services
               

--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Loading...