printing issues

classic Classic list List threaded Threaded
42 messages Options
123
Reply | Threaded
Open this post in threaded view
|

printing issues

Gary J. Kirkpatrick
I have an HP printer which has been working flawlessly on 18.04.  I am now gettng the following error 
Failed to load module "canberra-gtk-module"
Qt: Session management error: Could not open network socket


In addition when I search for Printers there is no longer any listing for it.  Two printers show on HP device manager.  One shows a communication error.  I can print to the other but it is only printing partial pages.

I reinstalled everything named "Cups" and already installed via Synaptic.

Any suggestions?

thanks


garyk
--

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

Re: printing issues

Gary J. Kirkpatrick


On Thu, Nov 22, 2018 at 8:15 AM Gary J. Kirkpatrick <[hidden email]> wrote:
I have an HP printer which has been working flawlessly on 18.04.  I am now gettng the following error 
Failed to load module "canberra-gtk-module"
Qt: Session management error: Could not open network socket


In addition when I search for Printers there is no longer any listing for it.  Two printers show on HP device manager.  One shows a communication error.  I can print to the other but it is only printing partial pages.

I reinstalled everything named "Cups" and already installed via Synaptic.

Any suggestions?

thanks


garyk
--

I was using the Unity interface when I wrote the above.  In the Ubuntu interface I do see 'printers' under Device in Settings.  However there are two printers showing there and only one in the HP Device Manager.  I deleted the second, non-working one from Printers under Device but it returns immediately.  

It is printing albeit it is barely putting ink on every other line.  

Any suggestions appreciated.


garyk 



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

Re: printing issues

Liam Proven
On Thu, 22 Nov 2018 at 10:44, Gary J. Kirkpatrick <[hidden email]> wrote:
>
> I was using the Unity interface when I wrote the above.  In the Ubuntu interface I do see 'printers' under Device in Settings.  However there are two printers showing there and only one in the HP Device Manager.  I deleted the second, non-working one from Printers under Device but it returns immediately.
>
> It is printing albeit it is barely putting ink on every other line.
>
> Any suggestions appreciated.

Try removing both, then unplugging the printer before one reappears
and then rebooting?

--
Liam Proven - Profile: https://about.me/liamproven
Email: [hidden email] - Google Mail/Hangouts/Plus: [hidden email]
Twitter/Facebook/Flickr: lproven - Skype/LinkedIn: liamproven
UK: +44 7939-087884 - ČR (+ WhatsApp/Telegram/Signal): +420 702 829 053

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

Re: printing issues

Peter Flynn
In reply to this post by Gary J. Kirkpatrick
On 22/11/2018 07:15, Gary J. Kirkpatrick wrote:

> I have an HP printer which has been working flawlessly on 18.04.  I am
> now gettng the following error 
> Failed to load module "canberra-gtk-module"
> Qt: Session management error: Could not open network socket
>
> In addition when I search for Printers there is no longer any listing
> for it.  Two printers show on HP device manager.  One shows a
> communication error.  I can print to the other but it is only printing
> partial pages.
>
> I reinstalled everything named "Cups" and already installed via Synaptic.
>
> Any suggestions?

For HP printers I have always got them working this way:

1. go to https://developers.hp.com/hp-linux-imaging-and-printing
2. download HPLIP for your distribution
3. execute the .run file
4. give your password when asked
5. answer the questions and perform the actions (read carefully)
6. create the NAME of your printer meaningfully (one word, plain ASCII)

When it's done (about 15 mins) go to http://localhost:631 and check that
CUPS can see your printer under the name you gave it under Printers,
then click on the name and select Test Page from the Maintenance menu.
Use the Administration menu to [re]set the defaults (eg paper size).

///Peter



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

Re: printing issues

Chris-4
In reply to this post by Gary J. Kirkpatrick
On Thu, 2018-11-22 at 08:15 +0100, Gary J. Kirkpatrick wrote:

> I have an HP printer which has been working flawlessly on 18.04.  I
> am now gettng the following error
> Failed to load module "canberra-gtk-module"
> Qt: Session management error: Could not open network socket
>
>
> In addition when I search for Printers there is no longer any listing
> for it.  Two printers show on HP device manager.  One shows a
> communication error.  I can print to the other but it is only
> printing partial pages.
>
> I reinstalled everything named "Cups" and already installed via
> Synaptic.
>
> Any suggestions?
>
I can't see where you mentioned what HP printer you have. I've always
had problems using the HPLIP software and found out years ago that it
was much easier to install foo2zjs from here -
http://foo2zjs.rkkda.com/ My HP1020 Laser works just fine with it.

--
Chris
31.11972; -97.90167 (Elev. 1092 ft)
06:47:07 up 14:27, 1 user, load average: 0.57, 0.90, 0.77
Description: Ubuntu 18.04.1 LTS, kernel 4.15.0-39-generic


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

Re: printing issues

Wade Smart-2
In reply to this post by Gary J. Kirkpatrick
I have a HP4050 laserjet and an the best way Ive found to
get it to run is to set it up as a generic printer and log in
to cups and set my settings.

--
Registered Linux User: #480675
Registered Linux Machine: #408606
Linux since June 2005

On Thu, Nov 22, 2018 at 1:17 AM Gary J. Kirkpatrick
<[hidden email]> wrote:

>
> I have an HP printer which has been working flawlessly on 18.04.  I am now gettng the following error
> Failed to load module "canberra-gtk-module"
> Qt: Session management error: Could not open network socket
>
>
> In addition when I search for Printers there is no longer any listing for it.  Two printers show on HP device manager.  One shows a communication error.  I can print to the other but it is only printing partial pages.
>
> I reinstalled everything named "Cups" and already installed via Synaptic.
>
> Any suggestions?
>
> thanks
>
>
> garyk
> --
> See my art website and blog     Facebook
>
> --
> ubuntu-users mailing list
> [hidden email]
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

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

Re: printing issues

Gary J. Kirkpatrick
In reply to this post by Liam Proven


On Thu, Nov 22, 2018 at 11:18 AM Liam Proven <[hidden email]> wrote:
On Thu, 22 Nov 2018 at 10:44, Gary J. Kirkpatrick <[hidden email]> wrote:
>
> I was using the Unity interface when I wrote the above.  In the Ubuntu interface I do see 'printers' under Device in Settings.  However there are two printers showing there and only one in the HP Device Manager.  I deleted the second, non-working one from Printers under Device but it returns immediately.
>
> It is printing albeit it is barely putting ink on every other line.
>
> Any suggestions appreciated.

Try removing both, then unplugging the printer before one reappears
and then rebooting?

--
Liam Proven - Profile: https://about.me/liamproven
Email: [hidden email] - Google Mail/Hangouts/Plus: [hidden email]
Twitter/Facebook/Flickr: lproven - Skype/LinkedIn: liamproven
UK: +44 7939-087884 - ČR (+ WhatsApp/Telegram/Signal): +420 702 829 053

Tried that.  Now there are three listings under "Printers!"  The one I added after deleting the two that were there and two others.  Same printer.

How odd.


garyk 

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

Re: printing issues

Gary J. Kirkpatrick


On Thu, Nov 22, 2018 at 3:57 PM Gary J. Kirkpatrick <[hidden email]> wrote:


On Thu, Nov 22, 2018 at 11:18 AM Liam Proven <[hidden email]> wrote:
On Thu, 22 Nov 2018 at 10:44, Gary J. Kirkpatrick <[hidden email]> wrote:
>
> I was using the Unity interface when I wrote the above.  In the Ubuntu interface I do see 'printers' under Device in Settings.  However there are two printers showing there and only one in the HP Device Manager.  I deleted the second, non-working one from Printers under Device but it returns immediately.
>
> It is printing albeit it is barely putting ink on every other line.
>
> Any suggestions appreciated.

Try removing both, then unplugging the printer before one reappears
and then rebooting?

--
Liam Proven - Profile: https://about.me/liamproven
Email: [hidden email] - Google Mail/Hangouts/Plus: [hidden email]
Twitter/Facebook/Flickr: lproven - Skype/LinkedIn: liamproven
UK: +44 7939-087884 - ČR (+ WhatsApp/Telegram/Signal): +420 702 829 053

Tried that.  Now there are three listings under "Printers!"  The one I added after deleting the two that were there and two others.  Same printer.

How odd.


garyk 

I have a 3630 desk jet.  I have had very few problems using the HP installation process.  


garyk


I


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

Re: printing issues

Brian-277
On Thu 22 Nov 2018 at 16:00:02 +0100, Gary J. Kirkpatrick wrote:

> I have a 3630 desk jet.  I have had very few problems using the HP
> installation process.

Network (wireless) connected or USB? And the CUPS version? 'dpkg -l cups'
for that.

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

Re: printing issues

Gary J. Kirkpatrick


On Thu, Nov 22, 2018 at 5:00 PM Brian <[hidden email]> wrote:
On Thu 22 Nov 2018 at 16:00:02 +0100, Gary J. Kirkpatrick wrote:

