printing-3.2 for porteus 3.2

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.

Re: printing-3.2 for porteus 3.2

Post#31 by francois » 07 Oct 2016, 10:54

@Ed

No need for printing-lite modules with 07-printing.xzm

http://localhost:631/admin/
could be used instead of
http://localhost:631/printers/

@blaze

Thanks for the tip for the menu change of the cups application.
Prendre son temps, profiter de celui qui passe.

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

Re: printing-3.2-lite for porteus 3.2

Post#32 by Ed_P » 08 Oct 2016, 00:41

Blaze wrote:Open /usr/share/applications/cups.desktop with mousepad

find

Code: Select all

Exec=/usr/bin/xdg-open http://localhost:631/
replace with

Code: Select all

Exec=/usr/bin/xdg-open http://localhost:631/printers/
save changes.

At the start menu of Porteus Desktop Environment open 'Manage Printing' and check url in your browser.
I have made the changes and they work. I would now like to make a backup of them but for some reason it isn't working, even with the script running as root.

Code: Select all

mkdir -p /tmp/mod

# copy modified files

cp -a --parents    /usr/share/applications/Manage*Printing        /tmp/mod/
cp -a --parents    /usr/share/applications/Print*Settings         /tmp/mod/

Code: Select all

guest@porteus:~$ ./mkmodchanges.sh
Enter root's password 
Password: 

cp: cannot stat '/usr/share/applications/Manage*Printing': No such file or directory
cp: cannot stat '/usr/share/applications/Print*Settings': No such file or directory
Ed

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: printing-3.2-lite for porteus 3.2

Post#33 by brokenman » 08 Oct 2016, 20:22

It is best to get into the habit of using "" around your paths.
How do i become super user?
Wear your underpants on the outside and put on a cape.

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

Re: printing-3.2-lite for porteus 3.2

Post#34 by Ed_P » 08 Oct 2016, 20:42

brokenman wrote:It is best to get into the habit of using "" around your paths.
Ok. Thanks brokenman..

The solution to my problem ended up being my guessing at the name of the file.

Code: Select all

guest@porteus:~$ mkdir /tmp/mod/
guest@porteus:~$ cp -a --parents   "/usr/share/applications/Manage*Printing"       "/tmp/mod/"
cp: cannot stat '/usr/share/applications/Manage*Printing': No such file or directory
guest@porteus:~$ cp -a --parents   /usr/share/applications/cup*       /tmp/mod/
guest@porteus:~$ ls /tmp/mod/usr/share/applications/
cups.desktop
guest@porteus:~$ 
Do not understand why the file name shown in Nemo could not be found in Terminal.
Ed

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: printing-3.2 for porteus 3.2

Post#35 by francois » 13 Oct 2016, 12:27

New version of printing module has been released. See in first post for the download. Instructions have been upgraded.

@jack:
Simple scan should work for you now.

@kocickamia:
I am not forgetting you. As soon as I get the printer module troubleshooted for the 64bit edition, you will get your 32bit copy. :wink:

Thanks for testing with your scanners or printers.
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: printing-3.2 for porteus 3.2

Post#36 by francois » 13 Oct 2016, 21:39

Blazed proposed to upgrade simple-scan:
https://pkgs.org/slackware-14.2/johanne ... c.txz.html

It will be included int the next revision of the module.
Prendre son temps, profiter de celui qui passe.

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

Re: printing-3.2 for porteus 3.2

Post#37 by Ed_P » 13 Oct 2016, 23:10

francois wrote:New version of printing module has been released. See in first post for the download. Instructions have been upgraded.
It appears to be working with my HP Officejet Pro 8600 printer when using FireFox 50.0b5 on my 64-bit Cinnamon system.

Why is it 50MB larger than the normal 07-printing.xzm module, which also works on my system?

Also why no note at the bottom of the 1st post indicating it has been updated.
Ed

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: printing-3.2 for porteus 3.2

Post#38 by brokenman » 14 Oct 2016, 02:10

Good job Francois. Some questions/observations.

1)
You can remove the following:
GConf-3.2.6-x86_64-3
gtk+3-3.18.9-x86_64-1

These packages are in all desktops by default.

2)
libxfce4ui-4.12.1-x86_64-2
libxfce4util-4.12.1-x86_64-2
qt3-3.3.8b-x86_64-5_slonly (seems very old)
Why are these packages present?
How do i become super user?
Wear your underpants on the outside and put on a cape.

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: printing-3.2 for porteus 3.2

Post#39 by francois » 14 Oct 2016, 06:33

@Ed:
How is the scanner function doing.

I realized that the size was kind of overweight too. But I wanted to put more in there than not enough.

@brokenman:
I will remove all revise these packages which seem too old and remove the packages as they are in excess.

Maybe the gimp-solibs are not necessary too.

Thanks for testing and for commenting.
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: printing-3.2 for porteus 3.2

Post#40 by Blaze » 14 Oct 2016, 20:09

I have done my version of printing-3.2 module for porteus 3.2 x86_64

07-printing-x86_64.xzm

glade3 :) does not need and probably gimp-solibs too.

Double packages

Code: Select all

colord, cups, dbus-python, garcon, gd-2.2.1, libgphoto2-2.5.10, libgusb-0.2.9, libieee1284-0.2.11, poppler-0.45.0, pycairo-1.10.0, pygtk-2.24.0, python-2.7.11, sane-1.0.25, v4l-utils-1.10.0
I think that the module requires a more detailed audit

Content:
PyQt5-5.7-x86_64-1alien.txz
https://pkgs.org/search/PyQt#


brscan-skey-0.2.4-1.amd64.deb
brscan4-0.4.2-1.amd64.deb
brscan3-0.2.11-5.amd64.deb
brscan2-0.2.5-1.amd64.deb
brscan-0.2.4-0.amd64.deb
http://support.brother.com/g/s/id/linux ... tml#brscan


cups-bjnp-1.2-x86_64-1_slonly.txz
https://pkgs.org/search/cups-bjnp


cups-filters-1.9.0-x86_64-2.txz
https://pkgs.org/search/cups-filters


exo-0.10.7-x86_64-1.txz
https://pkgs.org/search/exo


foomatic-filters-4.0.17-x86_64-1.txz
https://www.openprinting.org/download/foomatic/
+ foomatic-filters.SlackBuild
https://slackbuilds.org/mirror/slackwar ... c-filters/


ghostscript-9.19-x86_64-2.txz
https://pkgs.org/search/ghostscript


ghostscript-fonts-std-8.11-noarch-1.txz
https://pkgs.org/search/ghostscript-fonts-std


gutenprint-5.2.11-x86_64-2.txz
https://pkgs.org/search/gutenprint


hplip-3.16.8-x86_64-1dj.txz
https://pkgs.org/search/hplip


libnl-1.1.4-x86_64-1.txz
https://pkgs.org/search/libnl


libsane-dsseries-1.0.5-1.x86_64.rpm
https://aur.archlinux.org/packages/libsane-dsseries/ = http://download.brother.com/welcome/dlf ... x86_64.rpm


net-snmp-5.7.3-x86_64-3.txz
https://pkgs.org/search/net-snmp


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


pycups-1.9.73-x86_64-1.txz
https://pkgs.org/search/pycups


pycurl-7.43.0-x86_64-1.txz
https://pkgs.org/search/pycurl


pygobject-2.28.6-x86_64-2.txz
https://pkgs.org/search/pygobject


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


scangearmp2_3.20-1_amd64.deb
http://gdlp01.c-wss.com/gds/5/010000690 ... deb.tar.gz


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


sip-4.18-x86_64-1.txz
https://pkgs.org/search/sip


system-config-printer-1.3.13-x86_64-2.txz
https://pkgs.org/search/system-config-printer


xsane-0.999-x86_64-1.txz
https://pkgs.org/search/xsane
Plus

Code: Select all

chmod +x /etc/rc.d/rc.cups-browsed
chmod +x /etc/rc.d/rc.snmpd
chmod +x /etc/rc.d/rc.cups
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: 8343
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Re: printing-3.2 for porteus 3.2

Post#41 by Ed_P » 15 Oct 2016, 04:43

francois wrote:@Ed:
How is the scanner function doing.
It appears to be working. Nice job francois. :good:
Blaze wrote:I have done my version of printing-3.2 module for porteus 3.2 x86_64

07-printing-x86_64.xzm
Your 52MB module appears to be working also Blaze. :good: But somehow it seems to have caused my 3.2rc5 Cinammon system to loose it's xterminal link in the taskbar. :unknown:
Ed

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: printing-3.2 for porteus 3.2

Post#42 by francois » 15 Oct 2016, 09:36

@blaze

What do you mean? You have some suggestions for changes. Personally, I got most packages from usm.

I will be home from France back to Canada today. The printers are there. I will be more at ease to test things, and to compare our reclaim jobs.

I do not mind that we go for your version. :wink:
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: printing-3.2 for porteus 3.2

Post#43 by Blaze » 15 Oct 2016, 09:44

francois, I mean unnecessary (excessive) dependencies. Some packages does not need. USM can grab extra packages but they are not required.
But somehow it seems to have caused my 3.2rc5 Cinammon system to loose it's xterminal link in the taskbar.
I don't repeat this with my 07-printing-x86_64.xzm module in Always Fresh mode.
Last edited by Blaze on 15 Oct 2016, 09:48, edited 1 time in total.
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: printing-3.2 for porteus 3.2

Post#44 by francois » 15 Oct 2016, 09:47

You have done that within xfce environment?
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: printing-3.2 for porteus 3.2

Post#45 by Blaze » 15 Oct 2016, 09:49

Cinnamon environment
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

Post Reply