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: 3860
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Printing and scanning for Porteus

Post#1 by Blaze » 15 May 2017, 19:29

Printing and scanning modules for Porteus
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
Blaze
DEV Team
DEV Team
Posts: 3860
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Printing and scanning for Porteus 4.0

Post#2 by Blaze » 15 May 2017, 19:47

Download 007-printing-x86_64-15.05.2017.xzm

Code: Select all

Changelog 15.05.2017
[*] a new name with 007
[*] some packages from my tree have done under current Porteus
[*] updated some packages to newer versions
[*] removed dependencies: python-2.7.x, cups, pycairo, pygtk, libgphoto2 for KDE5 (for stability of the printing module in others DE)
[*] foomatic-filters [removed] - testing option
[*] libnl-1.1.4 [removed] - testing option
[*] PyQt5 [removed] - testing option
[*] sip-4.19.2 [removed] - testing option
[*] ghostscript-fonts-std [removed] - testing option
[*] libsane-dsseries [removed] - Brother SANE drivers for Brother DS-620 can download manually from
https://aur.archlinux.org/packages/libsane-dsseries/ = http://download.brother.com/welcome/dlf100974/libsane-dsseries-1.0.5-1.x86_64.rpm

Code: Select all

root@porteus:~# ls /home/guest/Загрузки/printing-module/var/log/packages/
brscan-0.2.4-0.amd64
brscan-skey-0.2.4-1.amd64
brscan2-0.2.5-1.amd64
brscan3-0.2.11-5.amd64
brscan4-0.4.2-1.amd64
cndrvcups-common-3.71-1.x86_64
cndrvcups-ufr2-uk-3.31-1.x86_64
cups-bjnp-2.0-x86_64-1_SBo
cups-filters-1.13.5-x86_64-1
cups-pdf-3.0.1-x86_64-1_slonly
dbus-python-1.2.4-x86_64-2
epson-inkjet-printer-escpr-1.6.13-x86_64-1_SBo
foomatic-db-engine-4.0.12-x86_64-1_slonly
ghostscript-9.20-x86_64-2
gutenprint-5.2.12-x86_64-1
hplip-3.17.4-x86_64-1
iscan-2.30.3-1.x86_64
iscan-data-1.39.0-1.noarch
iscan-network-nt-1.1.1-1.x86_64
libgimp-2.8.20-alt1.x86_64
libgusb-0.2.10-x86_64-1_slonly
libieee1284-0.2.11-x86_64-3
net-snmp-5.7.3-x86_64-4
notify-python-0.1.1-x86_64-5
pycups-1.9.73-x86_64-2
pycurl-7.43.0-x86_64-2
pygobject-2.28.6-x86_64-3
qpdf-6.0.0-x86_64-1
reportlab-3.2.0-x86_64-1_slonly
sane-1.0.25-x86_64-2
scangearmp2_3.40-1_amd64
simple-scan-3.20.0-x86_64-1jsc
system-config-printer-1.3.13-x86_64-2
xsane-0.999-x86_64-1
root@porteus:~#
*****

1) If you use KDE5 DE, install these dependencies

Code: Select all

su
toor
usm -u all
# python-2.7.x version
usm -g python
usm -g cups
usm -g pycairo
usm -g libgphoto2
2) If you need to run hp-toolbox (/usr/share/applications/hplip.desktop)
Image Image
HP Linux Imaging and Printing System (ver. 3.17.4)
HP Device Manager ver. 15.0
install these dependencies

Code: Select all

su
toor
usm -u all
usm -g sip
#PyQt-4.x version
usm -g PyQt
#qt-4.x.x version
usm -g qt
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: 6433
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: Printing and scanning for Porteus

Post#3 by francois » 17 May 2017, 21:44

scangearamp2 installed and working but unable to detect the printer located at 192.168.20.225.
Prendre son temps, profiter de celui qui passe.

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

Printing and scanning for Porteus

Post#4 by Blaze » 23 Feb 2018, 17:26

Download 007-printing-x86_64-2018-02-23.xzm for Porteus-v4.0rc4 x86_64

Changelog 23.02.2018

Code: Select all