> I have a 3630 desk jet.  I have had very few problems using the HP
> installation process.

Network (wireless) connected or USB? And the CUPS version? 'dpkg -l cups'
for that.

-
Brian.

-- 

Hi

Wireless connection
2.2.7-1 cups



garyk 

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

Re: printing issues

Brian-277
On Thu 22 Nov 2018 at 18:20:08 +0100, Gary J. Kirkpatrick wrote:

> On Thu, Nov 22, 2018 at 5:00 PM Brian <[hidden email]> wrote:
>
> > On Thu 22 Nov 2018 at 16:00:02 +0100, Gary J. Kirkpatrick wrote:
> >
> > > I have a 3630 desk jet.  I have had very few problems using the HP
> > > installation process.
> >
> > Network (wireless) connected or USB? And the CUPS version? 'dpkg -l cups'
> > for that.
> >
> > -
> > Brian.
> >
> > --
>
>
> Hi
>
> Wireless connection
> 2.2.7-1 cups

Please post the outputs of

1. grep -E -v '^#|^$' /etc/cups/cups-browsed.conf
2. lpstat -t

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

Re: printing issues

Gary J. Kirkpatrick


On Thu, Nov 22, 2018 at 6:53 PM Brian <[hidden email]> wrote:
On Thu 22 Nov 2018 at 18:20:08 +0100, Gary J. Kirkpatrick wrote:

> On Thu, Nov 22, 2018 at 5:00 PM Brian <[hidden email]> wrote:
>
> > On Thu 22 Nov 2018 at 16:00:02 +0100, Gary J. Kirkpatrick wrote:
> >
> > > I have a 3630 desk jet.  I have had very few problems using the HP
> > > installation process.
> >
> > Network (wireless) connected or USB? And the CUPS version? 'dpkg -l cups'
> > for that.
> >
> > -
> > Brian.
> >
> > --
>
>
> Hi
>
> Wireless connection
> 2.2.7-1 cups

Please post the outputs of

1. grep -E -v '^#|^$' /etc/cups/cups-browsed.conf
2. lpstat -t

--
Brian.

1. BrowseRemoteProtocols dnssd cups

2. 


 

scheduler is running
system default destination: DeskJet-3630-series
device for DeskJet-3630-series: hp:/usb/DeskJet_3630_series?serial=CN78I4H4J5067P
device for DeskJet_3630new: hp:/net/DeskJet_3630_series?ip=192.168.1.129
device for HP_DeskJet_3630_series_61C73D_: ipp://HP18602461C73D.local:631/ipp/print
DeskJet-3630-series accepting requests since Thu 22 Nov 2018 01:23:17 PM CET
DeskJet_3630new accepting requests since Thu 22 Nov 2018 01:26:25 PM CET
HP_DeskJet_3630_series_61C73D_ accepting requests since Fri 23 Nov 2018 06:51:06 AM CET
printer DeskJet-3630-series is idle.  enabled since Thu 22 Nov 2018 01:23:17 PM CET
printer DeskJet_3630new is idle.  enabled since Thu 22 Nov 2018 01:26:25 PM CET
printer HP_DeskJet_3630_series_61C73D_ is idle.  enabled since Fri 23 Nov 2018 0


garyk

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

Re: printing issues

Brian-277
On Fri 23 Nov 2018 at 10:03:22 +0100, Gary J. Kirkpatrick wrote:

> On Thu, Nov 22, 2018 at 6:53 PM Brian <[hidden email]> wrote:
>
> > Please post the outputs of
> >
> > 1. grep -E -v '^#|^$' /etc/cups/cups-browsed.conf
> > 2. lpstat -t
> >
> > --
> > Brian.
>
>
> 1. BrowseRemoteProtocols dnssd cups

I'll comment on this later.

> 2.
>
> scheduler is running
> system default destination: DeskJet-3630-series
> device for DeskJet-3630-series: hp:/usb/DeskJet_3630_series?serial=CN78I4H4J5067P
> device for DeskJet_3630new: hp:/net/DeskJet_3630_series?ip=192.168.1.129

These are print queues (you call them printers) set up with HPLIP. Both
look valid so should be capable of being printed to. Please try

  lp -d DeskJet-3630-series /etc/nsswitch.conf

and

  lp -d DeskJet_3630new /etc/nsswitch.conf

Say how you go on and what the quality of the printouts are.

> device for HP_DeskJet_3630_series_61C73D_: ipp://HP18602461C73D.local:631/ipp/print

Your printer has USB *and* wireless conections being used. I find this
unusual but (AFAIK) it is not forbidden. 1. above shows you have not
uncommented any CreateIPPPrinterQueues line, so, by default, a queue for
a local IPP printer (which you do have and which is connected by USB)
will be auto-created using ippusbxd. You can check for auto-creation with

  systemctl stop cups-browsed

HP_DeskJet_3630_series_61C73D_ should disappear from 'lpstat -t'.

As before:

  lp -d HP_DeskJet_3630_series_61C73D_ /etc/nsswitch.conf

and comment.

[Snip]

> printer HP_DeskJet_3630_series_61C73D_ is idle.  enabled since Fri 23 Nov 2018 0

I wonder why the time is missing. Copy and paste error?

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

Re: printing issues

Gary J. Kirkpatrick


On Fri, Nov 23, 2018 at 1:22 PM Brian <[hidden email]> wrote:
On Fri 23 Nov 2018 at 10:03:22 +0100, Gary J. Kirkpatrick wrote:

> On Thu, Nov 22, 2018 at 6:53 PM Brian <[hidden email]> wrote:
>
> > Please post the outputs of
> >
> > 1. grep -E -v '^#|^$' /etc/cups/cups-browsed.conf
> > 2. lpstat -t
> >
> > --
> > Brian.
>
>
> 1. BrowseRemoteProtocols dnssd cups

I'll comment on this later.

> 2.
>
> scheduler is running
> system default destination: DeskJet-3630-series
> device for DeskJet-3630-series: hp:/usb/DeskJet_3630_series?serial=CN78I4H4J5067P
> device for DeskJet_3630new: hp:/net/DeskJet_3630_series?ip=192.168.1.129

These are print queues (you call them printers) set up with HPLIP. Both
look valid so should be capable of being printed to. Please try

  lp -d DeskJet-3630-series /etc/nsswitch.conf

and

  lp -d DeskJet_3630new /etc/nsswitch.conf

Say how you go on and what the quality of the printouts are.

> device for HP_DeskJet_3630_series_61C73D_: ipp://HP18602461C73D.local:631/ipp/print

Your printer has USB *and* wireless conections being used. I find this
unusual but (AFAIK) it is not forbidden. 1. above shows you have not
uncommented any CreateIPPPrinterQueues line, so, by default, a queue for
a local IPP printer (which you do have and which is connected by USB)
will be auto-created using ippusbxd. You can check for auto-creation with

  systemctl stop cups-browsed

HP_DeskJet_3630_series_61C73D_ should disappear from 'lpstat -t'.

As before:

  lp -d HP_DeskJet_3630_series_61C73D_ /etc/nsswitch.conf

and comment.

[Snip]

> printer HP_DeskJet_3630_series_61C73D_ is idle.  enabled since Fri 23 Nov 2018 0

I wonder why the time is missing. Copy and paste error?

--
Brian.

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

  lp -d DeskJet-3630-series /etc/nsswitch.conf
request id is DeskJet-3630-series-50 (1 file(s))

 lp -d DeskJet_3630new /etc/nsswitch.conf
request id is DeskJet_3630new-51 (1 file(s))

Print quality very good although off the margin on left

Then  systemctl stop cup
Failed to stop cup.service: Unit cup.service not loaded.
gary18@gary18:~$   lp -d HP_DeskJet_3630_series_61C73D_ /etc/nsswitch.conf
request id is HP_DeskJet_3630_series_61C7

It printed again, same as above.

I have 3 printers listed under Devices

Note I use both the 18.04 and the Unity interfaces.  I may have used a third interface.

I think I answered everything you asked.

garyk


--

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

Re: printing issues

Brian-277
On Fri 23 Nov 2018 at 14:37:03 +0100, Gary J. Kirkpatrick wrote:

[Snip]
 
>   lp -d DeskJet-3630-series /etc/nsswitch.conf
> request id is DeskJet-3630-series-50 (1 file(s))
>
>  lp -d DeskJet_3630new /etc/nsswitch.conf
> request id is DeskJet_3630new-51 (1 file(s))
>
> Print quality very good although off the margin on left

Good. Both these HPLIP queues use the same filters. The margin issue is
minor.

> Then  systemctl stop cup
> Failed to stop cup.service: Unit cup.service not loaded.

cup.service is an invalid service name. I actually gave cups-browsed as
the service to stop. This was only to demonstate to you that the queue
which keeps coming back is managed by cups-browsed.

> gary18@gary18:~$   lp -d HP_DeskJet_3630_series_61C73D_ /etc/nsswitch.conf
> request id is HP_DeskJet_3630_series_61C7
>
> It printed again, same as above.

