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.
Post Reply
User avatar
Blaze
DEV Team
DEV Team
Posts: 1430
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus 3.2 Cinnamon x86_64
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Printing and scanning for Porteus

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

  1. Code: Select all

    http://support.brother.com/g/s/id/linux/en/download_scn.html#brscan
  2. brscan-0.2.4-0.amd64.deb
  3. brscan2-0.2.5-1.amd64.deb
  4. brscan3-0.2.11-5.amd64.deb
  5. brscan4-0.4.2-1.amd64.deb
  6. brscan-skey-0.2.4-1.amd64.deb

    ###

    Code: Select all

    https://pkgs.org/download/cups-bjnp
  7. cups-bjnp-1.2-x86_64-1_slonly.txz >>> cups-bjnp-2.0-x86_64-1_SBo.tgz
    Note. I'm compiled a new version cups-bjnp-2.0

    Code: Select all

    https://sourceforge.net/projects/cups-bjnp/files/cups-bjnp/
    https://slackbuilds.org/repository/14.2/system/cups-bjnp/
    >>> cups-bjnp-2.0-x86_64-1_SBo.tgz
    ###

    Code: Select all

    https://pkgs.org/download/cups-filters
    http://bear.alienbase.nl/mirrors/slackware/slackware64-current/slackware64/ap/
  8. cups-filters-1.13.5-x86_64-1.txz

    ###

    Code: Select all

    https://pkgs.org/download/gutenprint
    http://bear.alienbase.nl/mirrors/slackware/slackware64-current/slackware64/ap/
  9. gutenprint-5.2.12-x86_64-1.txz

    ###

    Code: Select all

    https://pkgs.org/download/hplip
    http://bear.alienbase.nl/mirrors/slackware/slackware64-current/slackware64/ap/
  10. hplip-3.17.4-x86_64-1.txz

    ###

    Code: Select all

    https://pkgs.org/download/net-snmp
    http://bear.alienbase.nl/mirrors/slackware/slackware64-current/slackware64/n/
  11. net-snmp-5.7.3-x86_64-4.txz

    ###

    Code: Select all

    https://pkgs.org/download/notify-python
  12. notify-python-0.1.1-x86_64-5.txz

    ###

    Code: Select all

    https://pkgs.org/download/pycups
    http://bear.alienbase.nl/mirrors/slackware/slackware64-current/slackware64/l/
  13. pycups-1.9.73-x86_64-2.txz

    ###

    Code: Select all

    https://pkgs.org/download/pycurl
    http://bear.alienbase.nl/mirrors/slackware/slackware64-current/slackware64/l/
  14. pycurl-7.43.0-x86_64-2.txz

    ###

    Code: Select all

    https://pkgs.org/download/pygobject
    http://bear.alienbase.nl/mirrors/slackware/slackware64-current/slackware64/l/
  15. pygobject-2.28.6-x86_64-3.txz

    ###

    Code: Select all

    https://pkgs.org/download/qpdf
  16. qpdf-6.0.0-x86_64-1.txz

    ###

    Code: Select all

    ScanGear MP Ver. 3.40 for Linux
    http://support-th.canon-asia.com/contents/TH/EN/0100840201.html?
  17. scangearmp2-3.40-1-deb.tar.gz
    Note. Copy scangearmp2.desktop to /home/guest/Загрузки/printing-module/usr/share/applications/

    Code: Select all

    [Desktop Entry]
    Version=1.0
    Encoding=UTF-8
    Name=ScanGearMP
    Type=Application
    Exec=scangearmp2
    Terminal=false
    Icon=scanner
    Comment=Canon Scanner
    Comment[ru]=Для сканеров и МФУ Canon
    NoDisplay=false
    Categories=GNOME;GTK;Graphics;Scanning;
    
    
    ###

    Code: Select all

    https://pkgs.org/download/simple-scan
  18. simple-scan-3.20.0-x86_64-1jsc.txz

    ###

    Code: Select all

    https://pkgs.org/download/system-config-printer
  19. system-config-printer-1.3.13-x86_64-2.txz
    Note. I'm compiled a new version system-config-printer-1.5.9, but she requires python3 >>> system-config-printer-1.5.9-x86_64-2.txz

    Code: Select all

    https://github.com/zdohnal/system-config-printer/releases
    http://slackware.cs.utah.edu/pub/slackware/slackware-current/source/l/system-config-printer/

    Code: Select all

    checking for a Python interpreter with version >= 3... none
    configure: error: no suitable Python interpreter found
    deps for building = python3-3.6.1-x86_64-1_slonly
    Note. Localizations for system-config-printer.desktop at /home/guest/Загрузки/printing-module/usr/share/applications/

    Code: Select all

    [Desktop Entry]
    Name=Print Settings
    Name[ar]=إعدادات الطباعة
    Name[as]=প্ৰিন্ট সংহতিসমূহ
    Name[bg]=Принтерни настройки
    Name[bn_IN]=প্রিন্ট সংক্রান্ত বৈশিষ্ট্য
    Name[ca]=Ajustos d'impressió
    Name[cs]=Nastavení tisku
    Name[da]=Udskriftsindstillinger
    Name[de]=Druckeinstellungen
    Name[el]=Ρυθμίσεις εκτύπωσης
    Name[en_GB]=Print Settings
    Name[es]=Configuración de impresión
    Name[et]=Trükkimise seaded
    Name[fi]=Tulostusasetukset
    Name[fr]=Configuration de l'impression
    Name[gu]=પ્રિન્ટ સુયોજનો
    Name[hi]=छपाई सेटिंग
    Name[hu]=Nyomtatási beállítások
    Name[it]=Impostazioni di stampa
    Name[ja]=印刷設定
    Name[kn]=ಮುದ್ರಣದ ಸಿದ್ಧತೆಗಳು
    Name[ko]=인쇄 설정
    Name[lt]=Spausdinimo nustatymai
    Name[lv]=Drukāšanas iestatījumi
    Name[ml]=പ്രിന്റ് സജ്ജീകരണങ്ങള്‍
    Name[mr]=छपाई सेटिंग्स्
    Name[nb]=Innstillinger for utskrift
    Name[nl]=Afdrukinstellingen
    Name[nn]=Utskriftoppsett
    Name[or]=ମୂଦ୍ରଣୀ ସଂରଚନା
    Name[pa]=ਪਰਿੰਟ ਸੈਟਿੰਗ
    Name[pl]=Ustawienia drukowania
    Name[pt]=Configurações da Impressora
    Name[pt_BR]=Configurações da impressora
    Name[ru]=Настройки принтера
    Name[sk]=Nastavenia tlače
    Name[sl]=Nastavitve tiskanja
    Name[sr]=Подешавања штампе
    Name[sv]=Skrivarinställningar
    Name[ta]=அச்சு அமைவுகள்
    Name[te]=ముద్రణ అమరికలు
    Name[uk]=Параметри друку
    Name[zh_CN]=打印设置
    Name[zh_TW]=列印設定值
    Comment=Configure printers
    Comment[ar]=اضبط الطابعات
    Comment[as]=মুদ্ৰকৰ বিন্যাস কৰক
    Comment[bg]=Настройка на принтерите
    Comment[bn]=প্রিন্টার কনফিগার করুন
    Comment[bn_IN]=প্রিন্টার কনফিগার করুন
    Comment[br]=Kefluniañ ar voullerezed
    Comment[bs]=Konfiguriranje pisača
    Comment[ca]=Configureu les impressores
    Comment[cs]=Nastavit tiskárny
    Comment[da]=Indstil printere
    Comment[de]=Drucker konfigurieren
    Comment[el]=Διαμόρφωση εκτυπωτών
    Comment[en_GB]=Configure printers
    Comment[es]=Configurar impresoras
    Comment[et]=Printerite seadistamine
    Comment[fa]=پیکربندی چاپگرها
    Comment[fi]=Muokkaa tulostimien asetuksia
    Comment[fr]=Configurer les imprimantes
    Comment[gu]=પ્રિન્ટરો રૂપરેખાંકિત કરો
    Comment[he]=הגדרת מדפסות
    Comment[hi]=मुद्रक विन्यस्त करें
    Comment[hr]=Konfiguriranje pisača
    Comment[hu]=Nyomtatók beállítása
    Comment[id]=Konfigurasi pencetak
    Comment[is]=Stilla prentara
    Comment[it]=Configura le stampanti
    Comment[ja]=プリンターの設定
    Comment[kn]=ಮುದ್ರಕವನ್ನು ಸ್ವರೂಪಿಸು
    Comment[ko]=프린터 설정
    Comment[lt]=Konfigūruokite spausdintuvus
    Comment[lv]=Konfigurēt printerus
    Comment[ml]=പ്രിന്‍ററുകള്‍ സജ്ജമാക്കുക
    Comment[mr]=मुद्रक व्यूहरचित करा
    Comment[ms]=Tetapkan pencetak
    Comment[nb]=Konfigurer skrivere
    Comment[nl]=Printers configureren
    Comment[nn]=Set opp skrivarar
    Comment[or]=ମୁଦ୍ରଣୀ ମାନଙ୍କୁ ବିନ୍ଯାସ କରନ୍ତୁ
    Comment[pa]=ਪਰਿੰਟਰ ਸੰਰਚਨਾ
    Comment[pl]=Konfiguracja drukarek
    Comment[pt]=Configurar impressoras
    Comment[pt_BR]=Configure impressoras
    Comment[ro]=Configurează imprimantele
    Comment[ru]=Настроить принтеры
    Comment[si]=මුද්‍රකයන් මානකරන්න
    Comment[sk]=Konfigurovať tlačiarne
    Comment[sl]=Konfiguracija tiskalnikov
    Comment[sr]=Подешавање штампача
    Comment[sr@latin]=Podešavanje štampača
    Comment[sv]=Konfigurera skrivare
    Comment[ta]=அச்சடிப்பிகளை கட்டமைக்கவும்
    Comment[te]=ముద్రకాలను ఆకృతీకరించు
    Comment[th]=ตั้งค่าเครื่องพิมพ์
    Comment[tr]=Yazıcıları yapılandır
    Comment[uk]=Налаштовування принтерів
    Comment[vi]=Cấu hình máy in
    Comment[zh_CN]=配置打印机
    Comment[zh_TW]=設定印表機
    Exec=system-config-printer
    Terminal=false
    Type=Application
    Icon=printer
    StartupNotify=true
    X-Desktop-File-Install-Version=0.23
    Categories=System;Settings;HardwareSettings;Printing;GTK;
    
    
    ###

    Code: Select all

    https://pkgs.org/download/xsane
  20. xsane-0.999-x86_64-1.txz

    ###

    Code: Select all

    https://pkgs.org/download/libgimp
  21. libgimp-2.8.20-alt1.x86_64.rpm

    ###

    Code: Select all

    http://download.ebz.epson.net/dsc/search/01/search/searchModule
    (search 1660 = Perfection 1660 ONLY!!!)
    http://support.epson.net/linux/en/iscan_c.php?version=1.0.4
  22. iscan-bundle-1.0.4.x64.rpm.tar.gz
    Note. Add Russian localization to iscan.desktop at /home/guest/Загрузки/printing-module/usr/share/applications/

    Code: Select all

    [Desktop Entry]
    Encoding=UTF-8
    Type=Application
    Categories=GTK;Application;Graphics;RasterGraphics;Scanning;
    
    Name=Image Scan! for Linux
    Name[ar]=ماسح الصور إِمج-سكان!
    Comment=Scan documents and images with your Epson scanner
    Comment[ar]=امسح المستندات والصور بماسحات إبسون
    Comment[ru]=Для сканеров и МФУ Epson
    
    Exec=iscan
    Terminal=false
    Icon=scanner
    
    
    ###

    Code: Select all

    https://pkgs.org/download/epson
  23. epson-inkjet-printer-escpr-1.6.11-x86_64-1_slonly.txz >>> epson-inkjet-printer-escpr-1.6.13-x86_64-1_SBo.tgz
    Note. I'm compiled a new version epson-inkjet-printer-escpr-1.6.13-x86_64-1_SBo.tgz

    Code: Select all

    https://aur.archlinux.org/packages/epson-inkjet-printer-escpr/
    https://slackbuilds.org/repository/14.2/system/epson-inkjet-printer-escpr/
    + bug_x86_64.patch !!!
    >>> epson-inkjet-printer-escpr-1.6.13-x86_64-1_SBo.tgz
    ###

    Code: Select all

    https://pkgs.org/search/foomatic-db-engine
  24. foomatic-db-engine-4.0.12-x86_64-1_slonly.txz

    ###

    Code: Select all

    https://pkgs.org/download/reportlab
  25. reportlab-3.2.0-x86_64-1_slonly.txz

    ###

    Code: Select all

    https://pkgs.org/download/cups-pdf
  26. cups-pdf-3.0.1-x86_64-1_slonly.txz

    ###

    Code: Select all

    https://pkgs.org/download/ghostscript
    http://bear.alienbase.nl/mirrors/slackware/slackware64-current/slackware64/ap/
  27. ghostscript-9.20-x86_64-2.txz

    ###

    Code: Select all

    https://pkgs.org/download/dbus-python
    http://bear.alienbase.nl/mirrors/slackware/slackware64-current/slackware64/l/
  28. dbus-python-1.2.4-x86_64-2.txz

    ###

    Code: Select all

    https://pkgs.org/download/sane
    http://bear.alienbase.nl/mirrors/slackware/slackware64-current/slackware64/xap/
  29. sane-1.0.25-x86_64-2.txz

    ###

    Code: Select all

    https://pkgs.org/download/libgusb
    https://slackonly.com/pub/packages/14.2-x86_64/libraries/libgusb/
  30. libgusb-0.2.10-x86_64-1_slonly.txz

    ###

    Code: Select all

    https://pkgs.org/download/libieee1284
    http://bear.alienbase.nl/mirrors/slackware/slackware64-current/slackware64/l/
  31. libieee1284-0.2.11-x86_64-3.txz

    ###

    Code: Select all

    UFR II/UFRII LT Printer Driver for Linux V3.31
    http://www.canon-europe.com/support/business-product-support/
  32. linux-UFRII-drv-v331-uken.tar.gz
1. unpack cups-2.2.3-x86_64-1.xzm, rename cups-2.2.3-x86_64-1 to printing-module and save only:

Code: Select all

/home/guest/Загрузки/printing-module/
├── etc
│   └── rc.d
│       └── rc.cups
└── usr
    └── share
        └── applications
            └── cups.desktop

5 directories, 2 files
2. extract all modules and move all content to printing-module directory
3. Some tweaks for printing-module. Open terminal and run these commands:

Code: Select all

su
toor
chmod +x /home/guest/Загрузки/printing-module/etc/rc.d/rc.cups
chmod +x /home/guest/Загрузки/printing-module/etc/rc.d/rc.cups-browsed
sed -i 's|localhost:631|localhost:631/admin|g' /home/guest/Загрузки/printing-module/usr/share/applications/cups.desktop
rm -rf /home/guest/Загрузки/printing-module/usr/doc/
rm -rf /home/guest/Загрузки/printing-module/usr/share/doc/
rm -rf /home/guest/Загрузки/printing-module/usr/share/gtk-doc/
rm -rf /home/guest/Загрузки/printing-module/usr/man/
rm -rf /home/guest/Загрузки/printing-module/usr/share/sane/xsane/doc/
rm -rf /home/guest/Загрузки/printing-module/usr/share/ghostscript/9.20/doc/
rm -rf /home/guest/Загрузки/printing-module/opt/brother/scanner/brscan4/doc/
cd /home/guest/Загрузки/
dir2xzm printing-module 007-printing-x86_64-15.05.2017.xzm
Note for brokenman! Remove rc.cups from your tree via

Code: Select all

rm /003-desktop-environment-module/etc/rc.d/rc.cups
and replace localhost:631 on the localhost:631/admin via

Code: Select all

sed -i 's|localhost:631|localhost:631/admin|g' /003-desktop-environment-module/usr/share/applications/cups.desktop
Linux porteus 4.13.3-porteus #1 SMP PREEMPT Sat Sep 23 18:22:13 x86_64 Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Tobago PRO [Radeon R7 360 / R9 360 OEM] (rev 81) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

User avatar
Blaze
DEV Team
DEV Team
Posts: 1430
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus 3.2 Cinnamon x86_64
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 porteus 4.13.3-porteus #1 SMP PREEMPT Sat Sep 23 18:22:13 x86_64 Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Tobago PRO [Radeon R7 360 / R9 360 OEM] (rev 81) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

User avatar
francois
Contributor
Contributor
Posts: 4998
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

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.
Voltaire: Le mieux est l'ennemi du bien.

Post Reply