18.04 has no support for my printer

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

Re: 18.04 has no support for my printer

Liam Proven
On Thu, 18 Oct 2018 at 13:33, Charles Irons <[hidden email]> wrote:

> I am in South Africa. Johannesburg actually. We lag behind somewhat.

Aha. Never been that far south, although I grew up in Nigeria. Mind
you, at the time, ~45 years ago, we didn't have telephones, let alone
Internet...

> I am getting comfortable with operating a terminal; Just very little idea of which commands will help.

I would like to tell you that this feeling fades, but after 30y of it,
I'm not sure it has. Just retreated a bit.

> We seem to be getting close to a solution to printing!

Well, I'd like to think so, but TBH, I'm baffled at the moment.

I don't know if you know that you can get at a web interface to CUPS
via your browser.

Just go to:

http://localhost:631/

Go to the "Administration" tab in the top bar.

You _might_ be able to see some more about what's going on there.

--
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: 18.04 has no support for my printer

Brian-277
In reply to this post by Charles Irons
On Thu 18 Oct 2018 at 12:15:14 +0200, Charles Irons wrote:

> Hello Brian
>
> Sorry for using so much of your time. I have followed your commands and
> added more without success.
> See below:
> chas@Charles-PC:~$ lpstat -a
> Deskjet-1510-series accepting requests since Wed 17 Oct 2018 09:30:55 SAST
> Deskjet_1510_2 accepting requests since Thu 18 Oct 2018 08:25:16 SAST
> chas@Charles-PC:~$ lpadmin -p test -v
> hp:/usb/Deskjet_1510_series?serial=CN43B1D1DC05XJ -E -m
> drv:///hpcups.drv/hp-deskjet_1510_series.ppd
> chas@Charles-PC:~$ sudo lpadmin -p test -v
> hp:/usb/Deskjet_1510_series?serial=CN43B1D1DC05XJ -E -m
> drv:///hpcups.drv/hp-deskjet_1510_series.ppd
> [sudo] password for chas:
> chas@Charles-PC:~$  lp -d test /etc/nsswitch.conf
> request id is test-2553 (1 file(s))
> chas@Charles-PC:~$  cupsfilter -p /etc/cups/test.ppd -m printer/foo -e
> /etc/nsswitch.conf > outfile 2>log
> Segmentation fault (core dumped)
> chas@Charles-PC:~$
> ************
> Idle - Filter failed
> ************
> ****I deleted all printers and re-installed one only. I ran HP driver
> diagnosis that showed:
> | HPLIP CONFIGURATION |
> -----------------------
> HPLIP-Version: HPLIP 3.18.9  ****???
> HPLIP-Home: /usr/share/hplip
> HPLIP-Installation: Auto installation is supported for ubuntu distro  18.04
> version
> PPD: /etc/cups/ppd/Deskjet_1510.ppd
> PPD Description: HP Deskjet 1510 Series, HPCUPS 3.17.10   ***???
> Printer status: printer Deskjet_1510 is idle.  enabled since Thu 18 Oct
> 2018 11:25:23 SAST
> Communication status: Good
> *** Then I reran commands:
>
> chas@Charles-PC:~$ lpadmin -p test -v
> hp:/usb/Deskjet_1510_series?serial=CN43B1D1DC05XJ -E -m
> drv:///hpcups.drv/hp-deskjet_1510_series.ppd

At last - the correct command. :)

> chas@Charles-PC:~$ lpstat -a
> Deskjet_1510 accepting requests since Thu 18 Oct 2018 11:35:49 SAST
> test accepting requests since Thu 18 Oct 2018 11:45:55 SAST

The queue has been set up.

> chas@Charles-PC:~$ lp -d test /etc/nsswitch.conf
> request id is test-2557 (1 file(s))

Ok.

> chas@Charles-PC:~$ cupsfilter -p /etc/cups/test.ppd -m printer/foo -e
> /etc/nsswitch.conf > outfile 2>log
> Segmentation fault (core dumped)

Do

sudo cupsfilter -p /etc/cups/test.ppd -m printer/foo -e /etc/nsswitch.conf > outfile 2>log

You appear to have a filter which is failing. log will tell you which
one (if any) it is.

--
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: 18.04 has no support for my printer