[*] updated some packages to newer versions
[*] added cups-x.x.x package
[*] added these packages (deps of the system-config-printer-1.5.11):
>>> python-certifi
>>> python-chardet
>>> python-idna
>>> python-requests
>>> python-urllib3
[*] removed pygobject-2.x.x package (pygobject3 and python3 are included in DE (tested in MATE and Cinnamon) - build by jssouza)
[*] ScanGear MP build from git-current
[*] added cndrvcups-ufr2lt-uk-1.40-1.x86_64 package (UFRII LT Printer Driver Ver.1.40) for support Canon i-SENSYS printers
[*] removed these files for hplip
# If you passed --disable-gui-build to configure above, remove these things
# that you won't need
rm -f /etc/xdg/autostart/hplip-systray.desktop \
/usr/share/applications/hplip.desktop
All list of packages:

Code: Select all

brscan-0.2.4-0.amd64
brscan-skey-0.2.4-1.amd64
brscan2-0.2.5-1.amd64
brscan3-0.2.11-5.amd64
brscan4-0.4.2-1.amd64
cndrvcups-common-3.90-1.x86_64
cndrvcups-ufr2-uk-3.50-1.x86_64
cndrvcups-ufr2lt-uk-1.40-1.x86_64
cndrvcups-utility-1.10-1.x86_64
cups-2.2.6-x86_64-1
cups-bjnp-2.0-x86_64-1_SBo
cups-filters-1.20.0-x86_64-1
cups-pdf-3.0.1-x86_64-1_slonly
dbus-python-1.2.6-x86_64-1
epson-inkjet-printer-escpr-1.6.18-x86_64-1_SBo
foomatic-db-engine-4.0.12-x86_64-1_slonly
ghostscript-9.22-x86_64-1
gutenprint-5.2.13-x86_64-1
hplip-3.17.11-x86_64-2
iscan-2.30.3-1.x86_64
iscan-data-1.39.0-1.noarch
iscan-network-nt-1.1.1-1.x86_64
libgimp-2.8.22-alt1.x86_64
libgusb-0.2.11-x86_64-2_slonly
libieee1284-0.2.11-x86_64-3
net-snmp-5.7.3-x86_64-6
notify-python-0.1.1-x86_64-5
pycups-1.9.73-x86_64-3
pycurl-7.43.0-x86_64-3
python-certifi-2018.1.18-x86_64-1
python-chardet-3.0.4-x86_64-1
python-idna-2.6-x86_64-1
python-requests-2.18.4-x86_64-1
python-urllib3-1.22-x86_64-1
qpdf-7.1.1-x86_64-1
reportlab-3.2.0-x86_64-1_slonly
sane-1.0.27-x86_64-1
simple-scan-3.26.3-alt1.x86_64
system-config-printer-1.5.11-x86_64-2
xsane-0.999-x86_64-1
MATE additional dependencies for my printing module:
colord-1.3.5-x86_64-7_slonly.txz >>> simple-scan

XFCE, LXDE, LXQt, Openbox additional dependencies for my printing module: All deps in one 007-printing-xfce-lxde-lxqt-deps-x86_64-2018-02-23.xzm

KDE5 additional dependencies for my printing module:
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
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

Printing and scanning for Porteus

Post#5 by Rava » 19 Mar 2018, 13:58

Blaze wrote:
23 Feb 2018, 17:26
Download 007-printing-x86_64-2018-02-23.xzm for Porteus-v4.0rc4 x86_64
Thanks a bunch, could you please add the md5sum for all xzms in your post?

Also, is it like with older Port versions a printing and scanning module or only printing?

__________
Answer. Ok. For both functions (scanning and printing).
Cheers!
Yours Rava

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

Printing and scanning for Porteus

Post#6 by Blaze » 19 Mar 2018, 15:38

Download 007-printing-x86_64-2018-03-19.xzm for Porteus-v4.0 rc4 and rc5 x86_64

Code: Select all

#md5sum 007-printing-x86_64-2018-03-19.xzm 
1495d4c4a826dc777ed2fdb6e4f3b26a
Changelog 19.03.2018

Code: Select all

[*] updated some packages to newer versions
[*] added python-notify2 package
[*] removed notify-python package
List of all packages:

Code: Select all

