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-lite for porteus 3.2

Post#16 by francois » 25 Sep 2016, 14:49

@mate users:
1.0 To get access to cups for now:
http://localhost:631/admin/

2.0 print settings or system-config-printer command line Bug confirmed

Code: Select all

guest@porteus:~$ system-config-printer
Traceback (most recent call last):
  File "/usr/share/system-config-printer/system-config-printer.py", line 56, in <module>
    import cups
ImportError: No module named cups
Some basic packages for system-config-printer missing on mate compared to kde5. At least:
-notify-python
-pycups
-pycurl

They will be added to printing module soon.

3.0 Please use both printing-3.2-lite-drivers and printing-3.2-lite-drivers
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-lite for porteus 3.2

Post#17 by Blaze » 25 Sep 2016, 14:59

francois wrote:Do you have printing-3.2-lite module and printing-3.2-lite-drivers module?
Yes, I have it and all modules is active.

I've never scanned in Porteus. I decided to try to scan (sporting interest).
Are you able to print?
No, because I threw my printer in the trash :)
francois wrote:Maybe:
http://crunchbang.org/forums/viewtopic.php?id=18403

Code: Select all

chmod a+w /dev/bus/usb/001/002
and/or

panel menu > graphic > simple scan
Then set the preferences to your scanner the epson before scanning

Code: Select all

root@blaze:~# lsusb
Bus 004 Device 001: ID 1d6b:0003  
Bus 003 Device 001: ID 1d6b:0002  
Bus 002 Device 001: ID 1d6b:0003  
Bus 001 Device 004: ID 04b8:0120  
Bus 001 Device 003: ID 046d:c328  
Bus 001 Device 002: ID 0458:003a  
Bus 001 Device 001: ID 1d6b:0002  
root@blaze:~# chmod a+w /dev/bus/usb/001/004
root@blaze:~#
It does not helped me. 1st scan list with artifacts. If I scan a second list, indicator lamp of scanner lights red and scanner goes down.

Image
Image
Image
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-lite for porteus 3.2

Post#18 by francois » 26 Sep 2016, 02:22

@blaze:
Have you tried with ahau's 07-printing.xzm (printing-old.xzm) adapted for porteus 3.2:
https://www.mediafire.com/?hidgqu6hib345
Prendre son temps, profiter de celui qui passe.

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
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#19 by Ed_P » 26 Sep 2016, 03:58

francois wrote: 3.0 Please use both printing-3.2-lite-drivers and printing-3.2-lite-drivers
Currently using the 2 files:

Code: Select all

guest@porteus:~$ ls /mnt/live/memory/images/ | grep print
printing-3.2-lite-drivers.xzm/
printing-3.2-lite.xzm/
guest@porteus:~$ system-config-printer
Traceback (most recent call last):
  File "/usr/share/system-config-printer/system-config-printer.py", line 56, in <module>
    import cups
ImportError: No module named cups

guest@porteus:~$ su
Password: 
root@porteus:/home/guest# system-config-printer
Traceback (most recent call last):
  File "/usr/share/system-config-printer/system-config-printer.py", line 56, in <module>
    import cups
ImportError: No module named cups
root@porteus:/home/guest# 
And the Add Printer function still shows 12 models but none for Officejet.
francois wrote:@blaze:
Have you tried with ahau's 07-printing.xzm adapted for porteus 3.2:
https://www.mediafire.com/?hidgqu6hib345
I don't see a 07-printing.xzm file on that link.
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-lite for porteus 3.2

Post#20 by francois » 27 Sep 2016, 02:44

07-printing.xzm is printing-old.xzm.

Please add gutenprint package with usm. Tell me if it is any better thru CUPS interface. Print settings under mate is missing libraries that are there under the KDE5.

I thought that the most recent version of cups would have been more complete concerning the printer coverage. This is why I need testers with different printers so that I can compare database. I only have brother and epson printers.

