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.
Post Reply
User avatar
Ed_P
Contributor
Contributor
Posts: 3161
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 3.2.2 64-bit ISO
Location: Western NY, USA

Re: printing-3.2 for porteus 3.2

Post#91 by Ed_P » 19 Nov 2016, 04:58

brokenman wrote:cups is a dependency of other packages in kde and cinnamon.
Where is it in Cinnamon 64-bit?

Code: Select all

guest@porteus:~$ uname -r
4.8.8-porteus

guest@porteus:~$ ls /usr/lib/
NetworkManager/                       librokenman
bjlib/                                macroport
cinnamon-control-center-1/            mozilla/
iscan-data/                           pkgconfig/
kde4/                                 polkit-1/
libcinnamon-control-center.so@        rpm/
libcinnamon-control-center.so.1@      siconv/
libcinnamon-control-center.so.1.0.0*  systemd/
libcncpmslld2.so.3.0.0                udev/
libcncpnet2.so.1.2.3                  udisks2/
guest@porteus:~$ 
Ed

User avatar
Blaze
Moderator
Moderator
Posts: 1386
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus 3.2 Cinnamon x86_64
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Re: printing-3.2 for porteus 3.2

Post#92 by Blaze » 19 Nov 2016, 09:03

brokenman wrote:cups is a dependency of other packages in kde and cinnamon.
cups is only in kde and cinnamon. Probably best to include it in the printing module.
If we does not want double packages (porridge of double cups packages), my suggestion is to add cups to MATE and Xfce desktop environments by default.

Ed_P, can you try 07-printing-x86_64-19.11.2016.xzm 58.18 Mb in Always Fresh mode?
I removed hplip-3.16.9-x86_64-1.txz and returned hplip-3.16.8-x86_64-1dj.txz
BTW, for i586 (32 bit) I can't find hplip-3.16.8-i586-1dj.txz
Linux porteus 4.12.7-porteus #1 SMP PREEMPT Sun Aug 13 17:38:30 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
Ed_P
Contributor
Contributor
Posts: 3161
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 3.2.2 64-bit ISO
Location: Western NY, USA

Re: printing-3.2 for porteus 3.2

Post#93 by Ed_P » 19 Nov 2016, 18:54