brscan-0.2.4-0.amd64
brscan-skey-0.2.4-1.amd64
brscan2-0.2.5-1.amd64
brscan3-0.2.11-5.amd64
brscan4-0.4.2-1.amd64
cndrvcups-common-3.90-1.x86_64
cndrvcups-ufr2-uk-3.50-1.x86_64
cndrvcups-ufr2lt-uk-1.40-1.x86_64
cndrvcups-utility-1.10-1.x86_64
cups-2.2.6-x86_64-1
cups-bjnp-2.0.1-x86_64-1_SBo
cups-filters-1.20.1-x86_64-2
cups-pdf-3.0.1-x86_64-1_slonly
dbus-python-1.2.6-x86_64-1
epson-inkjet-printer-escpr-1.6.19-x86_64-1_SBo
foomatic-db-engine-4.0.12-x86_64-1_slonly
ghostscript-9.22-x86_64-1
gutenprint-5.2.13-x86_64-1
hplip-3.18.3-x86_64-1
iscan-2.30.3-1.x86_64
iscan-data-1.39.0-1.noarch
iscan-network-nt-1.1.1-1.x86_64
libgimp-2.8.22-alt1.x86_64
libgusb-0.2.11-x86_64-2_slonly
libieee1284-0.2.11-x86_64-3
net-snmp-5.7.3-x86_64-6
pycups-1.9.73-x86_64-3
pycurl-7.43.0.1-x86_64-1
python-certifi-2018.1.18-x86_64-1
python-chardet-3.0.4-x86_64-1
python-idna-2.6-x86_64-1
python-notify2-0.3.1-x86_64-1
python-requests-2.18.4-x86_64-1
python-urllib3-1.22-x86_64-1
qpdf-8.0.2-x86_64-1
reportlab-3.2.0-x86_64-1_slonly
sane-1.0.27-x86_64-1
simple-scan-3.28.0-alt1.x86_64
system-config-printer-1.5.11-x86_64-2
xsane-0.999-x86_64-1
MATE additional dependencies for my printing module:
colord-1.3.5-x86_64-7_slonly.txz >>> simple-scan

XFCE, LXDE, LXQt, Openbox additional dependencies for my printing module: All deps in one 007-printing-xfce-lxde-lxqt-ob-deps-x86_64-x86_64-2018-03-19.xzm

Code: Select all

#md5sum 007-printing-xfce-lxde-lxqt-ob-deps-x86_64-x86_64-2018-03-19.xzm
2bfea245938548f48de193038b669d82
KDE5 additional dependencies for my printing module:
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
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

Printing and scanning for Porteus

Post#7 by Rava » 22 Mar 2018, 18:58

Activated 007-printing-x86_64-2018-03-19.xzm and 007-printing-xfce-lxde-lxqt-ob-deps-x86_64-x86_64-2018-03-19.xzm using 4.0rc4 x86-64 XFCE: Main Menu/Multimedia/Qt V4L2 test Utility (as defined in qv4l2.desktop) fails to load. I tried loading it via terminal to get more info:

Code: Select all

# qv4l2 
qv4l2: error while loading shared libraries: libQtOpenGL.so.4: cannot open shared object file: No such file or directory
$ ldd /usr/bin/qv4l2|grep not
	libQtOpenGL.so.4 => not found
	libQtGui.so.4 => not found
	libQtCore.so.4 => not found
qv4l2.desktop is part of 007-printing-xfce-lxde-lxqt-ob-deps-x86_64-x86_64-2018-03-19.xzm
_____________________________

I am working at installing my printer and scanner, could be that I run into issues, could be that all works just well. Too early to say one way or the other, will post heads up on both here anyway, but will take a while, have to shut down the PC since RL work calls me, could be some days till I can finish installing printer and scanner…
Cheers!
Yours Rava

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

Printing and scanning for Porteus

Post#8 by Blaze » 22 Mar 2018, 20:31

Rava, nice catch. /usr/share/applications/qv4l2.desktop must be removed from 007-printing-xfce-lxde-lxqt-ob-deps-x86_64-x86_64-2018-03-19.xzm

Code: Select all

