Page 1 of 1

Printer problems in Porteus 5.0 Xfce [Solved]

Posted: 22 Jul 2022, 16:20
by Kulle
Hi all,
Printer problems in Porteus 5.0 Xfce

I have set up the printer (HP Photosmart 5510) in the same way as in Porteus 4.0

The lp -d HP5510 test.pdf command is executed correctly

But I can't print from mousepad, evince, browser chromium etc
This is inexplicable to me

I need the help of the experts

Printer problems in Porteus 5.0 Xfce

Posted: 22 Jul 2022, 19:59
by Blaze
What do you have in /var/log/cups/ access and error logs?

Printer problems in Porteus 5.0 Xfce

Posted: 23 Jul 2022, 07:53
by itrukrakso
I also had exactly the same problem.
For me I found the following solution:
In the module 002-xorg.xzm, there is the package gtk3-classic-3.24.33-x86_64-1ncm,
there is missing the file /usr/lib64/gtk-3.0/3.0.0/printbackends/libprintbackend-cups.so.
I added it from the current package gtk+3 via rootcopy.
Of course you can also copy the file into the corresponding
module, or replace the whole package gtk+3.

Hopefully it helps

Printer problems in Porteus 5.0 Xfce

Posted: 23 Jul 2022, 07:58
by Kulle
Hi Blaze,
access logs:

Code: Select all

localhost - - [19/Nov/2019:12:27:10 +0000] "POST /admin/ HTTP/1.1" 200 66 - -
localhost - - [19/Nov/2019:12:27:10 +0000] "POST / HTTP/1.1" 401 75 CUPS-Get-Devices successful-ok
localhost - - [19/Nov/2019:12:27:10 +0000] "POST /admin/ HTTP/1.1" 200 1909 - -
localhost - - [19/Nov/2019:12:31:49 +0000] "POST /admin/ HTTP/1.1" 200 60 - -
localhost - - [19/Nov/2019:12:31:49 +0000] "POST / HTTP/1.1" 401 91 CUPS-Get-Devices successful-ok
localhost - - [19/Nov/2019:12:31:49 +0000] "POST /admin/ HTTP/1.1" 401 60 - -
localhost - - [19/Nov/2019:12:31:49 +0000] "POST /admin/ HTTP/1.1" 200 60 - -
localhost - root [19/Nov/2019:12:32:05 +0000] "POST /admin/ HTTP/1.1" 200 60 - -
localhost - - [19/Nov/2019:12:32:05 +0000] "POST / HTTP/1.1" 401 91 CUPS-Get-Devices successful-ok
localhost - root [19/Nov/2019:12:32:05 +0000] "POST / HTTP/1.1" 200 1697 CUPS-Get-Devices -
localhost - root [19/Nov/2019:12:32:05 +0000] "POST /admin/ HTTP/1.1" 200 3204 - -
localhost - - [19/Nov/2019:12:32:26 +0000] "POST /admin HTTP/1.1" 200 77 - -
localhost - - [19/Nov/2019:12:32:26 +0000] "POST /admin HTTP/1.1" 200 2714 - -
localhost - - [19/Nov/2019:12:33:33 +0000] "POST /admin HTTP/1.1" 200 131 - -
localhost - - [19/Nov/2019:12:33:33 +0000] "POST /admin HTTP/1.1" 200 3287 - -
localhost - - [19/Nov/2019:12:34:03 +0000] "POST /admin HTTP/1.1" 200 220 - -
localhost - - [19/Nov/2019:12:34:03 +0000] "POST / HTTP/1.1" 200 1239 CUPS-Get-PPDs -
localhost - - [19/Nov/2019:12:34:03 +0000] "POST /admin HTTP/1.1" 200 5099 - -
localhost - - [19/Nov/2019:12:34:15 +0000] "POST /admin HTTP/1.1" 200 1648 - -
localhost - - [19/Nov/2019:12:34:15 +0000] "POST / HTTP/1.1" 200 1311681 CUPS-Get-PPDs -
localhost - - [19/Nov/2019:12:34:15 +0000] "POST /admin HTTP/1.1" 200 347083 - -
localhost - - [19/Nov/2019:12:35:27 +0000] "POST /admin HTTP/1.1" 200 1696 - -
localhost - - [19/Nov/2019:12:35:27 +0000] "POST /admin/ HTTP/1.1" 401 352 CUPS-Add-Modify-Printer successful-ok
localhost - - [19/Nov/2019:12:35:27 +0000] "POST /admin HTTP/1.1" 401 1696 - -
localhost - - [19/Nov/2019:12:35:27 +0000] "POST /admin HTTP/1.1" 200 1696 - -
localhost - root [19/Nov/2019:12:35:27 +0000] "POST /admin HTTP/1.1" 200 1696 - -
localhost - - [19/Nov/2019:12:35:27 +0000] "POST /admin/ HTTP/1.1" 401 352 CUPS-Add-Modify-Printer successful-ok
localhost - root [19/Nov/2019:12:35:27 +0000] "POST /admin/ HTTP/1.1" 200 352 CUPS-Add-Modify-Printer successful-ok
localhost - root [19/Nov/2019:12:35:27 +0000] "POST /admin HTTP/1.1" 200 11373 - -
localhost - root [19/Nov/2019:12:36:22 +0000] "POST /admin HTTP/1.1" 200 323 - -
localhost - - [19/Nov/2019:12:36:22 +0000] "POST /admin/ HTTP/1.1" 401 27235 CUPS-Add-Modify-Printer successful-ok
localhost - root [19/Nov/2019:12:36:22 +0000] "POST /admin/ HTTP/1.1" 200 27235 CUPS-Add-Modify-Printer successful-ok
localhost - root [19/Nov/2019:12:36:22 +0000] "POST /admin HTTP/1.1" 200 2344 - -

error logs:

Code: Select all

E [19/Nov/2019:12:25:51 +0000] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
E [19/Nov/2019:12:32:05 +0000] [cups-deviced] PID 1831 (gutenprint52+usb) stopped with status 1!
E [19/Nov/2019:12:32:06 +0000] [cups-deviced] PID 1833 (hpfax) stopped with status 1!
E [19/Nov/2019:12:34:05 +0000] [cups-driverd] Unable to write \"/var/cache/cups/ppds.dat\" - Permission denied
E [19/Nov/2019:12:34:15 +0000] [cups-driverd] Unable to write \"/var/cache/cups/ppds.dat\" - Permission denied
W [19/Nov/2019:12:35:27 +0000] CreateProfile failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
W [19/Nov/2019:12:35:27 +0000] CreateProfile failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
W [19/Nov/2019:12:35:27 +0000] CreateDevice failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
W [19/Nov/2019:12:36:22 +0000] CreateProfile failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
W [19/Nov/2019:12:36:22 +0000] CreateProfile failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
W [19/Nov/2019:12:36:22 +0000] CreateDevice failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
E [23/Jul/2022:09:46:59 +0200] Unknown directive IdleExitTimeout on line 32 of /etc/cups/cupsd.conf.
W [23/Jul/2022:09:46:59 +0200] Printer drivers are deprecated and will stop working in a future version of CUPS. See https://github.com/OpenPrinting/cups/issues/103
E [23/Jul/2022:09:47:00 +0200] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported


Printer problems in Porteus 5.0 Xfce

Posted: 23 Jul 2022, 11:13
by Kulle
hi itrukrakso,
many thanks.
That means: the module 002-xorg.xzm is incomplete.
That should be added to dl.porteus.org as soon as possible

Printer problems in Porteus 5.0 Xfce

Posted: 23 Jul 2022, 14:42
by Kulle
Hi itrukrakso,
I have now added the file /usr/lib64/gtk-3.0/3.0.0/printbackends/libprintbackend-cups.so
but it still doesn't work.
And now??

Printer problems in Porteus 5.0 Xfce

Posted: 23 Jul 2022, 21:01
by itrukrakso
Hi Kulle,
I have tested porteus 5.0 with the modules 07-printing-x86_64-2022-07-02.xzm and
07-printing-lxde-lxqt-openbox-xfce-x86_64-2022-04-09.xzm.
In Mousepad, for example, the printer was not listed in the file menu under print, only print to file and print to pdf.
Printing with lp was also possible.
After copying the said file and a restart !!! the printer was there in the print menu and my problem was solved.
Unfortunately, I can not say more about it.

Printer problems in Porteus 5.0 Xfce

Posted: 24 Jul 2022, 07:31
by Kulle
Hi Blaze,
I have now added the file /usr/lib64/gtk-3.0/3.0.0/printbackends/libprintbackend-cups.so
And I reinstalled the printer again
access_logs ==>all succsessful
error_logs ==> Bad driver
What should I do?

Code: Select all

localhost - - [24/Jul/2022:09:00:08 +0200] "POST /admin/ HTTP/1.1" 200 66 - -
localhost - - [24/Jul/2022:09:00:08 +0200] "POST / HTTP/1.1" 401 75 CUPS-Get-Devices successful-ok
localhost - - [24/Jul/2022:09:00:08 +0200] "POST /admin/ HTTP/1.1" 200 1901 - -
localhost - - [24/Jul/2022:09:00:25 +0200] "POST /admin/ HTTP/1.1" 200 66 - -
localhost - - [24/Jul/2022:09:00:25 +0200] "POST / HTTP/1.1" 401 75 CUPS-Get-Devices successful-ok
localhost - - [24/Jul/2022:09:00:25 +0200] "POST /admin/ HTTP/1.1" 200 1901 - -
localhost - - [24/Jul/2022:09:00:38 +0200] "POST /admin/ HTTP/1.1" 200 60 - -
localhost - - [24/Jul/2022:09:00:38 +0200] "POST / HTTP/1.1" 401 91 CUPS-Get-Devices successful-ok
localhost - - [24/Jul/2022:09:00:38 +0200] "POST /admin/ HTTP/1.1" 401 60 - -
localhost - - [24/Jul/2022:09:00:38 +0200] "POST /admin/ HTTP/1.1" 200 60 - -
localhost - root [24/Jul/2022:09:02:15 +0200] "POST /admin/ HTTP/1.1" 200 60 - -
localhost - - [24/Jul/2022:09:02:15 +0200] "POST / HTTP/1.1" 401 91 CUPS-Get-Devices successful-ok
localhost - root [24/Jul/2022:09:02:15 +0200] "POST / HTTP/1.1" 200 4493 CUPS-Get-Devices -
localhost - root [24/Jul/2022:09:02:15 +0200] "POST /admin/ HTTP/1.1" 200 4863 - -
localhost - - [24/Jul/2022:09:02:56 +0200] "POST /admin HTTP/1.1" 200 129 - -
localhost - - [24/Jul/2022:09:02:56 +0200] "POST /admin HTTP/1.1" 200 3529 - -
localhost - - [24/Jul/2022:09:03:58 +0200] "POST /admin HTTP/1.1" 200 279 - -
localhost - - [24/Jul/2022:09:03:58 +0200] "POST / HTTP/1.1" 200 1405007 CUPS-Get-PPDs -
localhost - - [24/Jul/2022:09:03:58 +0200] "POST /admin HTTP/1.1" 200 373386 - -
localhost - - [24/Jul/2022:09:04:16 +0200] "POST /admin HTTP/1.1" 200 1692 - -
localhost - - [24/Jul/2022:09:04:16 +0200] "POST /admin/ HTTP/1.1" 401 348 CUPS-Add-Modify-Printer successful-ok
localhost - - [24/Jul/2022:09:04:16 +0200] "POST /admin HTTP/1.1" 401 1692 - -
localhost - - [24/Jul/2022:09:04:16 +0200] "POST /admin HTTP/1.1" 200 1692 - -
localhost - root [24/Jul/2022:09:04:16 +0200] "POST /admin HTTP/1.1" 200 1692 - -
localhost - - [24/Jul/2022:09:04:16 +0200] "POST /admin/ HTTP/1.1" 401 348 CUPS-Add-Modify-Printer successful-ok
localhost - root [24/Jul/2022:09:04:16 +0200] "POST /admin/ HTTP/1.1" 200 348 CUPS-Add-Modify-Printer successful-ok
localhost - root [24/Jul/2022:09:04:16 +0200] "POST /admin HTTP/1.1" 200 3556 - -

Code: Select all

E [24/Jul/2022:08:58:27 +0200] Unknown directive IdleExitTimeout on line 32 of /etc/cups/cupsd.conf.
W [24/Jul/2022:08:58:27 +0200] Raw queues are deprecated and will stop working in a future version of CUPS. See https://github.com/OpenPrinting/cups/issues/103
E [24/Jul/2022:08:58:28 +0200] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
E [24/Jul/2022:09:02:15 +0200] [CGI] Unable to execute ippfind utility: No such file or directory
E [24/Jul/2022:09:04:00 +0200] [cups-driverd] Bad driver information file \"/usr/share/cups/drv/sample.drv\"!
E [24/Jul/2022:09:04:02 +0200] [cups-driverd] Bad driver information file \"/usr/share/ppd/suld/cms/C410sc.cts\"!
E [24/Jul/2022:09:04:02 +0200] [cups-driverd] Bad driver information file \"/usr/share/ppd/suld/cms/C420sc.cts\"!
E [24/Jul/2022:09:04:02 +0200] [cups-driverd] Bad driver information file \"/usr/share/ppd/suld/cms/C43xsc.cts\"!
E [24/Jul/2022:09:04:02 +0200] [cups-driverd] Bad driver information file \"/usr/share/ppd/suld/cms/CLP-300sc.cts\"!
E [24/Jul/2022:09:04:02 +0200] [cups-driverd] Bad driver information file \"/usr/share/ppd/suld/cms/CLP-310sc.cts\"!
E [24/Jul/2022:09:04:02 +0200] [cups-driverd] Bad driver information file \"/usr/share/ppd/suld/cms/CLP-320sc.cts\"!
E [24/Jul/2022:09:04:02 +0200] [cups-driverd] Bad driver information file \"/usr/share/ppd/suld/cms/CLP-360sc.cts\"!
E [24/Jul/2022:09:04:02 +0200] [cups-driverd] Bad driver information file \"/usr/share/ppd/suld/cms/CLP-600sc.cts\"!
E [24/Jul/2022:09:04:02 +0200] [cups-driverd] Bad driver information file \"/usr/share/ppd/suld/cms/CLP-610sc.cts\"!
E [24/Jul/2022:09:04:02 +0200] [cups-driverd] Bad driver information file \"/usr/share/ppd/suld/cms/CLP-620sc.cts\"!
E [24/Jul/2022:09:04:02 +0200] [cups-driverd] Bad driver information file \"/usr/share/ppd/suld/cms/CLP-660sc.cts\"!
E [24/Jul/2022:09:04:02 +0200] [cups-driverd] Bad driver information file \"/usr/share/ppd/suld/cms/CLX-216xsc.cts\"!
E [24/Jul/2022:09:04:02 +0200] [cups-driverd] Bad driver information file \"/usr/share/ppd/suld/cms/CLX-3160sc.cts\"!
E [24/Jul/2022:09:04:02 +0200] [cups-driverd] Bad driver information file \"/usr/share/ppd/suld/cms/CLX-3170sc.cts\"!
E [24/Jul/2022:09:04:02 +0200] [cups-driverd] Bad driver information file \"/usr/share/ppd/suld/cms/CLX-3180sc.cts\"!
E [24/Jul/2022:09:04:02 +0200] [cups-driverd] Bad driver information file \"/usr/share/ppd/suld/cms/CLX-6220sc.cts\"!
E [24/Jul/2022:09:04:02 +0200] [cups-driverd] Bad driver information file \"/usr/share/ppd/suld/cms/K2200sc.cts\"!
E [24/Jul/2022:09:04:02 +0200] [cups-driverd] Bad driver information file \"/usr/share/ppd/suld/cms/M2020sc.cts\"!
E [24/Jul/2022:09:04:02 +0200] [cups-driverd] Bad driver information file \"/usr/share/ppd/suld/cms/M2070sc.cts\"!
E [24/Jul/2022:09:04:02 +0200] [cups-driverd] Bad driver information file \"/usr/share/ppd/suld/cms/M262xsc.cts\"!
E [24/Jul/2022:09:04:02 +0200] [cups-driverd] Bad driver information file \"/usr/share/ppd/suld/cms/M267xsc.cts\"!
E [24/Jul/2022:09:04:02 +0200] [cups-driverd] Bad driver information file \"/usr/share/ppd/suld/cms/M283xsc.cts\"!
E [24/Jul/2022:09:04:02 +0200] [cups-driverd] Bad driver information file \"/usr/share/ppd/suld/cms/M288xsc.cts\"!
E [24/Jul/2022:09:04:02 +0200] [cups-driverd] Bad driver information file \"/usr/share/ppd/suld/cms/M301xsc.cts\"!
E [24/Jul/2022:09:04:02 +0200] [cups-driverd] Bad driver information file \"/usr/share/ppd/suld/cms/M306xsc.cts\"!
E [24/Jul/2022:09:04:02 +0200] [cups-driverd] Bad driver information file \"/usr/share/ppd/suld/cms/M332xsc.cts\"!
E [24/Jul/2022:09:04:02 +0200] [cups-driverd] Bad driver information file \"/usr/share/ppd/suld/cms/M337xsc.cts\"!
E [24/Jul/2022:09:04:02 +0200] [cups-driverd] Bad driver information file \"/usr/share/ppd/suld/cms/ML-2160sc.cts\"!
E [24/Jul/2022:09:04:02 +0200] [cups-driverd] Bad driver information file \"/usr/share/ppd/suld/cms/ML-2540sc.cts\"!
E [24/Jul/2022:09:04:02 +0200] [cups-driverd] Bad driver information file \"/usr/share/ppd/suld/cms/ML-2950sc.cts\"!
E [24/Jul/2022:09:04:02 +0200] [cups-driverd] Bad driver information file \"/usr/share/ppd/suld/cms/SCX-3400sc.cts\"!
E [24/Jul/2022:09:04:02 +0200] [cups-driverd] Bad driver information file \"/usr/share/ppd/suld/cms/SCX-4650sc.cts\"!
E [24/Jul/2022:09:04:02 +0200] [cups-driverd] Bad driver information file \"/usr/share/ppd/suld/cms/SCX-470xsc.cts\"!
E [24/Jul/2022:09:04:02 +0200] [cups-driverd] Bad driver information file \"/usr/share/ppd/suld/cms/SCX-472xsc.cts\"!
E [24/Jul/2022:09:04:02 +0200] [cups-driverd] Bad driver information file \"/usr/share/ppd/suld/cms/SF-760sc.cts\"!
E [24/Jul/2022:09:04:02 +0200] [CGI] Unable to execute ippfind utility: No such file or directory

