Technical issues/questions of an intermediate or advanced nature.
-
Blaze
- DEV Team

- Posts: 3996
- Joined: 28 Dec 2010, 11:31
- Distribution: ⟰ Porteus current ☯ all DEs ☯
- Location: ☭ Russian Federation, Lipetsk region, Dankov
-
Contact:
Post#16
by Blaze » 11 Mar 2023, 07:47
francois wrote: ↑10 Mar 2023, 13:31
Printer generic-pcl6 requires the /usr/lib64/cups/filter/rastertofutenprint.5.3, but it is not currently installed.
rastertofutenprint
Code: Select all
# pkginfo -w gutenprint
Package: gutenprint-5.3.4-x86_64-3
located in Module: 07-printing-x86_64-2023-02-24.xzm
Code: Select all
# gio tree /usr/lib64/cups/filter/
file:///usr/lib64/cups/filter
|-- bannertopdf
|-- brftoembosser
|-- brftopagedbrf
|-- cgmtopdf -> vectortopdf
|-- cmxtopdf -> vectortopdf
|-- commandtocanon
|-- commandtoepson
|-- commandtoescpx
|-- commandtopclx
|-- commandtops
|-- emftopdf -> vectortopdf
|-- epson-escpr
|-- epson-escpr-wrapper
|-- epson-escpr-wrapper2
|-- epson-escpr2
|-- foomatic-rip
|-- foomatic-rip-hplip
|-- gstopdf
|-- gstopxl
|-- gstoraster
|-- gziptoany
|-- hpcups
|-- hpcupsfax
|-- hpps
|-- imagetobrf
|-- imagetopdf
|-- imagetops
|-- imagetoraster
|-- imagetoubrl -> imagetobrf
|-- imageubrltoindexv3
|-- imageubrltoindexv4
|-- musicxmltobrf
|-- pdftocpca -> /usr/lib/cups/filter/pdftocpca
|-- pdftopdf
|-- pdftops
|-- pdftoraster
|-- pstops
|-- pstosecps
|-- pstotiff
|-- rastertoepson
|-- rastertoescpx
|-- rastertogutenprint.5.3
|-- rastertohp
|-- rastertolabel
|-- rastertopclm
|-- rastertopclx
|-- rastertopdf
|-- rastertops
|-- rastertopwg
|-- rastertosfp
|-- rastertospl
|-- rastertosplc -> rastertospl
|-- rastertoufr2 -> /usr/lib/cups/filter/rastertoufr2
|-- svgtopdf -> vectortopdf
|-- sys5ippprinter
|-- textbrftoindexv3
|-- textbrftoindexv4 -> textbrftoindexv3
|-- texttobrf
|-- texttopdf
|-- texttops
|-- texttotext
|-- vectortobrf
|-- vectortopdf
|-- vectortoubrl -> vectortobrf
|-- wmftopdf -> vectortopdf
`-- xfigtopdf -> vectortopdf
rastertogutenprint.5.3 is here

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
Blaze
-
francois
- Contributor

- Posts: 6499
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
Post#17
by francois » 11 Mar 2023, 11:55
typo in /usr/lib64/cups/filter/rastertofutenprint.5.3
should be
/usr/lib64/cups/filter/rasterto
gutenprint.5.3
Code: Select all
guest@porteus:~$ gio tree /usr/lib64/cups/filter/
file:///usr/lib64/cups/filter
|-- bannertopdf
|-- brftoembosser
|-- brftopagedbrf
|-- cgmtopdf -> vectortopdf
|-- cmxtopdf -> vectortopdf
|-- commandtoescpx
|-- commandtopclx
|-- commandtops
|-- emftopdf -> vectortopdf
|-- epson-escpr
|-- epson-escpr-wrapper
|-- epson-escpr-wrapper2
|-- epson-escpr2
|-- foomatic-rip
|-- foomatic-rip-hplip
|-- gstopdf
|-- gstopxl
|-- gstoraster
|-- gziptoany
|-- hpcups
|-- hpcupsfax
|-- hpps
|-- imagetobrf
|-- imagetopdf
|-- imagetops
|-- imagetoraster
|-- imagetoubrl -> imagetobrf
|-- imageubrltoindexv3
|-- imageubrltoindexv4
|-- musicxmltobrf
|-- pdftocpca
|-- pdftopdf
|-- pdftops
|-- pdftoraster
|-- pstops
|-- pstosecps
|-- pstotiff
|-- rastertoepson
|-- rastertoescpx
|-- rastertohp
|-- rastertolabel
|-- rastertopclm
|-- rastertopclx
|-- rastertopdf
|-- rastertops
|-- rastertopwg
|-- rastertosfp
|-- rastertospl
|-- rastertosplc -> rastertospl
|-- rastertoufr2
|-- svgtopdf -> vectortopdf
|-- sys5ippprinter
|-- textbrftoindexv3
|-- textbrftoindexv4 -> textbrftoindexv3
|-- texttobrf
|-- texttopdf
|-- texttops
|-- texttotext
|-- vectortobrf
|-- vectortopdf
|-- vectortoubrl -> vectortobrf
|-- wmftopdf -> vectortopdf
`-- xfigtopdf -> vectortopdf
guest@porteus:~$
Idle - File "/usr/lib64/cups/filter/rastertogutenprint.5.3" not available: No such file or directory
Within system-config-printer settings printer state I get the error:
Idle - File "/usr/lib64/cups/filter/rastertogutenprint.5.3" not available: No such file or directory
Driver the PCL 6 work for me since our last interaction.
Bizarre! Could it be a corrupted save file?
Prendre son temps, profiter de celui qui passe.
francois
-
Blaze
- DEV Team

- Posts: 3996
- Joined: 28 Dec 2010, 11:31
- Distribution: ⟰ Porteus current ☯ all DEs ☯
- Location: ☭ Russian Federation, Lipetsk region, Dankov
-
Contact:
Post#18
by Blaze » 11 Mar 2023, 14:45
francois,
Code: Select all
# file /usr/lib64/cups/filter/rastertogutenprint.5.3
/usr/lib64/cups/filter/rastertogutenprint.5.3: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, stripped
# lsxzm /mnt/nvme0n1p1/porteus/base/07-printing-x86_64-2023-02-24.xzm | grep rastertogutenprint
/usr/lib64/cups/filter/rastertogutenprint.5.3
francois wrote: ↑11 Mar 2023, 11:55
Could it be a corrupted save file?
seems yes
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
Blaze
-
francois
- Contributor

- Posts: 6499
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
Post#19
by francois » 11 Mar 2023, 16:59
I will start anew from fresh.
Thanks.
Prendre son temps, profiter de celui qui passe.
francois
-
francois
- Contributor

- Posts: 6499
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
Post#20
by francois » 14 Mar 2023, 15:07
Another error, is it me or is it a question of permissions to the files?
I have installed:
07-printing-x86_64-2023-02-24.xzm
I am running porteus 5.0 with no changes.
Output:
Code: Select all
guest@porteus:~$ su
Password:
root@porteus:/home/guest# cd /opt/brother/scanner/brscan4/
root@porteus:/opt/brother/scanner/brscan4# ls
Brsane4.ini brscan_cnetconfig* models4/
brsaneconfig4* brscan_gnetconfig* setupSaneScan4*
brsanenetdevice4.cfg doc/ udev_config.sh*
root@porteus:/opt/brother/scanner/brscan4# ./setupSaneScan4 -i
root@porteus:/opt/brother/scanner/brscan4# brsaneconfig4 -q | grep scanner
bash: brsaneconfig4: command not found
root@porteus:/opt/brother/scanner/brscan4#
Thanks for looking at the issue.
Prendre son temps, profiter de celui qui passe.
francois
-
Blaze
- DEV Team

- Posts: 3996
- Joined: 28 Dec 2010, 11:31
- Distribution: ⟰ Porteus current ☯ all DEs ☯
- Location: ☭ Russian Federation, Lipetsk region, Dankov
-
Contact:
Post#21
by Blaze » 14 Mar 2023, 18:20
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
Blaze
-
francois
- Contributor

- Posts: 6499
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
Post#22
by francois » 15 Mar 2023, 22:34
Good catch!
All done in no changes mode, with only the printer modules and google-chrome-stable
error while loading shared libraries: libavahi-client.so.3: cannot open shared object file: No such file or directory
Code: Select all
root@porteus:/home/guest# cd /opt/brother/scanner/brscan4/
root@porteus:/opt/brother/scanner/brscan4# ls
Brsane4.ini brscan_cnetconfig* models4/
brsaneconfig4* brscan_gnetconfig* setupSaneScan4*
brsanenetdevice4.cfg doc/ udev_config.sh*
root@porteus:/opt/brother/scanner/brscan4# ./setupSaneScan4 -i
root@porteus:/opt/brother/scanner/brscan4# brsaneconfig4 -q | grep scanner
bash: brsaneconfig4: command not found
root@porteus:/opt/brother/scanner/brscan4# ./brsaneconfig4 -q | grep scanner
/opt/brother/scanner/brscan4/brscan_cnetconfig: error while loading shared libraries: libavahi-client.so.3: cannot open shared object file: No such file or directory
root@porteus:/opt/brother/scanner/brscan4# updatedb
root@porteus:/opt/brother/scanner/brscan4# locate libavahi-client.so
root@porteus:/opt/brother/scanner/brscan4#
Thanks.
Prendre son temps, profiter de celui qui passe.
francois
-
Blaze
- DEV Team

- Posts: 3996
- Joined: 28 Dec 2010, 11:31
- Distribution: ⟰ Porteus current ☯ all DEs ☯
- Location: ☭ Russian Federation, Lipetsk region, Dankov
-
Contact:
Post#23
by Blaze » 16 Mar 2023, 15:27
francois, do you use it as network scanner?
Yes:
Code: Select all
# ldd /opt/brother/scanner/brscan4/brscan_cnetconfig
linux-vdso.so.1 (0x00007ffd8bfdb000)
libavahi-client.so.3 => not found
libavahi-common.so.3 => not found
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f919a764000)
libc.so.6 => /lib64/libc.so.6 (0x00007f919a54a000)
/lib64/ld-linux-x86-64.so.2 (0x00007f919a786000)
Slackware not prefer avahi - more info is here
https://www.linuxquestions.org/question ... 175721614/
You can download
avahi-0.8-x86_64-1gds.txz manualy and activate (xzm module and +):
Code: Select all
su
toor
chmod +x /etc/rc.d/rc.avahi*
# Start avahidaemon
[ -x /etc/rc.d/rc.avahidaemon ] && /etc/rc.d/rc.avahidaemon start &
# Start avahidnsconfd
[ -x /etc/rc.d/rc.avahidnsconfd ] && /etc/rc.d/rc.avahidnsconfd start &
then test it 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
Blaze
-
francois
- Contributor

- Posts: 6499
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
Post#24
by francois » 24 Mar 2023, 01:24
Code: Select all
root@porteus:/home/guest# [ -x /etc/rc.d/rc.avahidnsconfd ] && /etc/rc.d/rc.avahidnsconfd start
Starting Avahi mDNS/DNS-SD DNS Server Configuration Daemon: /usr/sbin/avahi-dnsconfd -D
root@porteus:/home/guest# cd /opt/brother/scanner/brscan4/
root@porteus:/opt/brother/scanner/brscan4# ls
Brsane4.ini brsanenetdevice4.cfg brscan_gnetconfig* setupSaneScan4*
brsaneconfig4* brscan_cnetconfig* models4/ udev_config.sh*
root@porteus:/opt/brother/scanner/brscan4# ./setupSaneScan4 -i
root@porteus:/opt/brother/scanner/brscan4# ./brsaneconfig4 -q | grep scanner
Prendre son temps, profiter de celui qui passe.
francois
-
Blaze
- DEV Team