I will come up with a revised more extensive and unified printer package (only one printer package instead of separate drivers and cups-sytem-config-simple scan, this weekend.
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-lite for porteus 3.2

Post#21 by Blaze » 27 Sep 2016, 15:36

printing-old.xzm have a size 22 byte.
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: printing-3.2-lite for porteus 3.2

Post#22 by brokenman » 28 Sep 2016, 15:54

I suggest doing all print testing on xfce. This way the final module will contain EVERYTHING required for all desktops. Thanks for your help Francois, it helps a lot as this is quite an extensive task.
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-lite for porteus 3.2

Post#23 by francois » 28 Sep 2016, 16:04

Thanks brokenman. This tip is really helpful to me. :)
Prendre son temps, profiter de celui qui passe.

kocickamia
White ninja
White ninja
Posts: 9
Joined: 18 Sep 2016, 20:44
Distribution: Porteus LXQt
Location: Czech Republic

Re: printing-3.2-lite for porteus 3.2

Post#24 by kocickamia » 01 Oct 2016, 12:39

Will be module for 32bit Porteus 3.2?

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
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#25 by Ed_P » 01 Oct 2016, 18:16

Blaze wrote:printing-old.xzm have a size 22 byte.
printing-old.xzm doesn't exist at this point. :(
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-lite for porteus 3.2

Post#26 by francois » 04 Oct 2016, 00:23

Sorry for printing-old.xzm mediafire would not load the module. Too big. In fact, printing-old.xzm is 07-printing.xzm of porteus 3.1.

Concerning 32 bit architecture, I am trying to built the 64 bit first.

Sorry for this weekend, too much job on the work bench, I was not able to work even a minute. And for the next two weeks I will be out. :(
Prendre son temps, profiter de celui qui passe.

kocickamia
White ninja
White ninja
Posts: 9
Joined: 18 Sep 2016, 20:44
Distribution: Porteus LXQt
Location: Czech Republic

Re: printing-3.2-lite for porteus 3.2

Post#27 by kocickamia » 04 Oct 2016, 19:35

Tried to use old 07-printing.xzm plus my module for Xerox-3010. It works, but i must set some printer settings, else print the same page again and again.

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
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#28 by Ed_P » 05 Oct 2016, 17:50

francois wrote: In fact, printing-old.xzm is 07-printing.xzm of porteus 3.1.
That works for me. HP Officejet Pro 8600.

Do I need to keep your two printing-3.2-lite modules when using the 3.1 print module?

The Manage Print item in the Administration menu still doesn't work. It goes to http://localhost:631. I'd recommend it going to http://localhost:631/printers/. Can I change that myself?
Ed

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-lite for porteus 3.2

Post#29 by Blaze » 05 Oct 2016, 19:57

Ed_P wrote:The Manage Print item in the Administration menu still doesn't work. It goes to http://localhost:631. I'd recommend it going to http://localhost:631/printers/. Can I change that myself?
Of course :)

Code: Select all

su
toor
sed -i 's|localhost:631|localhost:631/printers|g' /usr/share/applications/cups.desktop
If you want, you can change it manually via mousepad.

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.
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: 8341
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#30 by Ed_P » 06 Oct 2016, 05:33

Blaze wrote:If you want, you can change it manually via mousepad.

Open /usr/share/applications/cups.desktop with mousepad
Thanks Blaze but actually I can't. If I try mousepad doesn't find it. If I try with Nemo it doesn't show it, even with Hidden files set to show.

In /usr/share/applications/ using Nemo I see:

HP Device Manager
Manage Printing
Print Queue Applet
Print Settings

I'll experiment changing them one by one and see what happens. :)

Thanks for pointing me to the right directory. :good:


-update-

:shock:

The Manage Printing file

Code: Select all

[Desktop Entry]
Categories=System;Printing;HardwareSettings;X-Red-Hat-Base;
Exec=/usr/bin/xdg-open http://localhost:631/printers/
Icon=cups
StartupNotify=false
Terminal=false
Type=Application
Name=Manage Printing
Comment=CUPS Web Interface
 :
 :
 :
AND the Mousepad windows's title is:

Code: Select all

CUPS.desktop
So I think I found the CUPS file you were referring to. :Yahoo!:

:beer:
Ed

Post Reply