Blaze wrote:Ed_P, can you try 07-printing-x86_64-19.11.2016.xzm 58.18 Mb in Always Fresh mode?
Thanks Blaze but got the same results. :(
Ed

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

Re: printing-3.2 for porteus 3.2

Post#94 by francois » 19 Nov 2016, 20:27

@pauleus:
Here is a procedure for parallel installation of a printer, in case you did not read it already:
http://www.linuxquestions.org/questions ... lpt-35083/
Voltaire: Le mieux est l'ennemi du bien.

User avatar
brokenman
Site Admin
Site Admin
Posts: 5456
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: printing-3.2 for porteus 3.2

Post#95 by brokenman » 20 Nov 2016, 00:29

If we does not want double packages (porridge of double cups packages), my suggestion is to add cups to MATE and Xfce desktop environments by default.
Ok.
How do i become super user?
Wear your underpants on the outside and put on a cape.

pauleus
White ninja
White ninja
Posts: 10
Joined: 17 Nov 2016, 03:50
Distribution: Mint
Location: US

Re: printing-3.2 for porteus 3.2

Post#96 by pauleus » 20 Nov 2016, 02:54

@Blaze
Thank you for that, however everywhere has different way to do it.

Today I download and try SalixLive 14.2 XFCE.
After modprobe lp, Salix has "Manage Printers" which opens
firefox to localhost:631. There I configure LPT1: and print fine.
In Porteus I get "Not Found" on connect to that.

So, no problem getting it work, just not here. Can't figure it out.
It's OK. You guys have enough to do with important stuff.

I just hope for nvidia 304 module to use with way old GeForce 6xxx.
Thanks!

User avatar
Blaze
Moderator
Moderator
Posts: 1386
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus 3.2 Cinnamon x86_64
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Re: printing-3.2 for porteus 3.2

Post#97 by Blaze » 20 Nov 2016, 10:08

Ed_P, I took 07-printing-x86_64-18.10.2016.xzm and cleared from hplip-3.16.8-x86_64-1dj.xzm via my script hplipclean.sh

Code: Select all

#!/bin/sh
rm /home/guest/Загрузки/07-printing-x86_64-21.11.2016/etc/dbus-1/system.d/com.hp.hplip.conf
rm -rf /home/guest/Загрузки/07-printing-x86_64-21.11.2016/etc/hp
rm /home/guest/Загрузки/07-printing-x86_64-21.11.2016/etc/xdg/autostart/hplip-systray.desktop
rm /home/guest/Загрузки/07-printing-x86_64-21.11.2016/lib/udev/rules.d/56-hpmud.rules
rm /home/guest/Загрузки/07-printing-x86_64-21.11.2016/usr/bin/hp-toolbox
rm /home/guest/Загрузки/07-printing-x86_64-21.11.2016/usr/bin/hp-align
rm /home/guest/Загрузки/07-printing-x86_64-21.11.2016/usr/bin/hp-check
rm /home/guest/Загрузки/07-printing-x86_64-21.11.2016/usr/bin/hp-clean
rm /home/guest/Загрузки/07-printing-x86_64-21.11.2016/usr/bin/hp-colorcal
rm /home/guest/Загрузки/07-printing-x86_64-21.11.2016/usr/bin/hp-config_usb_printer
rm /home/guest/Загрузки/07-printing-x86_64-21.11.2016/usr/bin/hp-devicesettings
rm /home/guest/Загрузки/07-printing-x86_64-21.11.2016/usr/bin/hp-diagnose_plugin
rm /home/guest/Загрузки/07-printing-x86_64-21.11.2016/usr/bin/hp-diagnose_queues
rm /home/guest/Загрузки/07-printing-x86_64-21.11.2016/usr/bin/hp-doctor
rm /home/guest/Загрузки/07-printing-x86_64-21.11.2016/usr/bin/hp-fab
rm /home/guest/Загрузки/07-printing-x86_64-21.11.2016/usr/bin/hp-faxsetup
rm /home/guest/Загрузки/07-printing-x86_64-21.11.2016/usr/bin/hp-firmware
rm /home/guest/Загрузки/07-printing-x86_64-21.11.2016/usr/bin/hp-info
rm /home/guest/Загрузки/07-printing-x86_64-21.11.2016/usr/bin/hp-levels
rm /home/guest/Загрузки/07-printing-x86_64-21.11.2016/usr/bin/hp-linefeedcal
rm /home/guest/Загрузки/07-printing-x86_64-21.11.2016/usr/bin/hp-logcapture
rm /home/guest/Загрузки/07-printing-x86_64-21.11.2016/usr/bin/hp-makecopies
rm /home/guest/Загрузки/07-printing-x86_64-21.11.2016/usr/bin/hp-makeuri
rm /home/guest/Загрузки/07-printing-x86_64-21.11.2016/usr/bin/hp-pkservice
rm /home/guest/Загрузки/07-printing-x86_64-21.11.2016/usr/bin/hp-plugin
rm /home/guest/Загрузки/07-printing-x86_64-21.11.2016/usr/bin/hp-pqdiag
rm /home/guest/Загрузки/07-printing-x86_64-21.11.2016/usr/bin/hp-print
rm /home/guest/Загрузки/07-printing-x86_64-21.11.2016/usr/bin/hp-printsettings
rm /home/guest/Загрузки/07-printing-x86_64-21.11.2016/usr/bin/hp-probe
rm /home/guest/Загрузки/07-printing-x86_64-21.11.2016/usr/bin/hp-query
rm /home/guest/Загрузки/07-printing-x86_64-21.11.2016/usr/bin/hp-scan
rm /home/guest/Загрузки/07-printing-x86_64-21.11.2016/usr/bin/hp-sendfax
rm /home/guest/Загрузки/07-printing-x86_64-21.11.2016/usr/bin/hp-setup
rm /home/guest/Загрузки/07-printing-x86_64-21.11.2016/usr/bin/hp-systray
rm /home/guest/Загрузки/07-printing-x86_64-21.11.2016/usr/bin/hp-testpage
rm /home/guest/Загрузки/07-printing-x86_64-21.11.2016/usr/bin/hp-timedate
rm /home/guest/Загрузки/07-printing-x86_64-21.11.2016/usr/bin/hp-uninstall
rm /home/guest/Загрузки/07-printing-x86_64-21.11.2016/usr/bin/hp-unload
rm /home/guest/Загрузки/07-printing-x86_64-21.11.2016/usr/bin/hp-upgrade
rm /home/guest/Загрузки/07-printing-x86_64-21.11.2016/usr/bin/hp-wificonfig
rm /home/guest/Загрузки/07-printing-x86_64-21.11.2016/usr/bin/hpijs
rm -rf /home/guest/Загрузки/07-printing-x86_64-21.11.2016/usr/doc
rm /home/guest/Загрузки/07-printing-x86_64-21.11.2016/usr/lib/systemd/system/hplip-printer@.service
rm /home/guest/Загрузки/07-printing-x86_64-21.11.2016/usr/lib64/libhpdiscovery.so
rm /home/guest/Загрузки/07-printing-x86_64-21.11.2016/usr/lib64/libhpdiscovery.so.0
rm /home/guest/Загрузки/07-printing-x86_64-21.11.2016/usr/lib64/libhpdiscovery.so.0.0.1
rm /home/guest/Загрузки/07-printing-x86_64-21.11.2016/usr/lib64/libhpip.so
rm /home/guest/Загрузки/07-printing-x86_64-21.11.2016/usr/lib64/libhpip.so.0
rm /home/guest/Загрузки/07-printing-x86_64-21.11.2016/usr/lib64/libhpip.so.0.0.1
rm /home/guest/Загрузки/07-printing-x86_64-21.11.2016/usr/lib64/libhpipp.so
rm /home/guest/Загрузки/07-printing-x86_64-21.11.2016/usr/lib64/libhpipp.so.0
rm /home/guest/Загрузки/07-printing-x86_64-21.11.2016/usr/lib64/libhpipp.so.0.0.1
rm /home/guest/Загрузки/07-printing-x86_64-21.11.2016/usr/lib64/libhpmud.so
rm /home/guest/Загрузки/07-printing-x86_64-21.11.2016/usr/lib64/libhpmud.so.0
rm /home/guest/Загрузки/07-printing-x86_64-21.11.2016/usr/lib64/libhpmud.so.0.0.6
rm /home/guest/Загрузки/07-printing-x86_64-21.11.2016/usr/lib64/libhpdiscovery.la
rm /home/guest/Загрузки/07-printing-x86_64-21.11.2016/usr/lib64/libhpip.la
rm /home/guest/Загрузки/07-printing-x86_64-21.11.2016/usr/lib64/libhpipp.la
rm /home/guest/Загрузки/07-printing-x86_64-21.11.2016/usr/lib64/libhpmud.la
rm /home/guest/Загрузки/07-printing-x86_64-21.11.2016/usr/lib64/python2.7/site-packages/cupsext.la
rm /home/guest/Загрузки/07-printing-x86_64-21.11.2016/usr/lib64/python2.7/site-packages/hpmudext.la
rm /home/guest/Загрузки/07-printing-x86_64-21.11.2016/usr/lib64/python2.7/site-packages/pcardext.la
rm /home/guest/Загрузки/07-printing-x86_64-21.11.2016/usr/lib64/python2.7/site-packages/scanext.la
rm /home/guest/Загрузки/07-printing-x86_64-21.11.2016/usr/lib64/sane/libsane-hpaio.la
rm /home/guest/Загрузки/07-printing-x86_64-21.11.2016/usr/share/applications/hplip.desktop
rm /home/guest/Загрузки/07-printing-x86_64-21.11.2016/usr/lib64/cups/backend/hp
rm /home/guest/Загрузки/07-printing-x86_64-21.11.2016/usr/lib64/cups/backend/hpfax
rm /home/guest/Загрузки/07-printing-x86_64-21.11.2016/usr/lib64/cups/filter/foomatic-rip-hplip
rm /home/guest/Загрузки/07-printing-x86_64-21.11.2016/usr/lib64/cups/filter/hpcups
rm /home/guest/Загрузки/07-printing-x86_64-21.11.2016/usr/lib64/cups/filter/hpcupsfax
rm /home/guest/Загрузки/07-printing-x86_64-21.11.2016/usr/lib64/cups/filter/hpps
rm /home/guest/Загрузки/07-printing-x86_64-21.11.2016/usr/lib64/cups/filter/pstotiff
rm /home/guest/Загрузки/07-printing-x86_64-21.11.2016/usr/lib64/python2.7/site-packages/cupsext.so
rm /home/guest/Загрузки/07-printing-x86_64-21.11.2016/usr/lib64/python2.7/site-packages/hpmudext.so
rm /home/guest/Загрузки/07-printing-x86_64-21.11.2016/usr/lib64/python2.7/site-packages/pcardext.so
rm /home/guest/Загрузки/07-printing-x86_64-21.11.2016/usr/lib64/python2.7/site-packages/scanext.so
rm /home/guest/Загрузки/07-printing-x86_64-21.11.2016/usr/lib64/sane/libsane-hpaio.so
rm /home/guest/Загрузки/07-printing-x86_64-21.11.2016/usr/lib64/sane/libsane-hpaio.so.1
rm /home/guest/Загрузки/07-printing-x86_64-21.11.2016/usr/lib64/sane/libsane-hpaio.so.1.0.0
rm -rf /home/guest/Загрузки/07-printing-x86_64-21.11.2016/usr/share/cups/drv/hp
rm -rf /home/guest/Загрузки/07-printing-x86_64-21.11.2016/usr/share/cups/drv/HP
rm /home/guest/Загрузки/07-printing-x86_64-21.11.2016/usr/share/cups/mime/pstotiff.convs
rm /home/guest/Загрузки/07-printing-x86_64-21.11.2016/usr/share/cups/mime/pstotiff.types
rm -rf /home/guest/Загрузки/07-printing-x86_64-21.11.2016/usr/share/cups/model/HP
rm -rf /home/guest/Загрузки/07-printing-x86_64-21.11.2016/usr/share/ppd/HP
rm /home/guest/Загрузки/07-printing-x86_64-21.11.2016/usr/share/dbus-1/system-services/com.hp.hplip.service
rm /home/guest/Загрузки/07-printing-x86_64-21.11.2016/usr/share/hal/fdi/preprobe/10osvendor/20-hplip-devices.fdi
rm -rf /home/guest/Загрузки/07-printing-x86_64-21.11.2016/usr/share/hplip
rm /home/guest/Загрузки/07-printing-x86_64-21.11.2016/usr/share/polkit-1/actions/com.hp.hplip.policy
rm /home/guest/Загрузки/07-printing-x86_64-21.11.2016/var/log/packages/hplip-3.16.9-x86_64-1
rm /home/guest/Загрузки/07-printing-x86_64-21.11.2016/var/log/scripts/hplip-3.16.9-x86_64-1
and added hplip-3.16.9-x86_64-1.xzm

Try a new version 07-printing-x86_64-20.11.2016.xzm (64 bit) in Always Fresh mode. Thanks.
Last edited by Blaze on 26 Nov 2016, 18:44, edited 2 times in total.
Linux porteus 4.12.7-porteus #1 SMP PREEMPT Sun Aug 13 17:38:30 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
Ed_P
Contributor
Contributor
Posts: 3161
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 3.2.2 64-bit ISO
Location: Western NY, USA

Re: printing-3.2 for porteus 3.2

Post#98 by Ed_P » 20 Nov 2016, 14:58

Blaze wrote:Try a new version 07-printing-x86_64-20.11.2016.xzm (64 bit) in Always Fresh mode. Thanks.
Same cups-insecure-filter error.

AF mode

Code: Select all

guest@porteus:~$ sh /mnt/sda5/porteus3.2/Guest/afmode.sh
Cmdline: quiet from=/ISOs/Porteus-CINNAMON-v3.2-x86_64-nu.iso kmap=us extramod=/porteus3.2/Modules
Modules: ls -h /mnt/live/memory/images/
000-kernel.xzm	  07-printing-x86_64-20.11.2016.xzm
001-core.xzm	  firefox-50.0b5-x86_64-1.xzm
002-xorg.xzm	  flashplayer-plugin-23.0.0.205-x86_64-1.xzm
003-cinnamon.xzm
guest@porteus:~$ 
Ed

User avatar
brokenman
Site Admin
Site Admin
Posts: 5456
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: printing-3.2 for porteus 3.2

Post#99 by brokenman » 20 Nov 2016, 15:10

pauleus the address should be: http://localhost:631/admin

EDIT:
So first make sure you have /dev/lp0 and cups is started.
chmod +x /etc/rc.d/rc.cups*
/etc/rc.d/rc.cups* start
Then navigate to: http://localhost:631/admin in a browser
How do i become super user?
Wear your underpants on the outside and put on a cape.

User avatar
Blaze
Moderator
Moderator
Posts: 1386
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus 3.2 Cinnamon x86_64
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Re: printing-3.2 for porteus 3.2

Post#100 by Blaze » 20 Nov 2016, 16:00

Ed_P, seems I found how to fix this error

Code: Select all

The printer's state message is: 'File "/usr/lib/cups/filter/bannertopdf: insecure file permissions (0100755/uid=1000/gid=100).'.
Before :wall: :wall: :wall:

Code: Select all

root@porteus:/home/guest# ls -l /home/guest/Загрузки/07-printing-x86_64-20.11.2016/usr/lib64/cups/filter
итого 1596
-rwxr-xr-x 1 guest users  44056 июн 23 06:25 bannertopdf*
-rwxr-xr-x 1 guest users   1907 июн 23 06:25 brftoembosser*
-rwxr-xr-x 1 guest users   7544 фев  3  2016 commandtocanon*
-rwxr-xr-x 1 guest users   7784 фев  3  2016 commandtoepson*
-rwxr-xr-x 1 guest users  10384 июн 23 06:25 commandtoescpx*
-rwxr-xr-x 1 guest users  10360 июн 23 06:25 commandtopclx*
lrwxrwxrwx 1 guest users     21 ноя 20 12:03 foomatic-rip -> /usr/bin/foomatic-rip
-rwxr-xr-x 1 guest users 215964 сен 27 16:45 foomatic-rip-hplip*
-rwxr-xr-x 1 guest users   8342 июн 23 06:25 gstopxl*
-rwxr-xr-x 1 guest users  23016 июн 23 06:25 gstoraster*
-rwxr-xr-x 1 guest users 387984 сен 27 16:46 hpcups*
-rwxr-xr-x 1 guest users  26944 сен 27 16:46 hpcupsfax*
-rwxr-xr-x 1 guest users  13831 сен 27 16:45 hpps*
-rwxr-xr-x 1 guest users   2900 июн 23 06:25 imagetobrf*
-rwxr-xr-x 1 guest users  39472 июн 23 06:25 imagetopdf*
-rwxr-xr-x 1 guest users    978 июн 23 06:25 imagetops*
-rwxr-xr-x 1 guest users  53104 июн 23 06:25 imagetoraster*
lrwxrwxrwx 1 guest users     10 ноя 20 12:03 imagetoubrl -> imagetobrf*
-rwxr-xr-x 1 guest users   6580 июн 23 06:25 imageubrltoindexv3*
-rwxr-xr-x 1 guest users   6650 июн 23 06:25 imageubrltoindexv4*
-rwxr-xr-x 1 guest users  23184 июн 23 06:25 pdftoijs*
-rwxr-xr-x 1 guest users 139096 июн 23 06:25 pdftoopvp*
-rwxr-xr-x 1 guest users 155096 июн 23 06:25 pdftopdf*
-rwxr-xr-x 1 guest users  39768 июн 23 06:25 pdftops*
-rwxr-xr-x 1 guest users  35656 июн 23 06:25 pdftoraster*
-rwxr-xr-x 1 guest users   7491 июн 23 06:25 pstopdf*
-rwxr-xr-x 1 guest users   1064 сен 27 16:46 pstotiff*
-rwxr-xr-x 1 guest users  31176 июн 23 06:25 rastertoescpx*
-rwxr-xr-x 1 guest users  42800 фев  3  2016 rastertogutenprint.5.2*
-rwxr-xr-x 1 guest users  35312 июн 23 06:25 rastertopclx*
-rwxr-xr-x 1 guest users  68568 июн 23 06:25 rastertopdf*
-rwxr-xr-x 1 guest users  27224 июн 23 06:25 sys5ippprinter*
-rwxr-xr-x 1 guest users   3111 июн 23 06:25 textbrftoindexv3*
lrwxrwxrwx 1 guest users     16 ноя 20 12:03 textbrftoindexv4 -> textbrftoindexv3*
-rwxr-xr-x 1 guest users   3560 июн 23 06:25 textonly*
-rwxr-xr-x 1 guest users   5298 июн 23 06:25 texttobrf*
-rwxr-xr-x 1 guest users  46960 июн 23 06:25 texttopdf*
-rwxr-xr-x 1 guest users    972 июн 23 06:25 texttops*
-rwxr-xr-x 1 guest users  43656 июн 23 06:25 urftopdf*
root@porteus:/home/guest#
I changed owner on the 'root' with the group 'root' via chown -R root:root /usr/lib64/cups/filter

Code: Select all

chown -R root:root /home/guest/Загрузки/07-printing-x86_64-20.11.2016/usr/lib64/cups/filter
After

Code: Select all

root@porteus:/home/guest# ls -l /home/guest/Загрузки/07-printing-x86_64-20.11.2016/usr/lib64/cups/filter
итого 1596
-rwxr-xr-x 1 root root  44056 июн 23 06:25 bannertopdf*
-rwxr-xr-x 1 root root   1907 июн 23 06:25 brftoembosser*
-rwxr-xr-x 1 root root   7544 фев  3  2016 commandtocanon*
-rwxr-xr-x 1 root root   7784 фев  3  2016 commandtoepson*
-rwxr-xr-x 1 root root  10384 июн 23 06:25 commandtoescpx*
-rwxr-xr-x 1 root root  10360 июн 23 06:25 commandtopclx*
lrwxrwxrwx 1 root root     21 ноя 20 12:03 foomatic-rip -> /usr/bin/foomatic-rip
-rwxr-xr-x 1 root root 215964 сен 27 16:45 foomatic-rip-hplip*
-rwxr-xr-x 1 root root   8342 июн 23 06:25 gstopxl*
-rwxr-xr-x 1 root root  23016 июн 23 06:25 gstoraster*
-rwxr-xr-x 1 root root 387984 сен 27 16:46 hpcups*
-rwxr-xr-x 1 root root  26944 сен 27 16:46 hpcupsfax*
-rwxr-xr-x 1 root root  13831 сен 27 16:45 hpps*
-rwxr-xr-x 1 root root   2900 июн 23 06:25 imagetobrf*
-rwxr-xr-x 1 root root  39472 июн 23 06:25 imagetopdf*
-rwxr-xr-x 1 root root    978 июн 23 06:25 imagetops*
-rwxr-xr-x 1 root root  53104 июн 23 06:25 imagetoraster*
lrwxrwxrwx 1 root root     10 ноя 20 12:03 imagetoubrl -> imagetobrf*
-rwxr-xr-x 1 root root   6580 июн 23 06:25 imageubrltoindexv3*
-rwxr-xr-x 1 root root   6650 июн 23 06:25 imageubrltoindexv4*
-rwxr-xr-x 1 root root  23184 июн 23 06:25 pdftoijs*
-rwxr-xr-x 1 root root 139096 июн 23 06:25 pdftoopvp*
-rwxr-xr-x 1 root root 155096 июн 23 06:25 pdftopdf*
-rwxr-xr-x 1 root root  39768 июн 23 06:25 pdftops*
-rwxr-xr-x 1 root root  35656 июн 23 06:25 pdftoraster*
-rwxr-xr-x 1 root root   7491 июн 23 06:25 pstopdf*
-rwxr-xr-x 1 root root   1064 сен 27 16:46 pstotiff*
-rwxr-xr-x 1 root root  31176 июн 23 06:25 rastertoescpx*
-rwxr-xr-x 1 root root  42800 фев  3  2016 rastertogutenprint.5.2*
-rwxr-xr-x 1 root root  35312 июн 23 06:25 rastertopclx*
-rwxr-xr-x 1 root root  68568 июн 23 06:25 rastertopdf*
-rwxr-xr-x 1 root root  27224 июн 23 06:25 sys5ippprinter*
-rwxr-xr-x 1 root root   3111 июн 23 06:25 textbrftoindexv3*
lrwxrwxrwx 1 root root     16 ноя 20 12:03 textbrftoindexv4 -> textbrftoindexv3*
-rwxr-xr-x 1 root root   3560 июн 23 06:25 textonly*
-rwxr-xr-x 1 root root   5298 июн 23 06:25 texttobrf*
-rwxr-xr-x 1 root root  46960 июн 23 06:25 texttopdf*
-rwxr-xr-x 1 root root    972 июн 23 06:25 texttops*
-rwxr-xr-x 1 root root  43656 июн 23 06:25 urftopdf*
root@porteus:/home/guest#
07-printing-x86_64-20.11.2016.xzm (Repack)
Then, usm -g cups and check backends in /usr/lib/cups/backend
but parallel is not there.

Code: Select all

root@porteus:/home/guest# find /home/guest/Загрузки/07-printing-x86_64-20.11.2016/usr/lib64/cups/backend/ -iname *parallel*
/home/guest/Загрузки/07-printing-x86_64-20.11.2016/usr/lib64/cups/backend/parallel
root@porteus:/home/guest# 
Linux porteus 4.12.7-porteus #1 SMP PREEMPT Sun Aug 13 17:38:30 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
Ed_P
Contributor
Contributor
Posts: 3161
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 3.2.2 64-bit ISO
Location: Western NY, USA

Re: printing-3.2 for porteus 3.2

Post#101 by Ed_P » 20 Nov 2016, 18:30

With the 18-10 module I get this when I click on Print Settings' Add option:
Image
Automatically. I click on the top entry and I'm done. With the others I have to manually enter the IP address and manually select the brand and manually select the model and etc. This one works IMO as it should. Image

And it works in Always Fresh mode.
Image
Blaze wrote:07-printing-x86_64-20.11.2016.xzm (Repack)
Then, usm -g cups and check backends in /usr/lib/cups/backend
but parallel is not there.

Code: Select all

root@porteus:/home/guest# find /home/guest/Загрузки/07-printing-x86_64-20.11.2016/usr/lib64/cups/backend/ -iname *parallel*
/home/guest/Загрузки/07-printing-x86_64-20.11.2016/usr/lib64/cups/backend/parallel
root@porteus:/home/guest# 
I will try this one later. :)

-update-

Same cups-insecure-filter error.

Code: Select all

guest@porteus:~$ ls -h  /usr/lib/cups/backend
/bin/ls: cannot access '/usr/lib/cups/backend': No such file or directory
guest@porteus:~$ ls -h  /usr/lib/cups/
/bin/ls: cannot access '/usr/lib/cups/': No such file or directory
guest@porteus:~$ ls -h  /usr/lib/
NetworkManager/                       librokenman
bjlib/                                macroport
cinnamon-control-center-1/            mozilla/
iscan-data/                           pkgconfig/
kde4/                                 polkit-1/
libcinnamon-control-center.so@        rpm/
libcinnamon-control-center.so.1@      siconv/
libcinnamon-control-center.so.1.0.0*  systemd/
libcncpmslld2.so.3.0.0                udev/
libcncpnet2.so.1.2.3                  udisks2/
guest@porteus:~$ 



-off topic-

Is there a Porteus utility for editing pictures? Simple selecting and cropping type stuff not looking for a Photoshop app.
Ed

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

Re: printing-3.2 for porteus 3.2

Post#102 by francois » 20 Nov 2016, 19:00

@paulus:
Have you look at log files in /var/log/cups/? What is the output?
Voltaire: Le mieux est l'ennemi du bien.

donald
Full of knowledge
Full of knowledge
Posts: 1161
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