- Posts: 3996
- Joined: 28 Dec 2010, 11:31
- Distribution: ⟰ Porteus current ☯ all DEs ☯
- Location: ☭ Russian Federation, Lipetsk region, Dankov
-
Contact:
Post#25
by Blaze » 24 Mar 2023, 17:56
francois,
1) no success and network scanner not detected?
2) how do you install brother scanner manually (please describe the working scheme)?
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
Blaze
-
beny
- Full of knowledge

- Posts: 2254
- Joined: 02 Jan 2011, 11:33
- Location: italy
Post#26
by beny » 24 Mar 2023, 18:41
guest@porteus:~/Downloads/scanner/brscan4$ '/home/guest/Downloads/scanner/brscan4/brsaneconfig4'
USAGE: brsaneconfig4 [-OPTION] OPTION:
-a name=FRIENDLY-NAME model=MODEL-NAME ip=xx.xx.xx.xx
-a name=FRIENDLY-NAME model=MODEL-NAME nodename=BRN_xxxxx
: Add network scanner
-r FRIENDLY-NAME [FRIENDLY-NAME ...]
: Remove network scanner
-q : Query available network scanners
-h : Display this help message
-d : Diagnosis
-p : Ping (for network scanners)
-s:[LABEL] : Save current configuration
-l:[LABEL] : Load saved configuration
guest@porteus:~/Downloads/scanner/brscan4$
also setupsanescan4 for the dll .conf but i can go wrong
beny
-
francois
- Contributor

- Posts: 6499
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
Post#27
by francois » 26 Mar 2023, 13:21
There is something I do wrong for sure as I get the same error with porteus 4.x which was working perfectly until the save folder got corrupted.

francois
-
francois
- Contributor

- Posts: 6499
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
Post#28
by francois » 28 Mar 2023, 19:15
I will work with vbox, this will be more efficient. Then I will come back.
Thanks.
Prendre son temps, profiter de celui qui passe.
francois
-
Blaze
- DEV Team

- Posts: 3996
- Joined: 28 Dec 2010, 11:31
- Distribution: ⟰ Porteus current ☯ all DEs ☯
- Location: ☭ Russian Federation, Lipetsk region, Dankov
-
Contact:
Post#29
by Blaze » 22 Apr 2023, 20:08
Hi
francois.
I updated my printing&scanning module.
Can you try a new version
Printing and scanning for Porteus (Пост Blaze #93780) with your scanner?
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
Blaze
-
francois
- Contributor

- Posts: 6499
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
Post#30
by francois » 23 Apr 2023, 17:47
Hello blaze, in without changes mode.
Same results:
Code: Select all
root@porteus:/usr/share/applications# cd /opt/brother/scanner/brscan4/
root@porteus:/opt/brother/scanner/brscan4# ls
Brsane4.ini brsanenetdevice4.cfg brscan_gnetconfig* setupSaneScan4*
brsaneconfig4* brscan_cnetconfig* models4/ udev_config.sh*
root@porteus:/opt/brother/scanner/brscan4# ./setupSaneScan4 -i
root@porteus:/opt/brother/scanner/brscan4# brsaneconfig4 -a name=scanner model=MFC-7860DW ip=192.168.0.139
root@porteus:/opt/brother/scanner/brscan4# brsaneconfig4 -q | grep scanner
/opt/brother/scanner/brscan4/brscan_cnetconfig: error while loading shared libraries: libavahi-client.so.3: cannot open shared object file: No such file or directory
root@porteus:/opt/brother/scanner/brscan4#
With your module new printing module only. Do I need also 07-printing-lxde-lxqt-openbox-xfce-x86_64-2022-04-09? I have added it after installing the scanner as above.
Thanks.
Prendre son temps, profiter de celui qui passe.
francois