After upgrading from PorteuX 0.4 to PorteuX 1.8 : Printer doesn't print

Non release banter
Kulle
Warlord
Warlord
Posts: 704
Joined: 28 Jan 2017, 10:39
Distribution: v4.0 64bit Xfce
Location: Berlin

After upgrading from PorteuX 0.4 to PorteuX 1.8 : Printer doesn't print

Post#1 by Kulle » 30 Dec 2024, 08:29

After upgrading from PorteuX 0.4 to PorteuX 1.8, I'm experiencing printer issues.
I've used the same modules, and everything worked fine in PorteuX 0.4.
http://localhost:631/printers/HP5510 shows:

Code: Select all

HP5510
Lab1
HP Photosmart 5510 Series, hpcups 3.16.11 (color, 2-sided printing)
socket://192.168.178.24:9100
job-sheets=none, none media=na_letter_8.5x11in sides=one-sided
When I select "Show All Jobs," nothing is displayed.
I had sent a print job for a PDF page from Firefox.

In Firefox, the HP 5510 printer is shown in the "Print" dialog.
In Mousepad and Atril, only "Print to File" and "Print with LPR" are displayed.
Only browsers (Firefox, Mullvad) recognize the printer, but it doesn't actually print.

Kulle
Warlord
Warlord
Posts: 704
Joined: 28 Jan 2017, 10:39
Distribution: v4.0 64bit Xfce
Location: Berlin

After upgrading from PorteuX 0.4 to PorteuX 1.8 : Printer doesn't print

Post#2 by Kulle » 04 Jan 2025, 17:28

I have now tested this command: lp -d HP5510 test.pdf
Here are the logs from /var/log/cups/

Code: Select all

guest@porteux:/var/log/cups$ cat error_log 
E [04/Jan/2025:17:52:47 +0000] Unknown directive IdleExitTimeout on line 32 of /etc/cups/cupsd.conf.
W [04/Jan/2025:17:52:47 +0000] Printer drivers are deprecated and will stop working in a future version of CUPS. See https://github.com/OpenPrinting/cups/issues/103
W [04/Jan/2025:17:52:47 +0000] CreateProfile failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
W [04/Jan/2025:17:52:47 +0000] CreateProfile failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
W [04/Jan/2025:17:52:47 +0000] CreateDevice failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
E [04/Jan/2025:17:53:36 +0000] Unknown directive IdleExitTimeout on line 32 of /etc/cups/cupsd.conf.
W [04/Jan/2025:17:53:36 +0000] Printer drivers are deprecated and will stop working in a future version of CUPS. See https://github.com/OpenPrinting/cups/issues/103
W [04/Jan/2025:17:53:36 +0000] CreateProfile failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
W [04/Jan/2025:17:53:36 +0000] CreateProfile failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
W [04/Jan/2025:17:53:36 +0000] CreateDevice failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
W [04/Jan/2025:17:56:56 +0000] [Job 1] The printer may not exist or is unavailable at this time.
W [04/Jan/2025:17:57:01 +0000] [Job 1] The printer may not exist or is unavailable at this time.
W [04/Jan/2025:17:57:11 +0000] [Job 1] The printer may not exist or is unavailable at this time.
W [04/Jan/2025:17:57:26 +0000] [Job 1] The printer may not exist or is unavailable at this time.
W [04/Jan/2025:17:57:46 +0000] [Job 1] The printer may not exist or is unavailable at this time.
W [04/Jan/2025:17:58:11 +0000] [Job 1] The printer may not exist or is unavailable at this time.
W [04/Jan/2025:17:58:41 +0000] [Job 1] The printer may not exist or is unavailable at this time.
W [04/Jan/2025:17:59:11 +0000] [Job 1] The printer may not exist or is unavailable at this time.
W [04/Jan/2025:17:59:41 +0000] [Job 1] The printer may not exist or is unavailable at this time.
W [04/Jan/2025:18:00:11 +0000] [Job 1] The printer may not exist or is unavailable at this time.
W [04/Jan/2025:18:00:41 +0000] [Job 1] The printer may not exist or is unavailable at this time.
W [04/Jan/2025:18:01:11 +0000] [Job 1] The printer may not exist or is unavailable at this time.
W [04/Jan/2025:18:01:41 +0000] [Job 1] The printer may not exist or is unavailable at this time.
W [04/Jan/2025:18:02:11 +0000] [Job 1] The printer may not exist or is unavailable at this time.
W [04/Jan/2025:18:02:41 +0000] [Job 1] The printer may not exist or is unavailable at this time.
W [04/Jan/2025:18:03:11 +0000] [Job 1] The printer may not exist or is unavailable at this time.
W [04/Jan/2025:18:03:41 +0000] [Job 1] The printer may not exist or is unavailable at this time.
W [04/Jan/2025:18:04:11 +0000] [Job 1] The printer may not exist or is unavailable at this time.
W [04/Jan/2025:18:04:41 +0000] [Job 1] The printer may not exist or is unavailable at this time.
W [04/Jan/2025:18:05:11 +0000] [Job 1] The printer may not exist or is unavailable at this time.
and