Good. This is a driverless queue auto-created by cups-browsed. It has
nothing to do with HPLIP.
>
> I have 3 printers listed under Devices

There are three devices shown by 'lpstat -t'.

> Note I use both the 18.04 and the Unity interfaces.  I may have used a
> third interface.

The interface used shouldn't matter.

> I think I answered everything you asked.

You have indeed, and it shows you have a working printing system. You
can, if you wish, do more testing with a more varied selection of files
printed with different applcations.

Here is what I would do on your system for printing:

1. Decide whether to use one or other of the USB or wireless connections.

2. If USB is chosen, delete the two HPLIP queues. You could also purge
   HPLIP from the system as it is no longer used.

3. If wireless is chosen, uncomment "CreateIPPPrinterQueues All" in
   /etc/cups/cups-browsed.conf" and restart cups-browsed. Delete the two
   HPLIP queues. You could also purge HPLIP as it is no longer used.

Keep things simple; you do not need USB and wireless at the same time.
And, by using driverless printing, all HPLIP bugs can be avoided and
nobody need bother about installing non-free plugins for printing ever
again.

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

Re: printing issues RESOLVED

Gary J. Kirkpatrick


On Fri, Nov 23, 2018 at 4:00 PM Brian <[hidden email]> wrote:
On Fri 23 Nov 2018 at 14:37:03 +0100, Gary J. Kirkpatrick wrote:

[Snip]

>   lp -d DeskJet-3630-series /etc/nsswitch.conf
> request id is DeskJet-3630-series-50 (1 file(s))
>
>  lp -d DeskJet_3630new /etc/nsswitch.conf
> request id is DeskJet_3630new-51 (1 file(s))
>
> Print quality very good although off the margin on left

Good. Both these HPLIP queues use the same filters. The margin issue is
minor.

> Then  systemctl stop cup
> Failed to stop cup.service: Unit cup.service not loaded.

cup.service is an invalid service name. I actually gave cups-browsed as
the service to stop. This was only to demonstate to you that the queue
which keeps coming back is managed by cups-browsed.

> gary18@gary18:~$   lp -d HP_DeskJet_3630_series_61C73D_ /etc/nsswitch.conf
> request id is HP_DeskJet_3630_series_61C7
>
> It printed again, same as above.

Good. This is a driverless queue auto-created by cups-browsed. It has
nothing to do with HPLIP.
>
> I have 3 printers listed under Devices

There are three devices shown by 'lpstat -t'.

> Note I use both the 18.04 and the Unity interfaces.  I may have used a
> third interface.

The interface used shouldn't matter.

> I think I answered everything you asked.

You have indeed, and it shows you have a working printing system. You
can, if you wish, do more testing with a more varied selection of files
printed with different applcations.

Here is what I would do on your system for printing:

1. Decide whether to use one or other of the USB or wireless connections.

2. If USB is chosen, delete the two HPLIP queues. You could also purge
   HPLIP from the system as it is no longer used.

3. If wireless is chosen, uncomment "CreateIPPPrinterQueues All" in
   /etc/cups/cups-browsed.conf" and restart cups-browsed. Delete the two
   HPLIP queues. You could also purge HPLIP as it is no longer used.

Keep things simple; you do not need USB and wireless at the same time.
And, by using driverless printing, all HPLIP bugs can be avoided and
nobody need bother about installing non-free plugins for printing ever
again.

--
Brian.

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


I purged  HPLIP sudo apt-get remove --purge hplip.  

I removed the printer I installed wirelessly (I never installed one to print by USB).  I still have a printer I can not remove using 'System/Devices/Printers.'  It is labeled  HP_DeskJet_3630_series_61C7.    I can not print from it when using the Ubuntu interface, I can with the Unity interface-  I can not delete it from there either as I gave no print interface, that is, there is no System/Devices/Printers.
I added the printer using  'System/Devices/Printers.'  It works and appears to be working correctly.   

I uncommented "CreateIPPPrinterQueues All.  I restarted CUP sudo systemctl restart cups.service  I now have 3 printers listed . 

Seems to be printing fine. 

thanks


Garyk





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

Re: printing issues RESOLVED

Brian-277
On Fri 23 Nov 2018 at 19:15:25 +0100, Gary J. Kirkpatrick wrote:

> On Fri, Nov 23, 2018 at 4:00 PM Brian <[hidden email]> wrote:
>

[Snip]