Charles Irons
Hello Brian
I hope Friday offers you a relaxing weekend.
I ran the command from your email and the results are below.
I have used synaptic a few times over the years. 
Maybe I could delete the printer and disconnect the cable, then uninstall HPLip and re-install version 3.18.9
Then connect the printer and do HP-setup?
That might produce a matched set of software??
I suppose this long search may possibly be helpful to other users.
I value your advice as always. 
**********************************
Ran the command that you required.
chas@Charles-PC:~$ sudo cupsfilter -p /etc/cups/test.ppd -m printer/foo -e /etc/nsswitch.conf > outfile 2>log
[sudo] password for chas: 
Segmentation fault
chas@Charles-PC:~$ 
**********relevant syslog, auth.log and dkpg.log follow with a few "highlights" that I found.
**************************************************************************************************
syslog
Oct 19 08:48:01 Charles-PC dbus-daemon[1585]: [session uid=1000 pid=1585] Successfully activated service 'org.gnome.Terminal'
Oct 19 08:48:01 Charles-PC systemd[1555]: Started GNOME Terminal Server..............................................
Oct 19 08:48:01 Charles-PC compiz[2271]: # Theme parsing error: gtk-main.css:73:38: Failed to import: Error opening file /usr/share/themes/Radiance/gtk-3.20/apps/gnome-builder.css: No such file or directory
Oct 19 08:48:03 Charles-PC zeitgeist-daemon[2691]: #033[31m[06:48:03.466297 WARNING]#033[0m zeitgeist-daemon.vala:127: Unable to parse version info!
Oct 19 08:48:13 Charles-PC kernel: [ 2462.072011] [UFW BLOCK] IN=eth0 OUT= MAC=01:00:5e:00:00:01:98:de:d0:e7:d6:68:08:00 SRC=192.168.0.1 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0x00 TTL=1 ID=0 DF PROTO=2 ??????????????????????????????????????????firewall block..??????????
Oct 19 08:48:40 Charles-PC kernel: [ 2488.913106] cupsfilter[3788]: segfault at c ip 00007f2fc2f685a1 sp 00007ffda8fd2368 error 4 in libc-2.27.so[7f2fc2dda000+1e7000]
Oct 19 08:48:40 Charles-PC systemd[1555]: Starting Notification regarding a crash report...
Oct 19 08:48:40 Charles-PC systemd[1]: Starting Process error reports when automatic reporting is enabled...
Oct 19 08:48:40 Charles-PC systemd[1555]: Started Notification regarding a crash report.
Oct 19 08:48:40 Charles-PC systemd[1555]: Starting Notification regarding a crash report...
Oct 19 08:48:41 Charles-PC update-notifier-crash[3797]: cupsfilter *********************************************filter****************
Oct 19 08:48:41 Charles-PC system-crash-no[3805]: Theme parsing error: gtk-main.css:73:38: Failed to import: Error opening file /usr/share/themes/Radiance/gtk-3.20/apps/gnome-builder.css: No such file or directory
Oct 19 08:48:41 Charles-PC system-crash-no[3805]: GtkDialog mapped without a transient parent. This is discouraged.
Oct 19 08:48:49 Charles-PC systemd[1555]: Started Notification regarding a crash report.
Oct 19 08:48:59 Charles-PC kernel: [ 2507.824869] r8169 0000:03:00.0: invalid short VPD tag 00 at offset 1
Oct 19 08:49:00 Charles-PC whoopsie-upload-all[3791]: /var/crash/_usr_sbin_cupsfilter.1000.crash already marked for upload, skipping
Oct 19 08:49:00 Charles-PC whoopsie-upload-all[3791]: /var/crash/_usr_bin_gnome-control-center.1000.crash already marked for upload, skipping
Oct 19 08:49:00 Charles-PC whoopsie-upload-all[3791]: Collecting info for /var/crash/_usr_sbin_cupsfilter.0.crash...
Oct 19 08:49:00 Charles-PC whoopsie-upload-all[3791]: Marking /var/crash/_usr_sbin_cupsfilter.0.crash for whoopsie upload
Oct 19 08:49:00 Charles-PC whoopsie-upload-all[3791]: All reports processed
Oct 19 08:49:00 Charles-PC systemd[1555]: Starting Notification regarding a crash report...
Oct 19 08:49:00 Charles-PC whoopsie[1171]: [08:49:00] Not online; processing later (/var/crash/_usr_sbin_cupsfilter.0.crash).?????????????????
Oct 19 08:49:00 Charles-PC whoopsie[1171]: [08:49:00] Not online; processing later (/var/crash/_usr_sbin_cupsfilter.0.crash).
Oct 19 08:49:01 Charles-PC update-notifier-crash[4562]: cupsfilter
Oct 19 08:49:01 Charles-PC system-crash-no[4568]: Theme parsing error: gtk-main.css:73:38: Failed to import: Error opening file /usr/share/themes/Radiance/gtk-3.20/apps/gnome-builder.css: No such file or directory
Oct 19 08:49:01 Charles-PC system-crash-no[4568]: GtkDialog mapped without a transient parent. This is discouraged.
Oct 19 08:49:06 Charles-PC systemd[1555]: Started Notification regarding a crash report.
Oct 19 08:50:18 Charles-PC kernel: [ 2587.054623] [UFW BLOCK] IN=eth0 OUT= MAC=01:00:5e:00:00:01:98:de:d0:e7:d6:68:08:00 SRC=192.168.0.1 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0x00 TTL=1 ID=0 DF PROTO=2 
Oct 19 08:51:24 Charles-PC compiz[2271]: WARN  2018-10-19 08:51:24 unity.iconloader IconLoader.cpp:264 Unable to load icon gnome-logs at size 64
Oct 19 08:51:24 Charles-PC compiz[2271]: WARN  2018-10-19 08:51:24 unity.iconloader IconLoader.cpp:264 Unable to load icon gnome-characters at size 64
Oct 19 08:51:32 Charles-PC gnome-system-lo[4604]: Theme parsing error: gtk-main.css:73:38: Failed to import: Error opening file /usr/share/themes/Radiance/gtk-3.20/apps/gnome-builder.css: No such file or directory
Oct 19 08:51:32 Charles-PC gnome-system-lo[4604]: g_action_print_detailed_name: assertion 'g_action_name_is_valid (action_name)' failed
Oct 19 08:51:32 Charles-PC gnome-system-lo[4604]: gtk_application_set_accels_for_action: assertion 'detailed_action_name != NULL' failed
Oct 19 08:51:32 Charles-PC gnome-system-lo[4604]: g_action_print_detailed_name: assertion 'g_action_name_is_valid (action_name)' failed
Oct 19 08:51:32 Charles-PC gnome-system-lo[4604]: gtk_application_set_accels_for_action: assertion 'detailed_action_name != NULL' failed
Oct 19 08:51:32 Charles-PC gnome-s
********************************************************************************************************
auth.log
Oct 19 08:48:40 Charles-PC sudo:     chas : TTY=pts/0 ; PWD=/home/chas ; USER=root ; COMMAND=/usr/sbin/cupsfilter -p /etc/cups/test.ppd -m printer/foo -e /etc/nsswitch.conf
Oct 19 08:48:40 Charles-PC sudo: pam_unix(sudo:session): session opened for user root by (uid=0)
Oct 19 08:48:40 Charles-PC sudo: pam_unix(sudo:session): session closed for user root
*********************************************************************************************************
dpkg.log
2018-10-13 10:55:05 configure libcups2:i386 2.2.7-1ubuntu2.1 <none> ................cups
2018-10-13 10:55:05 status unpacked libcups2:i386 2.2.7-1ubuntu2.1
2018-10-13 10:55:05 status half-configured libcups2:i386 2.2.7-1ubuntu2.1
2018-10-13 10:55:05 status installed libcups2:i386 2.2.7-1ubuntu2.1
2018-10-13 10:55:05 configure libsane-hpaio:i386 3.17.10+repack0-5 <none> ..........scan
2018-10-13 10:55:05 status unpacked libsane-hpaio:i386 3.17.10+repack0-5
2018-10-13 10:55:06 status unpacked libsane-hpaio:i386 3.17.10+repack0-5
2018-10-13 10:55:06 status unpacked libsane-hpaio:i386 3.17.10+repack0-5
2018-10-13 10:55:06 status half-configured libsane-hpaio:i386 3.17.10+repack0-5
2018-10-13 10:55:06 status installed libsane-hpaio:i386 3.17.10+repack0-5
2018-10-13 10:55:06 trigproc libc-bin:amd64 2.27-3ubuntu1 <none>
2018-10-13 10:55:06 status half-configured libc-bin:amd64 2.27-3ubuntu1
2018-10-13 10:55:06 status installed libc-bin:amd64 2.27-3ubuntu1
2018-10-14 16:42:02 startup archives unpack ........................................dropbox
2018-10-14 16:42:03 install dropbox:amd64 <none> 2015.10.28
2018-10-14 16:42:03 status half-installed dropbox:amd64 2015.10.28
2018-10-14 16:42:04 status triggers-pending desktop-file-utils:amd64 0.23-1ubuntu3.18.04.1