root@porteus:~# ldd /usr/bin/simple-scan | grep v4l
	libv4l1.so.0 => /usr/lib64/libv4l1.so.0 (0x00007f35d90b5000)
	libv4l2.so.0 => /usr/lib64/libv4l2.so.0 (0x00007f35d7ea4000)
	libv4lconvert.so.0 => /usr/lib64/libv4lconvert.so.0 (0x00007f35d75b6000)
root@porteus:~#
RC4 and pre RC5 is have bug. Probably, you can't able to run simple-scan. Please fix it via

Code: Select all

su
toor
glib-compile-schemas /usr/share/glib-2.0/schemas
Thanks for testing!
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
Blaze
DEV Team
DEV Team
Posts: 3860
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Printing and scanning for Porteus

Post#9 by Blaze » 21 Apr 2018, 18:37

Download 007-printing-x86_64-2018-04-21.xzm for Porteus-v4.0

Code: Select all

#md5sum 007-printing-x86_64-2018-04-21.xzm 
99618d6b7536f55dc6109f23640343b9
Important information! Please look at this spoiler:

**********

Download 007-printing-i686-2018-04-21.xzm for Porteus-v4.0

Code: Select all

#md5sum 007-printing-i686-2018-04-21.xzm 
788efdfca3df5a7d3919ae1417f74eef
Important information! Please look at this spoiler:
Note. If you have trouble with run simple-scan - open terminal and run these commands

Code: Select all

su
toor
cache-module
# or
glib-compile-schemas /usr/share/glib-2.0/schemas
# fixes issue and after this simple-scan can be run
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
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Printing and scanning for Porteus

Post#10 by brokenman » 21 Apr 2018, 19:57

:Yahoo!: Thanks Blaze!
How do i become super user?
Wear your underpants on the outside and put on a cape.

apollo
Black ninja
Black ninja
Posts: 75
Joined: 28 Oct 2017, 13:40
Distribution: 4.0 XFCE, Manjaro
Location: .bay.de

Printing and scanning for Porteus

Post#11 by apollo » 07 May 2018, 18:04

Hi Blaze,

thank you very much for providing these modules.
I activated the modules (007-printing-x86_64-2018-04-21.xzm and 007-printing-xfce-lxde-lxqt-ob-deps-x86_64-x86_64-2018-03-19.xzm) and cups is up and running, the start page http://localhost:631/admin is fine. when i try to add a printer the following site occurs:

Code: Select all

Unauthorized
Enter your username and password or the root username and password to access this page. If you are using Kerberos authentication, make sure you have a valid Kerberos ticket.
There is no difference if i run the browser as root. Unfortunately there is no popup questioning the credentials or the something like that. When i try to view the access log, the popup from basic authentication is shown and i can enter the credentials.
What am i missing?

kind regards
apollo

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

Printing and scanning for Porteus

Post#12 by Blaze » 08 May 2018, 13:57

Hi apollo,
what about to run system-config-printer?
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

apollo
Black ninja
Black ninja
Posts: 75
Joined: 28 Oct 2017, 13:40
Distribution: 4.0 XFCE, Manjaro
Location: .bay.de

Printing and scanning for Porteus

Post#13 by apollo » 10 May 2018, 13:14

yep, that's what i was missing. ;)

It took me a step further, but not to full success. I want to provide a PPD-File for my printer, so i select this option, but when i click on file selection field the program immediatly closes. The following message appears in the console:

Code: Select all

(system-config-printer:1608): GLib-GIO-ERROR **: 15:05:53.807: Settings schema 'org.gtk.Settings.FileChooser' is not installed

Trace/breakpoint trap
The config file in /usr/share/glib-2.0/schemas/org.gtk.Settings.FileChooser.gschema.xml is there (comes with XFCE-module).

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

Printing and scanning for Porteus

Post#14 by Blaze » 10 May 2018, 16:35

apollo, ok, run these commands

Code: Select all

su
toor
cache-module
# or
glib-compile-schemas /usr/share/glib-2.0/schemas
and try again :)
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

apollo
Black ninja
Black ninja
Posts: 75
Joined: 28 Oct 2017, 13:40
Distribution: 4.0 XFCE, Manjaro
Location: .bay.de

Printing and scanning for Porteus

Post#15 by apollo » 11 May 2018, 16:27

Jep, that did the trick. :beer:

Post Reply