[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#935004: cups-filters: print test page problem solved by upgrading to github version (1.25.1)



You need to change the "deb" line in /etc/apt/sources.list to use the
unstable archive:

 deb http://deb.debian.org/debian/ unstable main contrib non-free

Then 'apt update' followed by 'apt install cups-filters'.

I do not see any benefit in updating the other other packages, but it
should not do any harm.

I think it is not so simple as that on Raspbian, first of all I don't want *all* new packages to come from Debian Unstable, so I should have some command that specifies this archive is to be used for just one package. Besides, if it is true that CUPS doesn't work on Raspbian Buster then that should probably be fixed. But again no one else has reported it so maybe it is something on my end. FWIW when I ran 'apt update' I got:

W: GPG error: http://deb.debian.org/debian unstable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 04EE7237B7D453EC NO_PUBKEY 648ACFD622F3D138


Also, is there a reason why you think the new version would fix the
problem? Perhaps since my time is limited and no one else has reported
this bug, we should regard it as a potential misconfiguration, or an
issue that may have arisen from my trying to install and then
uninstall the Github cups-filters package as I explained in my
original report.

Testing is best done with the latest version. You have described your
issue well, but we have little to go on. My inability to reproduce it
on unstable would incline me to close the report.

I don't mind if you close the report.

(The avahi-browse output would still be useful my records).

> > What might also prove useful later on is avahi.log from
> >  avahi-browse -art > avahi.log
> > avahi-browse is in the avahi-utils package.

Thanks for reminding me, I'm attaching the output although I'm not sure why you need it. The printer is a USB printer, I thought Avahi was network-related (like mDNS and stuff?).

A full error log would be useful. It will compress very well with gzip
before being sent as an attachment.

Would you also do (as root)

 cupsfilter -p /etc/cups/ppd/<the_b210_ppd> -m printer/foo -e /usr/share/cups/data/default-testpage.pdf > out.dat
2>log

and post log.

Here's the entire error log after running the above cupsfilter command:

$ less /var/log/cups/error_log
E [28/Aug/2019:23:37:42 +0000] HP_Photosmart_Plus_B210_series: File \"/usr/lib/cups/filter/hpcups\" not available: No such file or directory
E [28/Aug/2019:23:37:42 +0000] [Job 71] Unknown MIME type application/vnd.cups-pdf-banner for file 1.

Note that this file does indeed exist:

$ file /usr/lib/cups/filter/hpcups
/usr/lib/cups/filter/hpcups: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-armhf.so.3, for GNU/Linux 3.2.0, BuildID[sha1]=ddd2c08496a0a15afb812660a6a0c6c4fe269f0e, stripped

I've been seeing the error about "File \"/usr/lib/cups/filter/hpcups\" not available: No such file or directory" at other times as well, but I couldn't reproduce it so I didn't submit a bug.

It was interesting to learn about cupsfilter and avahi-browse, thank you.

Taking a step back, it seems that if CUPS is complaining about 'Unsupported format "text/plain"' when the test page is a PDF, and when text/plain is supported, and when the actual error has to do with \"/usr/lib/cups/filter/hpcups\" not existing, even though it does exist .... then I think it might be that we should prioritize getting CUPS to have better error reporting, rather than what we are doing.

Thanks,

Frederick

Attachment: cupsfilter.tar.gz
Description: application/gzip

+   eth0 IPv6 HP Photosmart Plus B210 series @ musa         Internet Printer     local
+   eth0 IPv6 Brother DCP-7065DN @ musa                     Internet Printer     local
+   eth0 IPv4 HP Photosmart Plus B210 series @ musa         Internet Printer     local
+   eth0 IPv4 Brother DCP-7065DN @ musa                     Internet Printer     local
+   eth0 IPv4 Brother DCP-7065DN @ thutmose                 Internet Printer     local
+   eth0 IPv4 HP Photosmart Plus B210 series USB @ thutmose Internet Printer     local
+   eth0 IPv4 P1102_remote @ thutmose                       Internet Printer     local
+   eth0 IPv4 HP Photosmart Plus B210 series @ thutmose     Internet Printer     local
+   eth0 IPv6 HP Photosmart Plus B210 series @ musa         Secure Internet Printer local
+   eth0 IPv6 Brother DCP-7065DN @ musa                     Secure Internet Printer local
+   eth0 IPv4 HP Photosmart Plus B210 series @ musa         Secure Internet Printer local
+   eth0 IPv4 Brother DCP-7065DN @ musa                     Secure Internet Printer local
+   eth0 IPv4 Brother DCP-7065DN @ thutmose                 Secure Internet Printer local
+   eth0 IPv4 HP Photosmart Plus B210 series USB @ thutmose Secure Internet Printer local
+   eth0 IPv4 P1102_remote @ thutmose                       Secure Internet Printer local
+   eth0 IPv4 HP Photosmart Plus B210 series @ thutmose     Secure Internet Printer local
+   eth0 IPv6 HP Photosmart Plus B210 series @ musa         UNIX Printer         local
+   eth0 IPv6 Brother DCP-7065DN @ musa                     UNIX Printer         local
+   eth0 IPv4 HP Photosmart Plus B210 series @ musa         UNIX Printer         local
+   eth0 IPv4 Brother DCP-7065DN @ musa                     UNIX Printer         local
+   eth0 IPv4 HP Photosmart Plus B210 series @ thutmose     UNIX Printer         local
+   eth0 IPv4 P1102_remote @ thutmose                       UNIX Printer         local
+   eth0 IPv4 HP Photosmart Plus B210 series USB @ thutmose UNIX Printer         local
+   eth0 IPv4 Brother DCP-7065DN @ thutmose                 UNIX Printer         local
=   eth0 IPv6 HP Photosmart Plus B210 series @ musa         Internet Printer     local
   hostname = [musa.local]
   address = [fe80::62af:a3a9:fa47:6381]
   port = [631]
   txt = ["printer-type=0x900E" "printer-state=5" "Color=T" "TLS=1.2" "UUID=3a964b59-4f10-3f5e-75e4-8ca35b418138" "URF=DM3" "pdl=application/octet-stream" "product=(HP Photosmart Plus b210 Series)" "priority=0" "adminurl=https://musa.local.:631/printers/HP_Photosmart_Plus_B210_series"; "ty=HP Photosmart Plus b210 Series, hpcups 3.18.12" "rp=printers/HP_Photosmart_Plus_B210_series" "qtotal=1" "txtvers=1"]
=   eth0 IPv6 Brother DCP-7065DN @ musa                     UNIX Printer         local
   hostname = [musa.local]
   address = [fe80::62af:a3a9:fa47:6381]
   port = [515]
   txt = ["printer-type=0x1056" "printer-state=3" "Copies=T" "Duplex=T" "TLS=1.2" "UUID=a67c70e8-76b3-3521-6730-b9b85a36d12a" "URF=DM3" "pdl=application/octet-stream" "product=(DCP-7065DN)" "priority=100" "adminurl=https://musa.local.:631/printers/Brother_DCP-7065DN"; "ty=Brother DCP-7065DN, using brlaser v5" "rp=Brother_DCP-7065DN" "qtotal=1" "txtvers=1"]
=   eth0 IPv6 HP Photosmart Plus B210 series @ musa         UNIX Printer         local
   hostname = [musa.local]
   address = [fe80::62af:a3a9:fa47:6381]
   port = [515]
   txt = ["printer-type=0x900E" "printer-state=5" "Color=T" "TLS=1.2" "UUID=3a964b59-4f10-3f5e-75e4-8ca35b418138" "URF=DM3" "pdl=application/octet-stream" "product=(HP Photosmart Plus b210 Series)" "priority=100" "adminurl=https://musa.local.:631/printers/HP_Photosmart_Plus_B210_series"; "ty=HP Photosmart Plus b210 Series, hpcups 3.18.12" "rp=HP_Photosmart_Plus_B210_series" "qtotal=1" "txtvers=1"]
=   eth0 IPv6 Brother DCP-7065DN @ musa                     Secure Internet Printer local
   hostname = [musa.local]
   address = [fe80::62af:a3a9:fa47:6381]
   port = [631]
   txt = ["printer-type=0x1056" "printer-state=3" "Copies=T" "Duplex=T" "TLS=1.2" "UUID=a67c70e8-76b3-3521-6730-b9b85a36d12a" "URF=DM3" "pdl=application/octet-stream" "product=(DCP-7065DN)" "priority=0" "adminurl=https://musa.local.:631/printers/Brother_DCP-7065DN"; "ty=Brother DCP-7065DN, using brlaser v5" "rp=printers/Brother_DCP-7065DN" "qtotal=1" "txtvers=1"]
=   eth0 IPv6 HP Photosmart Plus B210 series @ musa         Secure Internet Printer local
   hostname = [musa.local]
   address = [fe80::62af:a3a9:fa47:6381]
   port = [631]
   txt = ["printer-type=0x900E" "printer-state=5" "Color=T" "TLS=1.2" "UUID=3a964b59-4f10-3f5e-75e4-8ca35b418138" "URF=DM3" "pdl=application/octet-stream" "product=(HP Photosmart Plus b210 Series)" "priority=0" "adminurl=https://musa.local.:631/printers/HP_Photosmart_Plus_B210_series"; "ty=HP Photosmart Plus b210 Series, hpcups 3.18.12" "rp=printers/HP_Photosmart_Plus_B210_series" "qtotal=1" "txtvers=1"]
=   eth0 IPv6 Brother DCP-7065DN @ musa                     Internet Printer     local
   hostname = [musa.local]
   address = [fe80::62af:a3a9:fa47:6381]
   port = [631]
   txt = ["printer-type=0x1056" "printer-state=3" "Copies=T" "Duplex=T" "TLS=1.2" "UUID=a67c70e8-76b3-3521-6730-b9b85a36d12a" "URF=DM3" "pdl=application/octet-stream" "product=(DCP-7065DN)" "priority=0" "adminurl=https://musa.local.:631/printers/Brother_DCP-7065DN"; "ty=Brother DCP-7065DN, using brlaser v5" "rp=printers/Brother_DCP-7065DN" "qtotal=1" "txtvers=1"]
=   eth0 IPv4 Brother DCP-7065DN @ thutmose                 Internet Printer     local
   hostname = [thutmose.local]
   address = [192.168.1.124]
   port = [631]
   txt = ["printer-type=0x1046" "printer-state=3" "Copies=T" "TLS=1.2" "UUID=ac7d2891-db33-324f-7f86-f2296f00cb29" "pdl=application/octet-stream,application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster" "product=(DCP-7065DN, using brlaser v3)" "priority=0" "adminurl=https://thutmose.local.:631/printers/Brother_remote"; "ty=DCP-7065DN, using brlaser v3 - IPP Everywhere" "rp=printers/Brother_remote" "qtotal=1" "txtvers=1"]
=   eth0 IPv4 Brother DCP-7065DN @ thutmose                 UNIX Printer         local
   hostname = [thutmose.local]
   address = [192.168.1.124]
   port = [0]
   txt = []
=   eth0 IPv4 HP Photosmart Plus B210 series USB @ thutmose UNIX Printer         local
   hostname = [thutmose.local]
   address = [192.168.1.124]
   port = [0]
   txt = []
=   eth0 IPv4 P1102_remote @ thutmose                       UNIX Printer         local
   hostname = [thutmose.local]
   address = [192.168.1.124]
   port = [0]
   txt = []
=   eth0 IPv4 HP Photosmart Plus B210 series @ thutmose     UNIX Printer         local
   hostname = [thutmose.local]
   address = [192.168.1.124]
   port = [0]
   txt = []
=   eth0 IPv4 HP Photosmart Plus B210 series @ thutmose     Secure Internet Printer local
   hostname = [thutmose.local]
   address = [192.168.1.124]
   port = [631]
   txt = ["printer-type=0x104E" "printer-state=4" "Copies=T" "Color=T" "TLS=1.2" "UUID=decf7f3e-2c3b-33a2-7123-70eb8df14aef" "pdl=application/octet-stream,application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster" "product=(Photosmart Plus b210 Series, hpcups 3.18.12)" "priority=0" "adminurl=https://thutmose.local.:631/printers/B210_remote"; "ty=Photosmart Plus b210 Series, hpcups 3.18.12 - IPP Everywhere" "rp=printers/B210_remote" "qtotal=1" "txtvers=1"]
=   eth0 IPv4 P1102_remote @ thutmose                       Secure Internet Printer local
   hostname = [thutmose.local]
   address = [192.168.1.124]
   port = [631]
   txt = ["printer-type=0x104E" "printer-state=3" "Copies=T" "Color=T" "TLS=1.2" "UUID=268818d8-1f04-3c72-6e31-f5d0f9cf5d30" "pdl=application/octet-stream,application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster" "product=(LaserJet Professional p1102w, hpcups 3.16.11, requires proprietary plugin)" "priority=0" "adminurl=https://thutmose.local.:631/printers/P1102_remote"; "ty=LaserJet Professional p1102w, hpcups 3.16.11, requires proprietary plugin - IPP Everywhere" "rp=printers/P1102_remote" "qtotal=1" "txtvers=1"]
=   eth0 IPv4 HP Photosmart Plus B210 series USB @ thutmose Secure Internet Printer local
   hostname = [thutmose.local]
   address = [192.168.1.124]
   port = [631]
   txt = ["printer-type=0x900E" "printer-state=3" "Color=T" "TLS=1.2" "UUID=5738f5d1-f32d-346a-59e4-0f5f2fcc5991" "pdl=application/octet-stream,application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster" "product=(HP Photosmart Plus b210 Series)" "priority=0" "adminurl=https://thutmose.local.:631/printers/HP_Photosmart_Plus_B210_series_USB"; "ty=HP Photosmart Plus b210 Series, hpcups 3.18.6" "rp=printers/HP_Photosmart_Plus_B210_series_USB" "qtotal=1" "txtvers=1"]
=   eth0 IPv4 Brother DCP-7065DN @ thutmose                 Secure Internet Printer local
   hostname = [thutmose.local]
   address = [192.168.1.124]
   port = [631]
   txt = ["printer-type=0x1046" "printer-state=3" "Copies=T" "TLS=1.2" "UUID=ac7d2891-db33-324f-7f86-f2296f00cb29" "pdl=application/octet-stream,application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster" "product=(DCP-7065DN, using brlaser v3)" "priority=0" "adminurl=https://thutmose.local.:631/printers/Brother_remote"; "ty=DCP-7065DN, using brlaser v3 - IPP Everywhere" "rp=printers/Brother_remote" "qtotal=1" "txtvers=1"]
=   eth0 IPv4 HP Photosmart Plus B210 series @ thutmose     Internet Printer     local
   hostname = [thutmose.local]
   address = [192.168.1.124]
   port = [631]
   txt = ["printer-type=0x104E" "printer-state=4" "Copies=T" "Color=T" "TLS=1.2" "UUID=decf7f3e-2c3b-33a2-7123-70eb8df14aef" "pdl=application/octet-stream,application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster" "product=(Photosmart Plus b210 Series, hpcups 3.18.12)" "priority=0" "adminurl=https://thutmose.local.:631/printers/B210_remote"; "ty=Photosmart Plus b210 Series, hpcups 3.18.12 - IPP Everywhere" "rp=printers/B210_remote" "qtotal=1" "txtvers=1"]
=   eth0 IPv4 P1102_remote @ thutmose                       Internet Printer     local
   hostname = [thutmose.local]
   address = [192.168.1.124]
   port = [631]
   txt = ["printer-type=0x104E" "printer-state=3" "Copies=T" "Color=T" "TLS=1.2" "UUID=268818d8-1f04-3c72-6e31-f5d0f9cf5d30" "pdl=application/octet-stream,application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster" "product=(LaserJet Professional p1102w, hpcups 3.16.11, requires proprietary plugin)" "priority=0" "adminurl=https://thutmose.local.:631/printers/P1102_remote"; "ty=LaserJet Professional p1102w, hpcups 3.16.11, requires proprietary plugin - IPP Everywhere" "rp=printers/P1102_remote" "qtotal=1" "txtvers=1"]
=   eth0 IPv4 HP Photosmart Plus B210 series USB @ thutmose Internet Printer     local
   hostname = [thutmose.local]
   address = [192.168.1.124]
   port = [631]
   txt = ["printer-type=0x900E" "printer-state=3" "Color=T" "TLS=1.2" "UUID=5738f5d1-f32d-346a-59e4-0f5f2fcc5991" "pdl=application/octet-stream,application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster" "product=(HP Photosmart Plus b210 Series)" "priority=0" "adminurl=https://thutmose.local.:631/printers/HP_Photosmart_Plus_B210_series_USB"; "ty=HP Photosmart Plus b210 Series, hpcups 3.18.6" "rp=printers/HP_Photosmart_Plus_B210_series_USB" "qtotal=1" "txtvers=1"]
=   eth0 IPv4 HP Photosmart Plus B210 series @ musa         Internet Printer     local
   hostname = [musa.local]
   address = [192.168.1.133]
   port = [631]
   txt = ["printer-type=0x900E" "printer-state=5" "Color=T" "TLS=1.2" "UUID=3a964b59-4f10-3f5e-75e4-8ca35b418138" "URF=DM3" "pdl=application/octet-stream" "product=(HP Photosmart Plus b210 Series)" "priority=0" "adminurl=https://musa.local.:631/printers/HP_Photosmart_Plus_B210_series"; "ty=HP Photosmart Plus b210 Series, hpcups 3.18.12" "rp=printers/HP_Photosmart_Plus_B210_series" "qtotal=1" "txtvers=1"]
=   eth0 IPv4 Brother DCP-7065DN @ musa                     UNIX Printer         local
   hostname = [musa.local]
   address = [192.168.1.133]
   port = [515]
   txt = ["printer-type=0x1056" "printer-state=3" "Copies=T" "Duplex=T" "TLS=1.2" "UUID=a67c70e8-76b3-3521-6730-b9b85a36d12a" "URF=DM3" "pdl=application/octet-stream" "product=(DCP-7065DN)" "priority=100" "adminurl=https://musa.local.:631/printers/Brother_DCP-7065DN"; "ty=Brother DCP-7065DN, using brlaser v5" "rp=Brother_DCP-7065DN" "qtotal=1" "txtvers=1"]
=   eth0 IPv4 HP Photosmart Plus B210 series @ musa         UNIX Printer         local
   hostname = [musa.local]
   address = [192.168.1.133]
   port = [515]
   txt = ["printer-type=0x900E" "printer-state=5" "Color=T" "TLS=1.2" "UUID=3a964b59-4f10-3f5e-75e4-8ca35b418138" "URF=DM3" "pdl=application/octet-stream" "product=(HP Photosmart Plus b210 Series)" "priority=100" "adminurl=https://musa.local.:631/printers/HP_Photosmart_Plus_B210_series"; "ty=HP Photosmart Plus b210 Series, hpcups 3.18.12" "rp=HP_Photosmart_Plus_B210_series" "qtotal=1" "txtvers=1"]
=   eth0 IPv4 Brother DCP-7065DN @ musa                     Secure Internet Printer local
   hostname = [musa.local]
   address = [192.168.1.133]
   port = [631]
   txt = ["printer-type=0x1056" "printer-state=3" "Copies=T" "Duplex=T" "TLS=1.2" "UUID=a67c70e8-76b3-3521-6730-b9b85a36d12a" "URF=DM3" "pdl=application/octet-stream" "product=(DCP-7065DN)" "priority=0" "adminurl=https://musa.local.:631/printers/Brother_DCP-7065DN"; "ty=Brother DCP-7065DN, using brlaser v5" "rp=printers/Brother_DCP-7065DN" "qtotal=1" "txtvers=1"]
=   eth0 IPv4 HP Photosmart Plus B210 series @ musa         Secure Internet Printer local
   hostname = [musa.local]
   address = [192.168.1.133]
   port = [631]
   txt = ["printer-type=0x900E" "printer-state=5" "Color=T" "TLS=1.2" "UUID=3a964b59-4f10-3f5e-75e4-8ca35b418138" "URF=DM3" "pdl=application/octet-stream" "product=(HP Photosmart Plus b210 Series)" "priority=0" "adminurl=https://musa.local.:631/printers/HP_Photosmart_Plus_B210_series"; "ty=HP Photosmart Plus b210 Series, hpcups 3.18.12" "rp=printers/HP_Photosmart_Plus_B210_series" "qtotal=1" "txtvers=1"]
=   eth0 IPv4 Brother DCP-7065DN @ musa                     Internet Printer     local
   hostname = [musa.local]
   address = [192.168.1.133]
   port = [631]
   txt = ["printer-type=0x1056" "printer-state=3" "Copies=T" "Duplex=T" "TLS=1.2" "UUID=a67c70e8-76b3-3521-6730-b9b85a36d12a" "URF=DM3" "pdl=application/octet-stream" "product=(DCP-7065DN)" "priority=0" "adminurl=https://musa.local.:631/printers/Brother_DCP-7065DN"; "ty=Brother DCP-7065DN, using brlaser v5" "rp=printers/Brother_DCP-7065DN" "qtotal=1" "txtvers=1"]

Reply to: