HOWTO: Printing under porteus 3.2 (proposal)

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
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

HOWTO: Printing under porteus 3.2 (proposal)

Post#1 by francois » 05 Sep 2016, 21:41

Following a thread on printing under porteus 3.2, here is what works for printing:
Link removed (admin area only)

A. CUPS 2.2.3.
Here is my proposal for the printing module of porteus 3.2: upgrade to CUPS 2.1.3. It works out of the box and pretty well for me up to now, including the printer driver. A good selection of drivers are proposed for many brands of printers.

1.0 CUPS 2.1.3 needs the following packages:
cups-2.1.3-x86_64-2.xzm
cups-filters-1.8.2-x86_64-2.xzm
poppler-0.42.0-x86_64-1.xzm
pycups-1.9.73-x86_64-1.xzm already in the system kde5
python-2.7.11-x86_64-2.xzm
qpdf-6.0.0-x86_64-1.xzm

simple-scan

You can get these thru usm -g. However, these packages are not viewed as necessary dependencies by usm.

Code: Select all

usm -g package-name
2.0 Some link has to be established:

Code: Select all

root@porteus:/usr/doc#  ln -s /usr/doc /usr/share/doc
root@porteus:/usr/doc# 
3.0 The cups server has to be started, and accordingly some permanent modification should be done to the system. I use the autostart folder, but a more refined shortcut is for sure possible:

Code: Select all

cupsd
[/s]
This is done by changing permission of rc.cups in the files of the future module viewtopic.php?f=140&t=6203

Code: Select all

chmod +x /etc/rc.d/rc.cups
B. System-config-printer. This really simplifies the printer setting for those not familiar with CUPS.
All is needed is to call:

Code: Select all

usm -g system-config-printer
C. Installing a printer not in the list:
- ppd method
viewtopic.php?f=61&t=2079&p=48500#p48500
- specific printer make and models (*** to come)

D. More detailed printer installation procedure:
Printing under Porteus: summary of problems and solutions

This works for my brother printer with the PCL-laser generic driver, the specific driver my model was not proposed. The ppd method could be used if you do not find your printer in the list provided by CUPS or system-config-printer (print settings in panel menu > system).

Testing the methodology is welcome so that we could list the missing printer drivers.


Other:
/xdg-open http://localhost:631/ from the kde menu will not start CUPS in browser.
Solution: http://localhost:631/admin/
/xdg-open http://localhost:631/admin/ will work once browser is set as default
/home/guest/.local/share/applications/cups.desktop has to be changed accordingly.
Prendre son temps, profiter de celui qui passe.

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

Re: HOWTO: Printing under porteus 3.2 (proposal)

Post#2 by francois » 18 Sep 2016, 02:42

simple-scan has to be cross checked in the above, so necessary packages according to arch linux:
https://www.archlinux.org/packages/comm ... mple-scan/

The module process making:
http://www.porteus.org/component/conten ... udies.html

usm will be used to fetch the necessary packages.

usm,conf values will be reset:

Code: Select all

############ PORTEUS ONLY SETTINGS

# Convert all slackware packages that are downloaded
# to porteus modules.
MODULES=true

# Merge downloaded packages into one module bundle
MERGE=false

# Activate modules after downloading them
ACTIVATEMOD=false

# Remove slackware packages after downloading
REMOVETXZ=false
Prendre son temps, profiter de celui qui passe.

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

Re: HOWTO: Printing under porteus 3.2 (proposal)

Post#3 by francois » 23 Sep 2016, 02:16

Got printing and scanning module compact version to work on my brother MFC 7860-DW printer. The problem was that I had a first try on a bancal printer. Will be issued this weekend. 8)

Will be working on more extensive package or brokenman demand this weekend, I understood that what was to be assemble as packages from ahau was to be found in 07-printing/var/log/packages/ of the uncompressed original ahau module. :D
Prendre son temps, profiter de celui qui passe.

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

Re: HOWTO: Printing under porteus 3.2 (proposal)

Post#4 by Blaze » 23 Sep 2016, 20:20

List of deps:

Code: Select all

guest@blaze:~$ ls /home/guest/Загрузки/07-printing/var/log/packages
GConf-3.2.6-x86_64-1
bjfilter-common-2.50-2.i386
bjfilter-pixmaip1500-2.50-2.i386
bjfilter-pixmaip1500-lprng-2.50-2.i386
brscan-0.2.4-0.x86_64
brscan-skey-0.2.4-1.x86_64
brscan2-0.2.5-1.x86_64
brscan3-0.2.11-5.x86_64
brscan4-0.4.2-1.x86_64
cups-1.5.4-x86_64-3
cups-bjnp-1.2.1-x86_64-1Ahau
dbus-python-1.2.0-x86_64-1
epson-inkjet-printer-escpr-1.2.3-x86_64-1Ahau
foomatic-filters-4.0.12-x86_64-1
gd-2.0.35-x86_64-4
ghostscript-9.07-x86_64-2
gimp-solibs-2.8.6-x86_64-1Ahau
gutenprint-5.2.9-x86_64-1
hplip-3.13.11-x86_64-1Ahau
libgphoto2-2.5.2-x86_64-1
libieee1284-0.2.11-x86_64-3
libnl-1.1.4-x86_64-1
libsane-dsseries-1.0.5-1.x86_64
net-snmp-5.7.2-x86_64-2
notify-python-0.1.1-x86_64-3
pycairo-1.8.10-x86_64-2
pycups-1.9.61-x86_64-1
pycurl-7.19.0-x86_64-2
pygobject-2.28.6-x86_64-2
pygtk-2.24.0-x86_64-1
pyqt3-3.18.1-x86_64-1Ahau
python-2.7.5-x86_64-1
qt3-3.3.8b-x86_64-1Ahau
sane-1.0.24-x86_64-1
scangearmp-2.10.1-x86_64-1Ahau
simple-scan-2.32.0.2-x86_64-1gv
sip-4.14.2-x86_64-1
system-config-printer-1.3.13-x86_64-1
v4l-utils-0.9.5-x86_64-1
xsane-0.998-x86_64-3
guest@blaze:~$
bjfilter-common-2.50-2.i386
bjfilter-pixmaip1500-2.50-2.i386
bjfilter-pixmaip1500-lprng-2.50-2.i386

is came from this topic pstocanonbj or bjfilter [x86_64].

These packages and old models must be removed

Code: Select all

root@porteus:~# cd ip1500/usr/share/cups/model
root@porteus:~/ip1500/usr/share/cups/model# ls
canonip2200.ppd canonip6600d.ppd canonmp500.ppd canonpixmaip1500-blaze-francois.ppd canonpixus550i.ppd canonpixus850i.ppd canonpixus950i.ppd canonpixusip3100.ppd canonpixusip8600.ppd
canonip4200.ppd canonip7500.ppd canonpixmaip1000.ppd canonpixmaip1500.ppd canonpixus560i.ppd canonpixus860i.ppd canonpixus990i.ppd canonpixusip4100.ppd
root@porteus:~/ip1500/usr/share/cups/model#  
Others packages from this list must be updated to the last version.

I think a new module 'Printing+Scanning' must be tested by Porteus users on his printers and scanners.
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: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: HOWTO: Printing under porteus 3.2 (proposal)

Post#5 by francois » 23 Sep 2016, 21:24

Hello blaze. You got at the same point that I did: **** in progress ****

From the list that you provided lets remove a few to see what is left: cups 2.1.4, simple-scan and system-config-printer:
cups
cups-2.1.4-x86_64-1.xzm
poppler-0.45.0-x86_64-1.xzm
qpdf-6.0.0-x86_64-1.xzm
cups-filters-1.9.0-x86_64-2.xzm
python-2.7.11-x86_64-2.xzm

simple scan
colord-1.2.12-x86_64-1gv.txz
libgusb-0.2.8-x86_64-1gv.txz
dconf-0.24.0-x86_64-1.txz
sane-1.0.25-x86_64-2.txz
gtk+3-3.18.9-x86_64-1.txz
simple-scan-2.32.0.2-x86_64-2gv.txz

system-config-printer
system-config-printer-1.3.13-x86_64-2.txz
Many packages are obsolete for system-config-printer in to work with cups 2.1.4 from what I understand as I got it worked with cups 2.1.4 without them. This under KDE5 only, other versions, xfce and mate need them maybe (edited as 2016-1009)
viewtopic.php?f=61&t=1994
-bus-python = dbus-python-1.1.0-x86_64-1.txz
-foomatic-filters = foomatic-filters-4.0.12-x86_64-1.txz
-ghostscript = ghostscript-9.05-x86_64-3.txz
-notify-python = notify-python-0.1.1-x86_64-3.txz
-pycairo = pycairo-1.8.10-x86_64-2.txz
-pycups in pycairo= pycups-1.9.61-x86_64-1.txz
-pycurl = pycurl-7.19.0-x86_64-2.txz
-pygobject in pycairo= pygobject-2.28.6-x86_64-2.txz
-pygtk in pycairo = pygtk-2.24.0-x86_64-1.txz
-python in pycairo = python-2.7.3-x86_64-2.txz
-gutenprint = gutenprint-5.2.9-x86_64-1.txz


hplip
PyQt-4.11.4-x86_64-1.txz instead of pyqt3-3.18.1-x86_64-1Ahau
hplip-3.16.5-x86_64-3.txz

leftovers ppds special driver for print and scan
bjfilter-common-2.50-2.i386
ftp://download.canon.jp/pub/driver/bj/linux/

bjfilter-pixmaip1500-2.50-2.i386
http://rpm.pbone.net/index.php3/stat/4/ ... 6.rpm.html
bjfilter-pixmaip1500-lprng-2.50-2.i386
http://rpm.pbone.net/index.php3/stat/4/ ... 6.rpm.html
or as

Canon links in your hyperlink no more good and nothing in the above link of Canon so openprinting calls it gutenprint
http://www.openprinting.org/printer/Can ... XMA_iP5000
**will have to be testedWill be included in the printing package.

brscan-0.2.4-0.x86_64
brscan-skey-0.2.4-1.x86_64
brscan2-0.2.5-1.x86_64
brscan3-0.2.11-5.x86_64
brscan4-0.4.2-1.x86_64
http://support.brother.com/g/s/id/linux ... d_scn.html

cups-bjnp-1.2.1-x86_64-1Ahau
replacement
cups-bjnp-1.2-x86_64-1_slonly.txz
usm 3.2 might do but maybe modified by Ahau

epson-inkjet-printer-escpr-1.2.3-x86_64-1Ahau
replacement
epson-inkjet-printer-escpr-1.4.5-x86_64-1alien.tgz
usm 3.2

GConf-3.2.6-x86_64-3
gd-2.0.35-x86_64-4
libieee1284-0.2.11-x86_64-3
libgphoto2-2.5.2-x86_64-1
libnl-1.1.4-x86_64-1
net-snmp-5.7.2-x86_64-2
qt3-3.3.8b-x86_64-1Ahau ** will pyqt do the job?
sip-4.14.2-x86_64-1
v4l-utils-0.9.5-x86_64-1
xsane-0.998-x86_64-3 *** not sure if necessary (not for me), but will be included
all with usm 3.2

libsane-dsseries-1.0.5-1.x86_64
http://download.brother.com/welcome/dlf ... x86_64.rpm

scangearmp-2.10.1-x86_64-1Ahau replaced by scangearmp2 .deb
http://support-th.canon-asia.com/conten ... 90502.html

Find elsewhere than usm32 or simply keep the packages from 3.1
gimp-solibs-2.8.6-x86_64-1Ahau trouver
n-1.1.4-x86_64-1
Prendre son temps, profiter de celui qui passe.

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

Re: HOWTO: Printing under porteus 3.2 (proposal)

Post#6 by francois » 24 Sep 2016, 02:32

Prendre son temps, profiter de celui qui passe.

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

Re: HOWTO: Printing under porteus 3.2 (proposal)

Post#7 by francois » 24 Sep 2016, 03:31

@blaze:
What do you mean:
These packages and old models must be removed
Prendre son temps, profiter de celui qui passe.

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

Re: HOWTO: Printing under porteus 3.2 (proposal)

Post#8 by Blaze » 24 Sep 2016, 08:09

francois, I mean these packages

bjfilter-common-2.50-2.i386
ftp://download.canon.jp/pub/driver/bj/linux/
bjfilter-pixmaip1500-2.50-2.i386
http://rpm.pbone.net/index.php3/stat/4/ ... 6.rpm.html
bjfilter-pixmaip1500-lprng-2.50-2.i386
http://rpm.pbone.net/index.php3/stat/4/ ... 6.rpm.html

+ these models at the /usr/share/cups/model

Code: Select all

canonip2200.ppd
canonip6600d.ppd
canonmp500.ppd
canonpixmaip1500-blaze-francois.ppd
canonpixus550i.ppd
canonpixus850i.ppd
canonpixus950i.ppd
canonpixusip3100.ppd
canonpixusip8600.ppd
canonip4200.ppd
canonip7500.ppd
canonpixmaip1000.ppd
canonpixmaip1500.ppd
canonpixus560i.ppd
canonpixus860i.ppd
canonpixus990i.ppd
canonpixusip4100.ppd
It's old printers and they are not support x86_64 architecture (of couse if not use additional compat32-libraries-3.0-x86_64-1sl.xzm module - with this bunch printing works on 64 bit OS)
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: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: HOWTO: Printing under porteus 3.2 (proposal)

Post#9 by francois » 24 Sep 2016, 12:19

Thanks blaze. I have included your proposed drivers. Thus compat is not needed with these drivers?


Do you have a solution for:
kde menu > system > cups
or
/xdg-open http://localhost:631/ from the kde menu will not start CUPS in browser.

My solution is:
http://localhost:631/admin/
/opt/google/chrome/google-chrome http://localhost:631/admin/ #but this is not practical for the different desktop.

/xdg-open http://localhost:631/admin/ will work once browser is set as default
/home/guest/.local/share/applications/cups.desktop has to be changed accordingly.

But how to change that in the different desktop menu from the printer package?
Prendre son temps, profiter de celui qui passe.

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

Re: HOWTO: Printing under porteus 3.2 (proposal)

Post#10 by Blaze » 24 Sep 2016, 17:01

francois wrote:I have included your proposed drivers.
Sorry about my English, but I mean exclude (remove, delete) these drivers and packages.
francois wrote:Thus compat is not needed with these drivers?
A compact module need for 64 bit.

Waht about

Code: Select all

Exec=/usr/bin/xdg-open http://localhost:631/
in /usr/share/applications/cups.desktop ?
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: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: HOWTO: Printing under porteus 3.2 (proposal)

Post#11 by francois » 24 Sep 2016, 17:16

Why do you want to remove them? There might be older machines or you mean that they are there otherwise?
Prendre son temps, profiter de celui qui passe.

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

Re: HOWTO: Printing under porteus 3.2 (proposal)

Post#12 by Blaze » 24 Sep 2016, 17:44

francois wrote:Why do you want to remove them. There might be older machines or you mean that they are there otherwise?
Probably you are right - we can save these packages
bjfilter-common-2.50-2.i386
bjfilter-pixmaip1500-2.50-2.i386
bjfilter-pixmaip1500-lprng-2.50-2.i386
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: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: HOWTO: Printing under porteus 3.2 (proposal)

Post#13 by francois » 10 Oct 2016, 19:01

Never found these packages anywhere so if any of you have a cue:
gimp-solibs-2.8.6-x86_64-1Ahau
n-1.1.4-x86_64-1 reviewing I don't know where I got this one. Maybe some allegedly dependency of another package.

I am about to release an upgraded package of 07-printing of porteus 3.1 though the latter works on portes 3.2 with minor changes. I reiterate that it contains the older cups version.
Prendre son temps, profiter de celui qui passe.

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

Re: HOWTO: Printing under porteus 3.2 (proposal)

Post#14 by Blaze » 10 Oct 2016, 19:33

IMHO the best program for scan is ABBYY FineReader - look at this (it's not free program)
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

Re: HOWTO: Printing under porteus 3.2 (proposal)

Post#15 by brokenman » 11 Oct 2016, 01:55

But how to change that in the different desktop menu from the printer package?
Just put the desktop file in /usr/share/applications to make it universal. I remember this change (adding: admin) to the address had to be made in Porteus-3.1

I have not heard of gimp-solibs. Perhaps pull the package apart (look in /var/log/packages to see which files it contains). Maybe Ahau pulled some libraries out of the gimp package.
How do i become super user?
Wear your underpants on the outside and put on a cape.

Post Reply