Printer problems in Porteus 5.0 Xfce

Posted: 24 Jul 2022, 10:46
by Blaze
Hi Kulle.
About bad driver in error_logs - don't worry these drivers for Samsung printers - more info is here https://bbs.archlinux.org/viewtopic.php?id=192525

Open Porteus Settings Centre (password toor) > hit on Porteus Updater - get updates and reboot your system.
Check print from Mousepad or any website. I have checked and all works fine.

Thanks to itrukrakso for the solution :magic:
Thanks to ncmprhnsbl for the Porteus updates!

Printer problems in Porteus 5.0 Xfce

Posted: 25 Jul 2022, 00:50
by Ed_P
Blaze wrote:
24 Jul 2022, 10:46
Open Porteus Settings Centre (password toor) > hit on Porteus Updater - get updates and reboot your system.
:o :celebrate14:

Code: Select all

 Starting checks ... 
[OK] Server: http://dl.porteus.org
[OK] Architecture: x86_64
[OK] User is root
[OK] Distro is Porteus
[ERROR] You can not update when booting from an ISO

 We can not continue. 
:no:

I find putting updates in my extramod= folder works fine with booting ISOs. :happy62: And I also know how to update ISOs if needed. A different msg would be better for us ISO booters. Something like:

Code: Select all

Can not update the booted ISO, the updated files will be placed in the tmp folder.

Printer problems in Porteus 5.0 Xfce

Posted: 25 Jul 2022, 14:11
by Kulle
Hi Blaze,
I did the update and rebooted the computer.
The printer is addressed (by mousepad chromium etc.)

But he prints weird stuff, lots of weird special characters (Shown here by dots):

Code: Select all

%PDF-1.5
        ......
              4 0 obj
                     << /Lenght 5 0 R
                                       /Filter /FlateDecode
                                                           >>
                                                             stream
                                                                   .......
And now ???
I use the same computer and the same printer (HP Photosmart 5510)
Everything worked in Porteus 4.0, and here are these difficulties?

Printer problems in Porteus 5.0 Xfce

Posted: 25 Jul 2022, 15:14
by Kulle
Hi Blaze,
I have now reinstalled the printer
(now for the third time)
Now it worked
Thanks

Printer problems in Porteus 5.0 Xfce [Solved]

Posted: 25 Jul 2022, 19:20
by Blaze
Hi Kulle,
Perfect and thanks for your report.
I marked this topic as solved.
Thanks to itrukrakso again ;)

Printer problems in Porteus 5.0 Xfce [Solved]

Posted: 01 Apr 2023, 09:35
by roro
The modules are numbered 01-core ... 07-printing ...009-chromium-profile
and are loaded in sequence.

I rarely have to print anything

Can I move the 07-printing modules to the optional folder
and activate only when necessary?
Or can that cause problems?

Printer problems in Porteus 5.0 Xfce [Solved]

Posted: 01 Apr 2023, 16:02
by beny
hi no is ok if you move it on optional,you can activate it on demand inside the optional directory