Code: Select all

guest@porteux:/var/log/cups$ cat access_log
localhost - - [04/Jan/2025:17:56:56 +0000] "POST /printers/HP5510 HTTP/1.1" 200 352 Create-Job successful-ok
localhost - - [04/Jan/2025:17:56:56 +0000] "POST /printers/HP5510 HTTP/1.1" 200 13353 Send-Document successful-ok
But nothing was printed.

I need help
Thank you very much

Kulle
Warlord
Warlord
Posts: 704
Joined: 28 Jan 2017, 10:39
Distribution: v4.0 64bit Xfce
Location: Berlin

After upgrading from PorteuX 0.4 to PorteuX 1.8 : Printer doesn't print

Post#3 by Kulle » 05 Jan 2025, 08:47

Hi Blaze,
I'm using PorteuX 1.8 stable Xfce
A crucial question
Which 07-printing-xzm module should I use?


In "Printing and scanning for Porteus", many printing-x86_64 modules have been offered over time.
Thank you very much

User avatar
Blaze
DEV Team
DEV Team
Posts: 3998
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

After upgrading from PorteuX 0.4 to PorteuX 1.8 : Printer doesn't print

Post#4 by Blaze » 05 Jan 2025, 11:40

Hi Kulle,
base module 07-printing-x86_64-2025-01-01.xzm and extra with deps for Xfce 07-printing-xfce-x86_64-2025-01-01.xzm
Linux 6.6.11-porteus #1 SMP PREEMPT_DYNAMIC Sun Jan 14 12:07:37 MSK 2024 x86_64 Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

Kulle
Warlord
Warlord
Posts: 704
Joined: 28 Jan 2017, 10:39
Distribution: v4.0 64bit Xfce
Location: Berlin

After upgrading from PorteuX 0.4 to PorteuX 1.8 : Printer doesn't print

Post#5 by Kulle » 05 Jan 2025, 15:38

Hi Blaze,
I recently used the latest modules from January 1, 2025.
The hp-setup -i command didn't work.
It appears that hplip is missing.

In the 07-printing-x86_64-2023-04-22.xzm module, hplip was present.

Why was hplip removed from the module dated January 1, 2025?
Hplip is an extremely useful tool for installing HP printers.

I've now downloaded hplip-3.24.4.run,
but I couldn't install hplip using the command: sh hplip-3.24.4.run

What should I do now? Where can I get hplip?

User avatar
Blaze
DEV Team
DEV Team
Posts: 3998
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

After upgrading from PorteuX 0.4 to PorteuX 1.8 : Printer doesn't print

Post#6 by Blaze » 05 Jan 2025, 16:01

hplip-3.24.4-x86_64-2
hplip-plugin-3.24.4-x86_64-1_SBo
in the list of my printing module >>> Printing and scanning for Porteus (Пост Blaze #101462)

Don't use hp-setup. system-config-printer is a good way for this.
Linux 6.6.11-porteus #1 SMP PREEMPT_DYNAMIC Sun Jan 14 12:07:37 MSK 2024 x86_64 Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

Kulle
Warlord
Warlord
Posts: 704
Joined: 28 Jan 2017, 10:39
Distribution: v4.0 64bit Xfce
Location: Berlin

After upgrading from PorteuX 0.4 to PorteuX 1.8 : Printer doesn't print

Post#7 by Kulle » 05 Jan 2025, 16:58

Hi Blaze,
hplip is present,
but hp-setup -i still doesn't work in PorteuX 1.8 stable Xfce
how can this be? What is missing in PorteuX 1.8

See here:

Code: Select all

guest@porteux:~$ hp-setup -i
Traceback (most recent call last):
  File "/usr/share/hplip/base/utils.py", line 2504, in import_ext
    return importlib.import_module(ext_name)
  File "/usr/lib64/python3.9/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 984, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'cupsext'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/hp-setup", line 50, in <module>
    from base import device, utils, tui, models, module, services, os_utils
  File "/usr/share/hplip/base/device.py", line 42, in <module>
    from . import status
  File "/usr/share/hplip/base/status.py", line 59, in <module>
    cupsext = utils.import_ext('cupsext')
  File "/usr/share/hplip/base/utils.py", line 2508, in import_ext
    return importlib.import_module(ext_name)
  File "/usr/lib64/python3.9/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
ModuleNotFoundError: No module named 'cupsext'

User avatar
Blaze
DEV Team
DEV Team
Posts: 3998
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

After upgrading from PorteuX 0.4 to PorteuX 1.8 : Printer doesn't print

Post#8 by Blaze » 06 Jan 2025, 00:36

Don't use hp-setup. system-config-printer (run it in terminal) is a good way for this.
Linux 6.6.11-porteus #1 SMP PREEMPT_DYNAMIC Sun Jan 14 12:07:37 MSK 2024 x86_64 Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

Post Reply