Re: printing-3.2 for porteus 3.2

Post#103 by donald » 20 Nov 2016, 21:34

Hi Ed
Ed_P wrote: -off topic-

Is there a Porteus utility for editing pictures? Simple selecting and cropping type stuff not looking for a Photoshop app.
There is mtpaint
Image
It is only 480 kB, spits no Errors (afaics) in XFCE....

User avatar
Ed_P
Contributor
Contributor
Posts: 3161
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 3.2.2 64-bit ISO
Location: Western NY, USA

Re: printing-3.2 for porteus 3.2

Post#104 by Ed_P » 20 Nov 2016, 22:43

donald wrote:There is mtpaint
Image
It is only 480 kB, spits no Errors (afaics) in XFCE....
Thanks donald I will check it out.
Ed

pauleus
White ninja
White ninja
Posts: 10
Joined: 17 Nov 2016, 03:50
Distribution: Mint
Location: US

Re: printing-3.2 for porteus 3.2

Post#105 by pauleus » 21 Nov 2016, 02:48

brokenman wrote:pauleus the address should be: http://localhost:631/admin

EDIT:
So first make sure you have /dev/lp0 and cups is started.
chmod +x /etc/rc.d/rc.cups*
/etc/rc.d/rc.cups* start
Then navigate to: http://localhost:631/admin in a browser
Yes, this is better! I get Add Printer in there now, but no LPT1 to configure still.
So I check what francois say: /var/log/cups

In error_log I have:

E [20/Nov/2016:21:59:25 +0000] [CGI] File \"/usr/lib/cups/backend/parallel\" has insecure permissions (0100755/uid=1000/gid=100).

I look and see him guest:users while others root:root, so I make him root:root.

Still no print, but now I get:

E [20/Nov/2016:22:12:43 +0000] HPLJ4: File \"/usr/lib/cups/filter/pdftopdf\" has insecure permissions (0100755/uid=1000/gid=100).

Same thing, make it root:root too in /usr/lib/cups/filter. gstoraster and rastertogutenprint also.

Ahoy! It's alive! So we got permission problems in things. With fix, print OK. :Yahoo!:

Post Reply