Page 2 of 15

Re: printing-3.2-lite for porteus 3.2

Posted: 25 Sep 2016, 14:49
by francois
@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

Re: printing-3.2-lite for porteus 3.2

Posted: 25 Sep 2016, 14:59
by Blaze
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

Re: printing-3.2-lite for porteus 3.2

Posted: 26 Sep 2016, 02:22
by francois
@blaze:
Have you tried with ahau's 07-printing.xzm (printing-old.xzm) adapted for porteus 3.2:
https://www.mediafire.com/?hidgqu6hib345

Re: printing-3.2-lite for porteus 3.2

Posted: 26 Sep 2016, 03:58
by Ed_P
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.

Re: printing-3.2-lite for porteus 3.2

Posted: 27 Sep 2016, 02:44
by francois
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.

Re: printing-3.2-lite for porteus 3.2

Posted: 27 Sep 2016, 15:36
by Blaze
printing-old.xzm have a size 22 byte.

Re: printing-3.2-lite for porteus 3.2

Posted: 28 Sep 2016, 15:54
by brokenman
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.

Re: printing-3.2-lite for porteus 3.2

Posted: 28 Sep 2016, 16:04
by francois
Thanks brokenman. This tip is really helpful to me. :)

Re: printing-3.2-lite for porteus 3.2

Posted: 01 Oct 2016, 12:39
by kocickamia
Will be module for 32bit Porteus 3.2?

Re: printing-3.2-lite for porteus 3.2

Posted: 01 Oct 2016, 18:16
by Ed_P
Blaze wrote:printing-old.xzm have a size 22 byte.
printing-old.xzm doesn't exist at this point. :(

Re: printing-3.2-lite for porteus 3.2

Posted: 04 Oct 2016, 00:23
by francois
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. :(

Re: printing-3.2-lite for porteus 3.2

Posted: 04 Oct 2016, 19:35
by kocickamia
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.

Re: printing-3.2-lite for porteus 3.2

Posted: 05 Oct 2016, 17:50
by Ed_P
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?

Re: printing-3.2-lite for porteus 3.2

Posted: 05 Oct 2016, 19:57
by Blaze
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.

Re: printing-3.2-lite for porteus 3.2

Posted: 06 Oct 2016, 05:33
by Ed_P
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: