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
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.

printing-3.2 for porteus 3.2

Post#1 by francois » 24 Sep 2016, 03:29

Please test the following package:
As of the 21rst of november 2016. Packages built-up by blaze:
07-printing-i586-21.11.2016.xzm

07-printing-x86_64-21.11.2016.xzm

1.0 Functionality.
It should work as is, but if your printer is not there start a new link in the development section. with the model of your printer or scanner. This will facilitate the troubleshooting of your device, printer or scanner.

The exception being the KDE5 plasma desktop which will require additional packages according to blaze:
python-2.7.11-x86_64-2.txz, pygtk-2.24.0-x86_64-2.txz and dbus-python-1.2.4-x86_64-1.txz

Other methods for installing your device, if your driver is not included. You do need the printing module for the interface of CUPS, system-config-printer or simple-scan:
2.1 Use the generic drivers. Try them or find a reference of a generic driver for your printer. For most recent printers PCL laser seems to work.
2.1 the ppd method:
Printing under Porteus: summary of problems and solutions
2.3 with the openprinting drivers:
http://www.openprinting.org/printers

TABLE OF WORKING PRINTERS AND DEVICES WITH printing-3.2 MODULE

make model printer scanner additonal note

Brother MFC 7860-DW yes yes scanner installed with brother special procedure https://forum.porteus.org/viewtopic.php?f=39&t=1336
Brother DCP-7020 yes no
HP Officejet Pro 8600 yes ?



Knows bugs:


Feedback more than appreciated. :)

Thanks.
Voltaire: Le mieux est l'ennemi du bien.

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

Re: printing-3.2-lite for porteus 3.2

Post#2 by Ed_P » 24 Sep 2016, 05:13

francois wrote:Please test the following package. A lot of printer drivers are included. However, if some are missing they will come soon.

1.0 printing-3.2-lite module: cups, print setup and scanner
https://www.mediafire.com/?hidgqu6hib345
Downloaded and activated printing-3.2-lite.xzm. From Porteus Administration Manage Printing menu got:

Code: Select all

Not Found - CUPS v2.1.4
http://localhost:631/

Not Found
Printer is an HP on a wireless network.

Under Porteus 3.0.1's menu Preferences Print Settings I see:

Code: Select all

Print Settings - localhost

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

Post#3 by francois » 24 Sep 2016, 11:48

What is your desktop environment under rc5. 1.0 Please start server (my fault, will be fixed next version of module) try:

Code: Select all

su
toor
cupsd
2.0 There is a bug with the installation in the panel menu of cups (see end of first post). Did you try:
If you get some problem to start cups in browser double click here:
http://localhost:631/admin/

Please click on http://localhost:631/admin/ in this page of the forum.

3.0 If you do not find your printer, please add the second module printing-3.2-lite-drivers. But report that you did not found your printer.

Thanks a lot for testing. :)
Voltaire: Le mieux est l'ennemi du bien.

Jack
Contributor
Contributor
Posts: 1063
Joined: 09 Aug 2013, 14:25
Distribution: Porteus 3.2.rc5 Mate 64 bit
Location: Marysville, OHIO USA

Re: printing-3.2-lite for porteus 3.2

Post#4 by Jack » 24 Sep 2016, 15:27

Downloaded and activated printing-3.2-lite.xzm. From Porteus Administration Manage Printing menu got:

Code: Select all

Not Found - CUPS v2.1.4
    http://localhost:631/

    Not Found
In Mate rc5 Cups is not in the packages list. So that means it is not in any modules, there could be other missing to.
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.

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

Post#5 by francois » 24 Sep 2016, 15:34

@jack:
Have you loaded the module? Please xzm2dir and check /printing-3.2-lite/var/log/packages

I have verified downloading from mediafire and they are there.

Click on the following link and report:
http://localhost:631/admin/

Thanks.
Voltaire: Le mieux est l'ennemi du bien.

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

Re: printing-3.2-lite for porteus 3.2

Post#6 by Blaze » 24 Sep 2016, 17:22

Epson Perfection 1270 scanner does not work for me.

I copied firmware esfw3e.bin from Epson Perfection 1270 to /usr/share/sane/snapscan

Opened /etc/sane.d/snapscan.conf

found

Code: Select all

firmware /usr/share/sane/snapscan/your-firmwarefile.bin
replace with

Code: Select all

firmware /usr/share/sane/snapscan/esfw3e.bin
according to a command

Code: Select all

sane-find-scanner
I received this

Code: Select all