.
.

2018-10-14 16:42:10 configure dropbox:amd64 2015.10.28 <none>
2018-10-14 16:42:10 status unpacked dropbox:amd64 2015.10.28
2018-10-14 16:42:10 status half-configured dropbox:amd64 2015.10.28
2018-10-14 16:42:13 status installed dropbox:amd64 2015.10.28 ......................dropbox
.
.

2018-10-16 15:09:48 startup packages configure
2018-10-16 15:14:56 startup archives unpack
2018-10-16 15:15:02 install libpython-all-dev:amd64 <none> 2.7.15~rc1-1
.
.
2018-10-16 16:02:34 status unpacked libsnmp-dev:amd64 5.7.3+dfsg-1.8ubuntu3.1
2018-10-16 16:02:34 status half-configured libsnmp-dev:amd64 5.7.3+dfsg-1.8ubuntu3.1
2018-10-16 16:02:34 status installed libsnmp-dev:amd64 5.7.3+dfsg-1.8ubuntu3.1
2018-10-16 16:02:34 trigproc libc-bin:amd64 2.27-3ubuntu1 <none>
2018-10-16 16:02:34 status half-configured libc-bin:amd64 2.27-3ubuntu1
2018-10-16 16:02:34 status installed libc-bin:amd64 2.27-3ubuntu1
**************no more dpkg log
***************************************************************************************************
Take care.
[hidden email]
 Mobile +2783 588 0028


On Thu, 18 Oct 2018 at 20:08, Brian <[hidden email]> wrote:
On Thu 18 Oct 2018 at 12:15:14 +0200, Charles Irons wrote:

> Hello Brian
>
> Sorry for using so much of your time. I have followed your commands and
> added more without success.
> See below:
> chas@Charles-PC:~$ lpstat -a
> Deskjet-1510-series accepting requests since Wed 17 Oct 2018 09:30:55 SAST
> Deskjet_1510_2 accepting requests since Thu 18 Oct 2018 08:25:16 SAST
> chas@Charles-PC:~$ lpadmin -p test -v
> hp:/usb/Deskjet_1510_series?serial=CN43B1D1DC05XJ -E -m
> drv:///hpcups.drv/hp-deskjet_1510_series.ppd
> chas@Charles-PC:~$ sudo lpadmin -p test -v
> hp:/usb/Deskjet_1510_series?serial=CN43B1D1DC05XJ -E -m
> drv:///hpcups.drv/hp-deskjet_1510_series.ppd
> [sudo] password for chas:
> chas@Charles-PC:~$  lp -d test /etc/nsswitch.conf
> request id is test-2553 (1 file(s))
> chas@Charles-PC:~$  cupsfilter -p /etc/cups/test.ppd -m printer/foo -e
> /etc/nsswitch.conf > outfile 2>log
> Segmentation fault (core dumped)
> chas@Charles-PC:~$
> ************
> Idle - Filter failed
> ************
> ****I deleted all printers and re-installed one only. I ran HP driver
> diagnosis that showed:
> | HPLIP CONFIGURATION |
> -----------------------
> HPLIP-Version: HPLIP 3.18.9  ****???
> HPLIP-Home: /usr/share/hplip
> HPLIP-Installation: Auto installation is supported for ubuntu distro  18.04
> version
> PPD: /etc/cups/ppd/Deskjet_1510.ppd
> PPD Description: HP Deskjet 1510 Series, HPCUPS 3.17.10   ***???
> Printer status: printer Deskjet_1510 is idle.  enabled since Thu 18 Oct
> 2018 11:25:23 SAST
> Communication status: Good
> *** Then I reran commands:
>
> chas@Charles-PC:~$ lpadmin -p test -v
> hp:/usb/Deskjet_1510_series?serial=CN43B1D1DC05XJ -E -m
> drv:///hpcups.drv/hp-deskjet_1510_series.ppd

