Printing and scanning for Porteus

New features which should be implemented in Porteus; suggestions are welcome. All questions or problems with testing releases (alpha, beta, or rc) should go in their relevant thread here, rather than the Bug Reports section.
User avatar
Blaze
DEV Team
DEV Team
Posts: 3908
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Printing and scanning for Porteus

Post#61 by Blaze » 01 Oct 2023, 14:24

Hi Rava,
yes these modules (for 5.0 and 5.01) is the same that located in http://ftp.nluug.nl/os/Linux/distr/port ... 1/modules/

Thanks
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

User avatar
francois
Contributor
Contributor
Posts: 6445
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Printing and scanning for Porteus

Post#62 by francois » 02 Oct 2023, 10:00

Hello blaze
To get printing on porteus there is a need for the two packages, a universal one and an additionnal one for one's specific desktop:
07-printing-x86_64-2023-09-23.xzm
07-printing-lxde-lxqt-openbox-xfce-x86_64-2023-09-23

In command line I get printing service not available, what do I do to start cupsd?

Code: Select all

root@porteus:~# system-config-printer
Thanks
Prendre son temps, profiter de celui qui passe.

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

Printing and scanning for Porteus

Post#63 by Blaze » 02 Oct 2023, 10:21

Hi francois,
It looks strange. As root you can run cups via

Code: Select all

/etc/rc.d/rc.cups start
or try printing modules in Always Fresh mode
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

User avatar
francois
Contributor
Contributor
Posts: 6445
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Printing and scanning for Porteus

Post#64 by francois » 02 Oct 2023, 12:24

Yes it seems strange. And the output for starting cups, even more strange.

Code: Select all

root@porteus:/home/guest# /etc/rc.d/rc.cups start
cups: unable to start scheduler.
root@porteus:/home/guest# 
Prendre son temps, profiter de celui qui passe.

User avatar
francois
Contributor
Contributor
Posts: 6445
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Printing and scanning for Porteus

Post#65 by francois » 03 Oct 2023, 14:31

@blaze:

Interesting output:

Code: Select all

root@porteus:/home/guest# system-config-printer
/usr/share/system-config-printer/system-config-printer.py:315: DeprecationWarning: Gtk.ActionGroup.list_actions is deprecated
  for action in printer_manager_action_group.list_actions ():
/usr/share/system-config-printer/system-config-printer.py:316: DeprecationWarning: Gtk.Action.set_sensitive is deprecated
  action.set_sensitive (False)
/usr/share/system-config-printer/system-config-printer.py:324: DeprecationWarning: Gtk.ActionGroup.get_action is deprecated
  act = printer_manager_action_group.get_action (action)
/usr/share/system-config-printer/system-config-printer.py:354: DeprecationWarning: Gtk.UIManager.ensure_update is deprecated
  self.ui_manager.ensure_update ()
/usr/share/system-config-printer/system-config-printer.py:355: DeprecationWarning: Gtk.UIManager.get_accel_group is deprecated
  self.PrintersWindow.add_accel_group (self.ui_manager.get_accel_group ())
/usr/share/system-config-printer/system-config-printer.py:364: DeprecationWarning: Gtk.UIManager.get_action is deprecated
  action = self.ui_manager.get_action ("/new-printer")
/usr/share/system-config-printer/system-config-printer.py:365: DeprecationWarning: Gtk.Action.create_menu_item is deprecated
  newprinteritem = action.create_menu_item ()
Error creating proxy: The connection is closed (g-io-error-quark, 18)
Error creating proxy: The connection is closed (g-io-error-quark, 18)
Error creating proxy: The connection is closed (g-io-error-quark, 18)
Error creating proxy: The connection is closed (g-io-error-quark, 18)
/usr/share/system-config-printer/system-config-printer.py:663: DeprecationWarning: Gtk.Action.get_proxies is deprecated
  for widget in action.get_proxies ():
/usr/share/system-config-printer/system-config-printer.py:2236: DeprecationWarning: Gdk.threads_enter is deprecated
  Gdk.threads_enter ()
/usr/share/system-config-printer/system-config-printer.py:1193: DeprecationWarning: Gdk.threads_leave is deprecated
  Gdk.threads_leave ()



This could be due to missing dependencies of cups:
https://askubuntu.com/questions/1341312 ... 4-2-server

How do we check for that with slapt-mod or dep-mod?

Thanks.
Prendre son temps, profiter de celui qui passe.

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

Printing and scanning for Porteus

Post#66 by Blaze » 03 Oct 2023, 15:50

francois, I checked it via VirtualBox and do not have any issue
Image
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

User avatar
Ed_P
Contributor
Contributor
Posts: 8578
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Printing and scanning for Porteus

Post#67 by Ed_P » 03 Oct 2023, 16:30

I get the same warnings francois and I have an HP-Officejet-Pro-8600 printer.

Code: Select all

guest@porteus:~$ system-config-printer
/usr/share/system-config-printer/system-config-printer.py:315: DeprecationWarning: Gtk.ActionGroup.list_actions is deprecated
  for action in printer_manager_action_group.list_actions ():
/usr/share/system-config-printer/system-config-printer.py:316: DeprecationWarning: Gtk.Action.set_sensitive is deprecated
  action.set_sensitive (False)
/usr/share/system-config-printer/system-config-printer.py:324: DeprecationWarning: Gtk.ActionGroup.get_action is deprecated
  act = printer_manager_action_group.get_action (action)
/usr/share/system-config-printer/system-config-printer.py:354: DeprecationWarning: Gtk.UIManager.ensure_update is deprecated
  self.ui_manager.ensure_update ()
/usr/share/system-config-printer/system-config-printer.py:355: DeprecationWarning: Gtk.UIManager.get_accel_group is deprecated
  self.PrintersWindow.add_accel_group (self.ui_manager.get_accel_group ())
/usr/share/system-config-printer/system-config-printer.py:364: DeprecationWarning: Gtk.UIManager.get_action is deprecated
  action = self.ui_manager.get_action ("/new-printer")
/usr/share/system-config-printer/system-config-printer.py:365: DeprecationWarning: Gtk.Action.create_menu_item is deprecated
  newprinteritem = action.create_menu_item ()
/usr/share/system-config-printer/system-config-printer.py:663: DeprecationWarning: Gtk.Action.get_proxies is deprecated
  for widget in action.get_proxies ():
/usr/share/system-config-printer/system-config-printer.py:976: DeprecationWarning: urllib.parse.splittype() is deprecated as of 3.8, use urllib.parse.urlparse() instead
  (scheme, rest) = urllib.parse.splittype (object.device_uri)
/usr/share/system-config-printer/system-config-printer.py:2236: DeprecationWarning: Gdk.threads_enter is deprecated
  Gdk.threads_enter ()
/usr/share/system-config-printer/system-config-printer.py:2187: DeprecationWarning: Gdk.threads_leave is deprecated
  Gdk.threads_leave ()
guest@porteus:~$ 

Code: Select all

~#  uname -a
Linux porteus.example.net 6.3.13-porteux #1 SMP PREEMPT_DYNAMIC Fri Aug  4 19:53:00 CEST 2023 x86_64 Intel(R) Core(TM) i3-6100U CPU @ 2.30GHz GenuineIntel GNU/Linux

~#  cat /etc/porteus/*
001-core.xzm:20230617
002-xorg.xzm:20230617
002-xtra.xzm:20221211
003-cinnamon.xzm:20220925
initrd.xz:20220928

~#  ls -l /mnt/live/memory/images
000-kernel-6.3.13.xzm : Aug 4 13:54
001-core.xzm : Jun 14 00:42
002-xorg.xzm : Jun 17 01:18
002-xtra.xzm : Dec 11 2022
003-cinnamon.xzm : Sep 25 2022
011-slapt-get-0.11.6-x86_64-2gv.xzm : Oct 29 2022
07-printing-x86_64-2023-02-04.xzm : Feb 4 2023

User avatar
francois
Contributor
Contributor
Posts: 6445
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Printing and scanning for Porteus

Post#68 by francois » 04 Oct 2023, 09:24

@blaze and Ed:
I confirm that this is an issue on 5.1 porteus only in my case.

Thanks.
Prendre son temps, profiter de celui qui passe.

User avatar
francois
Contributor
Contributor
Posts: 6445
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Printing and scanning for Porteus

Post#69 by francois » 08 Oct 2023, 15:48

@Ed:
Did you solved your printing issues?
Prendre son temps, profiter de celui qui passe.

beny
Full of knowledge
Full of knowledge
Posts: 2196
Joined: 02 Jan 2011, 11:33
Location: italy

Printing and scanning for Porteus

Post#70 by beny » 08 Oct 2023, 16:47

hi all, the last 07-printing-x86_64-2023-09-23 work well on porteus5.0.1 my brother printer is a low price model so i have to make a driver package for this model but the setup and other task are ok,Ed_P your module listed is an old one so which you have loaded the old or the new, you have this:07-printing-x86_64-2023-02-04.xzm : Feb 4 2023

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

Printing and scanning for Porteus

Post#71 by Blaze » 09 Oct 2023, 17:43

Hi beny,
do you use 32 bit package for your brother printer?

@all what do you think about avahi?
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

beny
Full of knowledge
Full of knowledge
Posts: 2196
Joined: 02 Jan 2011, 11:33
Location: italy

Printing and scanning for Porteus

Post#72 by beny » 09 Oct 2023, 18:07

hi blaze yes but only for the inkjet is a DCP-197-C with the brother laser i have the 64 bit packages

User avatar
francois
Contributor
Contributor
Posts: 6445
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Printing and scanning for Porteus

Post#73 by francois » 12 Oct 2023, 14:48

My problem is not solved.
https://wiki.alienbase.nl/doku.php?id=slackware:cups
I found cups troubleshooting arch wiki:
https://wiki.archlinux.org/title/CUPS/Troubleshooting

Trying:
etc/rc.d/rc.cups start

Code: Select all

root@porteus:/home/guest# chmod +x /etc/rc.d/rc.cups
root@porteus:/home/guest# /etc/rc.d/rc.cups start
cups: unable to start scheduler.
root@porteus:/home/guest# 
lsusb

Code: Select all

guest@porteus:~$ lsusb
Bus 004 Device 002: ID 8087:0024  
Bus 004 Device 001: ID 1d6b:0002 Linux 6.5.5-porteus ehci_hcd EHCI Host Controller
Bus 002 Device 003: ID 04f2:b369 Chicony Electronics Co.,Ltd. TOSHIBA Web Camera - HD
Bus 002 Device 004: ID 8087:07da  
Bus 002 Device 002: ID 8087:0024  
Bus 002 Device 001: ID 1d6b:0002 Linux 6.5.5-porteus ehci_hcd EHCI Host Controller
Bus 003 Device 001: ID 1d6b:0003 Linux 6.5.5-porteus xhci-hcd xHCI Host Controller
Bus 001 Device 005: ID 0bda:8153 Realtek USB 10/100/1000 LAN
Bus 001 Device 004: ID 05e3:0610 GenesysLogic USB2.1 Hub
Bus 001 Device 003: ID 046d:c52b Logitech USB Receiver
Bus 001 Device 002: ID 046d:c52b Logitech USB Receiver
Bus 001 Device 001: ID 1d6b:0002 Linux 6.5.5-porteus xhci-hcd xHCI Host Controller
guest@porteus:~$ 
Interesting the printer does not appear with lsusb

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

Printing and scanning for Porteus

Post#74 by Blaze » 12 Oct 2023, 15:35

francois, try printing in Always Fresh mode
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

User avatar
francois
Contributor
Contributor
Posts: 6445
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Printing and scanning for Porteus

Post#75 by francois » 13 Oct 2023, 22:15

I am on the case with your suggestion. I think this is a good path, but not enough. It seems that I had an old printing module with the new ones.

Presently, I am on another of my linux boxes which prints well. I have not migrated to porteus 5.01. :oops:
Prendre son temps, profiter de celui qui passe.

Post Reply