found USB scanner (vendor=0x04b8 [EPSON], product=0x0120 [EPSON Scanner]) at libusb:001:002
and I added this to the end of the /etc/sane.d/snapscan.conf file

Code: Select all

# Epson Perfection 1270
usb 0x04b8 0x0120
I turn off and poweron my scanner and checked status of scanner via command

Code: Select all

scanimage -L
I received this

Code: Select all

device `snapscan:libusb:001:005' is a EPSON EPSON Scanner flatbed scanner
Seems all ok.

I tried to run simple-scan, but I don't have success in it.

Code: Select all

root@blaze:~# simple-scan

(simple-scan:2675): Gdk-WARNING **: gdk_window_set_icon_list: icons too large
[snapscan] Scanner warming up - waiting 6 seconds.

** (simple-scan:2675): WARNING **: Unable to start device: Error during device I/O
Error segmentation
root@blaze:~#
Epic fail of my story :)

BTW, VueScan is working for me. But this program is shareware (not free).
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
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-lite for porteus 3.2

Post#7 by francois » 24 Sep 2016, 21:07

@blaze:
Do you have printing-3.2-lite module and printing-3.2-lite-drivers module (additional drivers from ahau)? I have the impression that in this last module was the place where he tweaked scanners.

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

Are you able to print?
Voltaire: Le mieux est l'ennemi du bien.

Jack
Contributor
Contributor
Posts: 1063
Joined: 09 Aug 2013, 14:25
Distribution: Porteus 3.2.rc5 Mate 64 bit
Location: Marysville, OHIO USA

Re: printing-3.2-lite for porteus 3.2

Post#8 by Jack » 24 Sep 2016, 23:11

Simple scan won't work it looking for this. I'm using Mate x86_64 rc5.

Code: Select all

guest@porteus:~$ simple-scan
simple-scan: error while loading shared libraries: libieee1284.so.3: cannot open shared object file: No such file or directory
guest@porteus:~$ 
Can't check printer cause I don't have any.
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.

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

Post#9 by francois » 25 Sep 2016, 00:27

@jack:
Minimally, you need a scanner or printer/scanner and its driver to test it.
My brother printer MFC 7860-dw scanning function works fine. But I was not able to set a brother DCP-7020.
Voltaire: Le mieux est l'ennemi du bien.

Jack
Contributor
Contributor
Posts: 1063
Joined: 09 Aug 2013, 14:25
Distribution: Porteus 3.2.rc5 Mate 64 bit
Location: Marysville, OHIO USA

Re: printing-3.2-lite for porteus 3.2

Post#10 by Jack » 25 Sep 2016, 01:46

francois wrote:@jack:
Minimally, you need a scanner or printer/scanner and its driver to test it.
My brother printer MFC 7860-dw scanning function works fine. But I was not able to set a brother DCP-7020.
I do have a stand alone scanner. It meant there was libieee1284.so.3 missing. I will try and see what else is missing.
EDIT:
And I found this one too.

Code: Select all

guest@porteus:~$ simple-scan
simple-scan: error while loading shared libraries: libieee1284.so.3: cannot open shared object file: No such file or directory
guest@porteus:~$ simple-scan
simple-scan: error while loading shared libraries: libgphoto2.so.6: cannot open shared object file: No such file or directory
guest@porteus:~$ simple-scan
process 22526: arguments to dbus_message_iter_append_basic() were incorrect, assertion "_dbus_check_is_valid_utf8 (*string_p)" failed in file dbus-message.c line 2749.
This is normally a bug in some application using the D-Bus library.
  D-Bus not built with -rdynamic so unable to print a backtrace
Aborted
guest@porteus:~$ 
It needed libieee1284-0.2.11-x86_64-3.txz and libgphoto2-2.5.10-x86_64-1.txz.
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.

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

Re: printing-3.2-lite for porteus 3.2

Post#11 by Ed_P » 25 Sep 2016, 03:28

francois wrote:What is your desktop environment under rc5. 1.0 Please start server (my fault, will be fixed next version of module) try:

Code: Select all

su
toor
cupsd
Sorry. Cinnamon 3.2rc5 64-bit

Code: Select all

guest@porteus:~$ su
Password: 
root@porteus:/home/guest# cupsd
root@porteus:/home/guest# 
2.0 There is a bug with the installation in the panel menu of cups (see end of first post). Did you try:
If you get some problem to start cups in browser double click here:
http://localhost:631/admin/

Please click on http://localhost:631/admin/ in this page of the forum.
Yes, I forgot to do this. :oops:
http://localhost:631/admin wrote: List Available Printers
Available Printers

No printers found.
CUPS and the CUPS logo are trademarks of Apple Inc.
3.0 If you do not find your printer, please add the second module printing-3.2-lite-drivers. But report that you did not found your printer.
Ok. Will do.
Thanks a lot for testing. :)
Thank you for developing. :)
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-lite for porteus 3.2

Post#12 by francois » 25 Sep 2016, 03:38

@jack:
printing-3.2-lite-drivers should contain libieee1284

Did you try printing-3.2-lite-drivers module? If so, please continue your research.

Where you able to scan with ahau`s 07-printing.xzm from porteus 3.1? It should work under porteus 3.2, but cups is an older version.
Voltaire: Le mieux est l'ennemi du bien.

Jack
Contributor
Contributor
Posts: 1063
Joined: 09 Aug 2013, 14:25
Distribution: Porteus 3.2.rc5 Mate 64 bit
Location: Marysville, OHIO USA

Re: printing-3.2-lite for porteus 3.2

Post#13 by Jack » 25 Sep 2016, 03:53

francois wrote:printing-3.2-lite-drivers should contain libieee1284
I just did a xzm2dir and here is the output.

Code: Select all

colord-1.2.12-x86_64-1gv
cups-2.1.4-x86_64-1
cups-filters-1.9.0-x86_64-2
dconf-0.24.0-x86_64-1
gtk+3-3.18.9-x86_64-1
libgusb-0.2.8-x86_64-1gv
poppler-0.45.0-x86_64-1
python-2.7.11-x86_64-2
qpdf-6.0.0-x86_64-1
sane-1.0.25-x86_64-2
simple-scan-2.32.0.2-x86_64-2gv
system-config-printer-1.3.13-x86_64-2
or here.

Code: Select all

bjfilter-common-2.50-3.i386
bjfilter-pixmaip1500-2.50-10.4.i586
bjfilter-pixmaip1500-lprng-2.50-10.4.i586
brscan2-0.2.5-1.amd64
brscan3-0.2.11-5.amd64
brscan4-0.4.3-3.x86_64
cupswrapperMFC7860DW-2.0.4-2.i386
mfc7860dwlpr-2.1.0-1.i386
And those 2 were not there.

And for Mate it will need these modules too. That is for system-config-printer.

Code: Select all

ghostscript-9.19-x86_64-2.xzm*   
notify-python-0.1.1-x86_64-5.xzm*  
pycurl-7.43.0-x86_64-1.xzm*
gutenprint-5.2.11-x86_64-2.xzm*  
pycups-1.9.73-x86_64-1.xzm*
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.

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

Re: printing-3.2-lite for porteus 3.2

Post#14 by Ed_P » 25 Sep 2016, 05:03

I need to update my prior reply.

Manage printers
http://localhost:631/printers/ wrote:Printers

Search in Printers:

No printers.
CUPS and the CUPS logo are trademarks of Apple Inc.
Find new printers
http://localhost:631/admin/ wrote:List Available Printers
Available Printers

HP Officejet Pro 8600 (Officejet Pro 8600 N911a)

CUPS and the CUPS logo are trademarks of Apple Inc.
:shock: :good:
And this is without the drivers-lite module. :Yahoo!:

Code: Select all

guest@porteus:~$ ls /mnt/live/memory/images/ | grep print
printing-3.2-lite.xzm/
guest@porteus:~$
In downloading the driver lite module I noticed the date on the print module was newer so I redownloaded it also.

But....

In adding the printer the Add Printer page lists many models but doesn't list the model I have. :(
http://localhost:631/admin wrote:Add Printer
Name: Officejet_Pro_8600_N911a
Description: HP Officejet Pro 8600
Location: Local Printer
Connection: socket://192.168.200.190:9100
Sharing: Do Not Share This Printer
Make: HP
Model: HP Designjet ......, Laserjet ...... (en) - 12 models listed but no Officejet models
Or Provide a PPD File:
Would adding the drivers module resolve this?
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-lite for porteus 3.2

Post#15 by francois » 25 Sep 2016, 11:38

@Ed:
I would say that hplip alone should do it:

Code: Select all

usm -g hplip
but the printing-3.2-lite-drivers module includes hplip if you prefer, its just loaded with a lot of other drivers. I would appreciate that you try both solutions and report.

You can try cups, but also print settings (system-config-printer).

Thanks.
Voltaire: Le mieux est l'ennemi du bien.

Post Reply