At last - the correct command. :)

> chas@Charles-PC:~$ lpstat -a
> Deskjet_1510 accepting requests since Thu 18 Oct 2018 11:35:49 SAST
> test accepting requests since Thu 18 Oct 2018 11:45:55 SAST

The queue has been set up.

> chas@Charles-PC:~$ lp -d test /etc/nsswitch.conf
> request id is test-2557 (1 file(s))

Ok.

> chas@Charles-PC:~$ cupsfilter -p /etc/cups/test.ppd -m printer/foo -e
> /etc/nsswitch.conf > outfile 2>log
> Segmentation fault (core dumped)

Do

sudo cupsfilter -p /etc/cups/test.ppd -m printer/foo -e /etc/nsswitch.conf > outfile 2>log

You appear to have a filter which is failing. log will tell you which
one (if any) it is.

--
Brian.

--
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: 18.04 has no support for my printer

Brian-277
On Fri 19 Oct 2018 at 10:17:32 +0200, Charles Irons wrote:

> Hello Brian
> I hope Friday offers you a relaxing weekend.
> I ran the command from your email and the results are below.
> I have used synaptic a few times over the years.
> Maybe I could delete the printer and disconnect the cable, then uninstall
> HPLip and re-install version 3.18.9
> Then connect the printer and do HP-setup?
> That might produce a matched set of software??

You could do that but, to me, the problem appears to lie within another
part of the printing system such as CUPS or a filter from cups-filters.

> I suppose this long search may possibly be helpful to other users.
> I value your advice as always.
> **********************************
> Ran the command that you required.
> chas@Charles-PC:~$ sudo cupsfilter -p /etc/cups/test.ppd -m printer/foo -e
> /etc/nsswitch.conf > outfile 2>log
> [sudo] password for chas:
> Segmentation fault

All that cupsfilter does is run all the filters for the job without
sending it to the printer. I do not understand the crash. Mystifying.

> chas@Charles-PC:~$
> **********relevant syslog, auth.log and dkpg.log follow with a few
> "highlights" that I found.
> **************************************************************************************************

Nothing of use that I can spot in the logs.

[...]

A CUPS error log should help. Advice is at

https://wiki.debian.org/DissectingandDebuggingtheCUPSPrintingSystem

sudo with commands will be needed much of the time.

Good luck.

--
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: 18.04 has no support for my printer

Charles Irons

-- 
Our preferred address is
[hidden email]
Mobile   +2783 588 0028

On Fri, 2018-10-19 at 11:35 +0100, Brian wrote:
On Fri 19 Oct 2018 at 10:17:32 +0200, Charles Irons wrote:

Hello Brian
I hope Friday offers you a relaxing weekend.
I ran the command from your email and the results are below.
I have used synaptic a few times over the years.
Maybe I could delete the printer and disconnect the cable, then uninstall
HPLip and re-install version 3.18.9
Then connect the printer and do HP-setup?
That might produce a matched set of software??

You could do that but, to me, the problem appears to lie within another
part of the printing system such as CUPS or a filter from cups-filters.

I suppose this long search may possibly be helpful to other users.
I value your advice as always.
**********************************
Ran the command that you required.
chas@Charles-PC:~$ sudo cupsfilter -p /etc/cups/test.ppd -m printer/foo -e
/etc/nsswitch.conf > outfile 2>log
[sudo] password for chas:
Segmentation fault

All that cupsfilter does is run all the filters for the job without
sending it to the printer. I do not understand the crash. Mystifying.

chas@Charles-PC:~$
**********relevant syslog, auth.log and dkpg.log follow with a few
"highlights" that I found.
**************************************************************************************************

Nothing of use that I can spot in the logs.

[...]

A CUPS error log should help. Advice is at

https://wiki.debian.org/DissectingandDebuggingtheCUPSPrintingSystem

sudo with commands will be needed much of the time.

Good luck.

-- 
Brian.

Hello Brian

My thanks to all those who tried to advise me. 

I finally found the Ubuntu-ZA community website and Anton solved the problem using Teamviewer and WhatsApp. 

He obviously knows linux very well after working with it for over 10 years.

I still have other issues but hope Anton will solve those as well.

Ubuntu 18.04.1 is working well otherwise and I am grateful that I do not have to learn something else at age 79.

Enjoy the weekend. Wishing ubuntu-users every success . Chas



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