> > Here is what I would do on your system for printing:
> >
> > 1. Decide whether to use one or other of the USB or wireless connections.
> >
> > 2. If USB is chosen, delete the two HPLIP queues. You could also purge
> >    HPLIP from the system as it is no longer used.
> >
> > 3. If wireless is chosen, uncomment "CreateIPPPrinterQueues All" in
> >    /etc/cups/cups-browsed.conf" and restart cups-browsed. Delete the two
> >    HPLIP queues. You could also purge HPLIP as it is no longer used.
> >
> > Keep things simple; you do not need USB and wireless at the same time.
> > And, by using driverless printing, all HPLIP bugs can be avoided and
> > nobody need bother about installing non-free plugins for printing ever
> > again.
> >
> > --
> > Brian.
> >
> > --
> > ubuntu-users mailing list
> > [hidden email]
> > Modify settings or unsubscribe at:
> > https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
> >
>
>
> I purged  HPLIP sudo apt-get remove --purge hplip.

You've gone this far so you could do

  sudo apt-get --purge autoremove

to clean up other packages which are not needed now.

I'll also point out (before anyone else does) that, if you have a need
for scanning, some readjustment will be now be needed. Anyway, one thing
at a time. Back to printing.

> I removed the printer I installed wirelessly (I never installed one to
> print by USB).  I still have a printer I can not remove using

Ok, you didn't actively install a USB print queue but you did have a
USB connection and, in that situation, Ubuntu will automatically set an
IPP printer up for you. Many users would appreciate that facility. I
hope you have disconnected the printer from the USB port.

> 'System/Devices/Printers.'  It is
> labeled  HP_DeskJet_3630_series_61C7.    I can not print from it when using
> the Ubuntu interface, I can with the Unity interface-  I can not delete it
> from there either as I gave no print interface, that is, there is no
> System/Devices/Printers.

I use Debian, but its printing system and that of Ubuntu are identical
for all intents and purposes. However, I am unfamiliar with the two
interfaces you refer to. If the Ubuntu interface is based on GNOME I can
think of a reason. Would you describe what you see there *immediately*
after restarting cups-browsed.

> I added the printer using  'System/Devices/Printers.'  It works and appears
> to be working correctly.
>
> I uncommented "CreateIPPPrinterQueues All.  I restarted CUP sudo systemctl
> restart cups.service  I now have 3 printers listed .

It is essential to restart cups-browsed. Does 'lpstat -t' also show these
three printers? Please post the output if it shows more than 1.
>
> Seems to be printing fine.

That's the good part, isn't 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
|

Re: printing issues

Gary J. Kirkpatrick
In reply to this post by Brian-277


On Fri, Nov 23, 2018 at 4:00 PM Brian <[hidden email]> wrote:
On Fri 23 Nov 2018 at 14:37:03 +0100, Gary J. Kirkpatrick wrote:

[Snip]

>   lp -d DeskJet-3630-series /etc/nsswitch.conf
> request id is DeskJet-3630-series-50 (1 file(s))
>
>  lp -d DeskJet_3630new /etc/nsswitch.conf
> request id is DeskJet_3630new-51 (1 file(s))
>
> Print quality very good although off the margin on left

Good. Both these HPLIP queues use the same filters. The margin issue is
minor.

> Then  systemctl stop cup
> Failed to stop cup.service: Unit cup.service not loaded.

cup.service is an invalid service name. I actually gave cups-browsed as
the service to stop. This was only to demonstate to you that the queue
which keeps coming back is managed by cups-browsed.

> gary18@gary18:~$   lp -d HP_DeskJet_3630_series_61C73D_ /etc/nsswitch.conf
> request id is HP_DeskJet_3630_series_61C7
>
> It printed again, same as above.

Good. This is a driverless queue auto-created by cups-browsed. It has
nothing to do with HPLIP.
>
> I have 3 printers listed under Devices

There are three devices shown by 'lpstat -t'.

> Note I use both the 18.04 and the Unity interfaces.  I may have used a
> third interface.

The interface used shouldn't matter.

> I think I answered everything you asked.

You have indeed, and it shows you have a working printing system. You
can, if you wish, do more testing with a more varied selection of files
printed with different applcations.

Here is what I would do on your system for printing:

1. Decide whether to use one or other of the USB or wireless connections.

2. If USB is chosen, delete the two HPLIP queues. You could also purge
   HPLIP from the system as it is no longer used.

3. If wireless is chosen, uncomment "CreateIPPPrinterQueues All" in
   /etc/cups/cups-browsed.conf" and restart cups-browsed. Delete the two
   HPLIP queues. You could also purge HPLIP as it is no longer used.

Keep things simple; you do not need USB and wireless at the same time.
And, by using driverless printing, all HPLIP bugs can be avoided and
nobody need bother about installing non-free plugins for printing ever
again.

--
Brian.

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


As I mentioned, printing is now fine.  However scanning does not.  simple scan says no scanner detected.

 # sane-find-scanner will now attempt to detect your scanner. If the
  # result is different from what you expected, first make sure your
  # scanner is powered up and properly connected to your computer.

  # No SCSI scanners found. If you expected something different, make sure that
  # you have loaded a kernel SCSI driver for your SCSI adapter.

could not open USB device 0x1d6b/0x0003 at 002:001: Access denied (insufficient permissions)
could not open USB device 0x04f3/0x0335 at 001:005: Access denied (insufficient permissions)
could not open USB device 0x8087/0x07dc at 001:004: Access denied (insufficient permissions)
could not open USB device 0x046d/0xc534 at 001:003: Access denied (insufficient permissions)
could not open USB device 0x174f/0x14b7 at 001:002: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0002 at 001:001: Access denied (insufficient permissions)
  # No USB scanners found. If you expected something different, make sure that
  # you have loaded a kernel driver for your USB host controller

Any suggestions?


garyk




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

Re: printing issues RESOLVED

Gary J. Kirkpatrick
In reply to this post by Brian-277


On Fri, Nov 23, 2018 at 8:31 PM Brian <[hidden email]> wrote:
On Fri 23 Nov 2018 at 19:15:25 +0100, Gary J. Kirkpatrick wrote:

> On Fri, Nov 23, 2018 at 4:00 PM Brian <[hidden email]> wrote:
>

[Snip]

> > Here is what I would do on your system for printing:
> >
> > 1. Decide whether to use one or other of the USB or wireless connections.
> >
> > 2. If USB is chosen, delete the two HPLIP queues. You could also purge
> >    HPLIP from the system as it is no longer used.
> >
> > 3. If wireless is chosen, uncomment "CreateIPPPrinterQueues All" in
> >    /etc/cups/cups-browsed.conf" and restart cups-browsed. Delete the two
> >    HPLIP queues. You could also purge HPLIP as it is no longer used.
> >
> > Keep things simple; you do not need USB and wireless at the same time.
> > And, by using driverless printing, all HPLIP bugs can be avoided and
> > nobody need bother about installing non-free plugins for printing ever
> > again.
> >
> > --
> > Brian.
> >
> > --
> > ubuntu-users mailing list
> > [hidden email]
> > Modify settings or unsubscribe at:
> > https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
> >
>
>
> I purged  HPLIP sudo apt-get remove --purge hplip.

You've gone this far so you could do

  sudo apt-get --purge autoremove

to clean up other packages which are not needed now.

I'll also point out (before anyone else does) that, if you have a need
for scanning, some readjustment will be now be needed. Anyway, one thing
at a time. Back to printing.

> I removed the printer I installed wirelessly (I never installed one to
> print by USB).  I still have a printer I can not remove using

Ok, you didn't actively install a USB print queue but you did have a
USB connection and, in that situation, Ubuntu will automatically set an
IPP printer up for you. Many users would appreciate that facility. I
hope you have disconnected the printer from the USB port.

> 'System/Devices/Printers.'  It is
> labeled  HP_DeskJet_3630_series_61C7.    I can not print from it when using
> the Ubuntu interface, I can with the Unity interface-  I can not delete it
> from there either as I gave no print interface, that is, there is no
> System/Devices/Printers.

I use Debian, but its printing system and that of Ubuntu are identical
for all intents and purposes. However, I am unfamiliar with the two
interfaces you refer to. If the Ubuntu interface is based on GNOME I can
think of a reason. Would you describe what you see there *immediately*
after restarting cups-browsed.

> I added the printer using  'System/Devices/Printers.'  It works and appears
> to be working correctly.
>
> I uncommented "CreateIPPPrinterQueues All.  I restarted CUP sudo systemctl
> restart cups.service  I now have 3 printers listed .

It is essential to restart cups-browsed. Does 'lpstat -t' also show these
three printers? Please post the output if it shows more than 1.
>
> Seems to be printing fine.

That's the good part, isn't it?

--
Brian.

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

I just sent the previous just as you were noting that I would need to do something to activate scanning

 lpstat -t
scheduler is running
no system default destination
device for DeskJet-3630: dnssd://HP%20DeskJet%203630%20series%20%5B61C73D%5D._ipp._tcp.local/?uuid=1c852a4d-b800-1f08-abcd-18602461c73d
device for HP_DeskJet_3630_series_61C73D_: ipp://HP18602461C73D.local:631/ipp/print
DeskJet-3630 accepting requests since Sat 24 Nov 2018 06:48:30 AM CET
HP_DeskJet_3630_series_61C73D_ accepting requests since Sat 24 Nov 2018 07:05:36 AM CET
printer DeskJet-3630 is idle.  enabled since Sat 24 Nov 2018 06:48:30 AM CET
printer HP_DeskJet_3630_series_61C73D_ is idle.  enabled since Sat 24 Nov 2018 07:05:36 AM CET

 garyk

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

Re: printing issues RESOLVED

Gary J. Kirkpatrick


On Sat, Nov 24, 2018 at 7:22 AM Gary J. Kirkpatrick <[hidden email]> wrote:


On Fri, Nov 23, 2018 at 8:31 PM Brian <[hidden email]> wrote:
On Fri 23 Nov 2018 at 19:15:25 +0100, Gary J. Kirkpatrick wrote:

> On Fri, Nov 23, 2018 at 4:00 PM Brian <[hidden email]> wrote:
>

[Snip]

> > Here is what I would do on your system for printing:
> >
> > 1. Decide whether to use one or other of the USB or wireless connections.
> >
> > 2. If USB is chosen, delete the two HPLIP queues. You could also purge
> >    HPLIP from the system as it is no longer used.
> >
> > 3. If wireless is chosen, uncomment "CreateIPPPrinterQueues All" in
> >    /etc/cups/cups-browsed.conf" and restart cups-browsed. Delete the two
> >    HPLIP queues. You could also purge HPLIP as it is no longer used.
> >
> > Keep things simple; you do not need USB and wireless at the same time.
> > And, by using driverless printing, all HPLIP bugs can be avoided and
> > nobody need bother about installing non-free plugins for printing ever
> > again.
> >
> > --
> > Brian.
> >
> > --
> > ubuntu-users mailing list
> > [hidden email]
> > Modify settings or unsubscribe at:
> > https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
> >
>
>
> I purged  HPLIP sudo apt-get remove --purge hplip.

You've gone this far so you could do

  sudo apt-get --purge autoremove

to clean up other packages which are not needed now.

I'll also point out (before anyone else does) that, if you have a need
for scanning, some readjustment will be now be needed. Anyway, one thing
at a time. Back to printing.

> I removed the printer I installed wirelessly (I never installed one to
> print by USB).  I still have a printer I can not remove using

Ok, you didn't actively install a USB print queue but you did have a
USB connection and, in that situation, Ubuntu will automatically set an
IPP printer up for you. Many users would appreciate that facility. I
hope you have disconnected the printer from the USB port.

> 'System/Devices/Printers.'  It is
> labeled  HP_DeskJet_3630_series_61C7.    I can not print from it when using
> the Ubuntu interface, I can with the Unity interface-  I can not delete it
> from there either as I gave no print interface, that is, there is no
> System/Devices/Printers.

I use Debian, but its printing system and that of Ubuntu are identical
for all intents and purposes. However, I am unfamiliar with the two
interfaces you refer to. If the Ubuntu interface is based on GNOME I can
think of a reason. Would you describe what you see there *immediately*
after restarting cups-browsed.

> I added the printer using  'System/Devices/Printers.'  It works and appears
> to be working correctly.
>
> I uncommented "CreateIPPPrinterQueues All.  I restarted CUP sudo systemctl
> restart cups.service  I now have 3 printers listed .

It is essential to restart cups-browsed. Does 'lpstat -t' also show these
three printers? Please post the output if it shows more than 1.
>
> Seems to be printing fine.

That's the good part, isn't it?

--
Brian.

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

I just sent the previous just as you were noting that I would need to do something to activate scanning

 lpstat -t
scheduler is running
no system default destination
device for DeskJet-3630: dnssd://HP%20DeskJet%203630%20series%20%5B61C73D%5D._ipp._tcp.local/?uuid=1c852a4d-b800-1f08-abcd-18602461c73d
device for HP_DeskJet_3630_series_61C73D_: ipp://HP18602461C73D.local:631/ipp/print
DeskJet-3630 accepting requests since Sat 24 Nov 2018 06:48:30 AM CET
HP_DeskJet_3630_series_61C73D_ accepting requests since Sat 24 Nov 2018 07:05:36 AM CET
printer DeskJet-3630 is idle.  enabled since Sat 24 Nov 2018 06:48:30 AM CET
printer HP_DeskJet_3630_series_61C73D_ is idle.  enabled since Sat 24 Nov 2018 07:05:36 AM CET

 garyk



 I restarted cups-browsed

garyk

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