Print and scan module for Porteus 2.1

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
Ahau
King of Docs
King of Docs
Posts: 1331
Joined: 28 Dec 2010, 15:18
Distribution: LXDE & Xfce 32/64-bit
Location: USA

Re: Print and scan module for Porteus 2.1

Post#16 by Ahau » 10 Jul 2013, 00:25

Yes, there is. You can pull it through the wizard or manually through dl.porteus.org, e.g. http://dl.porteus.org/x86_64/testing/Po ... 2/modules/

a bugfix or two, added Epson inkjet drivers, brother ppd's, not a lot else. Am working on brscan but not sure how to handle the udev rules and running setup scripts yet.
Please take a look at our online documentation, here. Suggestions are welcome!

User avatar
francois
Contributor
Contributor
Posts: 6445
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: Print and scan module for Porteus 2.1

Post#17 by francois » 10 Jul 2013, 00:51

Under mate rc2 32 bit, root mode, downloading from the link you provided:
System > administration > printing
and
System > administration > manage printing

Do not work.

Sorry. :(
Prendre son temps, profiter de celui qui passe.

User avatar
Ahau
King of Docs
King of Docs
Posts: 1331
Joined: 28 Dec 2010, 15:18
Distribution: LXDE & Xfce 32/64-bit
Location: USA

Re: Print and scan module for Porteus 2.1

Post#18 by Ahau » 10 Jul 2013, 05:18

Sorry for being so vague; the link I provided was for the 64-bit version. Go up from there into the i486 section and grab the module there.
Please take a look at our online documentation, here. Suggestions are welcome!

User avatar
francois
Contributor
Contributor
Posts: 6445
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: Print and scan module for Porteus 2.1

Post#19 by francois » 10 Jul 2013, 11:01

Sorry Ahau. You were as usual concise. I need to be more focus.
Prendre son temps, profiter de celui qui passe.

User avatar
Ahau
King of Docs
King of Docs
Posts: 1331
Joined: 28 Dec 2010, 15:18
Distribution: LXDE & Xfce 32/64-bit
Location: USA

Re: Print and scan module for Porteus 2.1

Post#20 by Ahau » 10 Jul 2013, 13:57

Nah, I should have posted links to both locations, but was lazy and posting from my phone :) Anyway, I think I've found a solution for the brother scanner udev rules -- the brother website actually has an .rpm and .deb file that contain generic udev rules for all brother scanners, whereas the article you linked to previously had a udev rule that was specific to the model. I didn't want to modify that rule to apply to all brother scanners without knowing that it wouldn't complicate other things, so I was glad to find the rule posted on the brother website.

I've prepared some brscan modules, which I will incorporate into the printing module for 2.1 final if they seem to be working properly (or are at least helpful in some way lol):

64-bit: http://porteus-xfce.googlecode.com/file ... x86_64.xzm
32-bit: http://porteus-xfce.googlecode.com/file ... t-i486.xzm

It would probably be best to add this module (in porteus/modules) and reboot. I am hopeful that this module will support brother scanners out of the box without having to run any additional scripts or make further modifications. If it works as root, please test as guest, as there may be further tweaks to the udev rule that are needed.

Thanks!!

Also, I'm looking for some more feedback on HP printers and scanners -- I believe wread was working on some issues; I'd like to get that sorted before final as well. I had one issue pop up when I had brief access to an HP printer -- the hplip systray utility opened after logout/login and the icon was created in the middle of my desktop (using xfce) instead of inside the system tray. If anyone else can confirm that bug, I'd appreciate it, as I'm inclined to remove the systray icon from autostarting.
Please take a look at our online documentation, here. Suggestions are welcome!

User avatar
francois
Contributor
Contributor
Posts: 6445
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: Print and scan module for Porteus 2.1

Post#21 by francois » 14 Jul 2013, 20:59

Tested on brother printers:

1.0 32 bit version rc2
1.1 Under Mate:
- printing module does not seem to work. I will come back and confirm

1.2 Under xfce root mode:

1.21 MFC-7860DW (mutifunction printer) :(
Printing module will select MFC-7840W, which does not work for 7860dw. In addition, there are no functionalities to the generic (there was a toner problem). :oops: PCL 6/PCL XL printer works. In peculiar trying to install PCL laser driver, there is an error message displayed: CUPS server error ... ... `server-error internal-error`. The generic drivers are not functional. (I will have to come back on this one, as I have worked both with the KDE and XFCE etitions).

Note: Generic PCL laser printer (en) is the recommended and effective ppd or driver, it offers the duplex option (printing on both sides of pages, which is really nice). This driver is provided by config-system-printer (assembly of modules that that came from Quax-slax) without gutenprint package. I went on my porteus 2.0 installation to verify that. I can try to put the hand on the ppd for MFC-7840DW. This is the multifunction printer that I use regularly. However this will not be a big thing if you do not provide it as I know how to get it functional.

Scanner: did not select the right scanner driver which is brscan4. However, this might be due that the printer-scanner module selected the wrong printer in the first place. In addition

1.22 HL-2170W: :D
Printing module functioning perfectly. Nothing to do as it did install itself automatically when plugged without any intervention from my part.

There is no scanner on that printer device.

1.23 HP-LASERJET-3030 (multifunction printer) :D

Printing module functioning perfectly. Nothing to do as it did install itself automatically when plugged without any intervention from my part.

The scanner on that printer device work out of the box perfectly without any intervention from my part. xsane and simple-scan are both funtional. Simple scan is really simple.

Note: I experienced a major freeze of xsane after scanning about 10 sheets. Could not start any application. This happened at other times under rc2 under the hdd install with changes. I would have to work no changes to confirm this.
Last edited by francois on 17 Jul 2013, 03:35, edited 3 times in total.
Prendre son temps, profiter de celui qui passe.

User avatar
francois
Contributor
Contributor
Posts: 6445
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: Print and scan module for Porteus 2.1

Post#22 by francois » 16 Jul 2013, 10:53

As I do not have my 64 bit box at home, I will have to bring it back home to be able to test the same features. I am getting the hp printer in the shed to make some further testing.

The guest mode job will be done after then. But I imagine that you needed it only for the brother printers.
Prendre son temps, profiter de celui qui passe.

User avatar
Ahau
King of Docs
King of Docs
Posts: 1331
Joined: 28 Dec 2010, 15:18
Distribution: LXDE & Xfce 32/64-bit
Location: USA

Re: Print and scan module for Porteus 2.1

Post#23 by Ahau » 16 Jul 2013, 14:55

Thanks, francois! I appreciate your testing and attention to detail :)

If you are able to find a PPD for MFC-7840DW or can sort out what else I ought to add to get this one working out of the box, I'd be happy to add it. I'm very happy to hear of your success on the other machines!!

Regarding the system freezing, it sounds like it may or may not be related specifically to the printing and scanning software. If you experience this on a more regular basis, it may be worth testing without saved changes, and/or starting a new changes file to see if you have some conflicting files somewhere in your saved changes.
Please take a look at our online documentation, here. Suggestions are welcome!

User avatar
francois
Contributor
Contributor
Posts: 6445
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: Print and scan module for Porteus 2.1

Post#24 by francois » 17 Jul 2013, 02:24

Tested on brother and hp printers:

2.0 64 bit version rc2
2.2 Under xfce root mode:
2.21 MFC-7860DW (mutifunction printer) :D :(
Will work with generic PCL 6.
The device selected is the webcam instead of the scanner.
2.22 HL-2170W: :D
Same results as 32 bit.
2.23 HP-LASERJET-3030 (multifunction printer) :D and :(
Same results for printer as 32 bit. However, this time simple scan ans xsane not functional. For xsane error message: Failed to start scanner: Error during device I/O.
Prendre son temps, profiter de celui qui passe.

User avatar
francois
Contributor
Contributor
Posts: 6445
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: Print and scan module for Porteus 2.1

Post#25 by francois » 18 Jul 2013, 01:54

Guest mode for the hp laserjet 3030 works fine both for printing and scanning.

I cannot test your solution for brother in guest mode as brother mfc-7860dw does not work scanner wise. If I find pcl laser ppd for this printer will you able to associate the installed printer with the appropriate scanner driver? This printer works with brscan4 scanner driver.

Meanwhile are you able to say if you have the ppd for the Brother DCP-7020 (a multifunction center)? If not here is the ppd from openprinting site, the only place where I found a suitable printer for this printer:
http://www.openprinting.org/ppd-o-matic ... 020&show=0

This printer is at another house in which I will go eventually. I could test this printer for the scanning function.
Prendre son temps, profiter de celui qui passe.

User avatar
francois
Contributor
Contributor
Posts: 6445
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: Print and scan module for Porteus 2.1

Post#26 by francois » 18 Jul 2013, 10:49

Ok for recent brother printer there is the pcl laser generic printer ppd, for brother printers, I am pretty sure that they should be paired with brscan4 scanner drivergenerpcl.ppd:
http://www.mediafire.com/download/0t8b0 ... nerpcl.ppd
The pcl laser generic printer applied to MFC-7860DW will produce thru system-printer-config a ppd in the /etc/cups/ppd folder which is Brother-MFC-7860DW.ppd and which should be associated with brscan4 scanner driver:
http://www.mediafire.com/download/rjcdj ... 7860DW.ppd

scanner driver brscan4
32bit:
http://www.mediafire.com/download/dr77k ... 5.i386.deb
64bit:
http://www.mediafire.com/download/9ih9p ... .amd64.deb

A question just like that, did you provide the scanner drivers for network connections for brother printers?

I hope my mediafire links are suitable and that the above information helps. :)
Prendre son temps, profiter de celui qui passe.

User avatar
Ahau
King of Docs
King of Docs
Posts: 1331
Joined: 28 Dec 2010, 15:18
Distribution: LXDE & Xfce 32/64-bit
Location: USA

Re: Print and scan module for Porteus 2.1

Post#27 by Ahau » 25 Jul 2013, 14:50

thanks francois!

I've added those .ppd's (Brother-MFC-7860DW.ppd and generpcl.ppd) the the module with the rest of the brother PPD's, at /usr/share/cups/model/. I believe that is the standard ppd location for Slackware, but several locations will work. Since I don't have a brother printer to test with, please let me know ASAP if that location doesn't work.

I posted a brscan module further up that has brscan4 (as well as 1,2 and 3) included, and have wrapped that into the printer module for final as well.

The ppd file Brother-DCP-7020-hl1250.ppd for your 7020 should already be in place as of the rc2 module.

I'm not sure what the network drivers are for brother scanners, are they not included in the brscan and brscan-skey packages?

As always, thank you for your help!!
Please take a look at our online documentation, here. Suggestions are welcome!

User avatar
francois
Contributor
Contributor
Posts: 6445
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: Print and scan module for Porteus 2.1

Post#28 by francois » 26 Jul 2013, 00:39

Thanks to you Ahau. :)

I am eager to find these additions at the final 2.1 version of porteus.
I'm not sure what the network drivers are for brother scanners, are they not included in the brscan and brscan-skey packages?
I have been always using brscan only. I have never been able to get brscan-skey package to work. See:
http://www.linuxquestions.org/questions ... 2bit-3626/

For your information, brscan4 will install itself in the /opt/brother/scanner/brscan4/ folder. In this folder there is both the scripts to install brother printers usb (setupSaneScan4*) and network (brsaneconfig4*). To install network you have to use both scripts for usb only the first one:

-content of brscan4 package:

Code: Select all

root@porteus:~# cd /opt/brother/scanner/brscan4/
root@porteus:/opt/brother/scanner/brscan4# ls
Brsane4.ini     brsanenetdevice4.cfg  models4/
brsaneconfig4*  doc/                  setupSaneScan4*
root@porteus:/opt/brother/scanner/brscan4# 
-command to get usb install of scanner:

Code: Select all

root@porteus:/opt/brother/scanner/brscan4# ./setupSaneScan4 -i
root@porteus: /opt/brother/scanner/brscan4#


-command to get network install of scanner:

Code: Select all

root@porteus:/opt/brother/scanner/brscan4# ./setupSaneScan4 -i
root@porteus: /opt/brother/scanner/brscan4# 
root@porteus:brsaneconfig4 -a name=scanner model=MFC-7860DW ip=10.0.0.7
root@porteus:~/Desktop# brsaneconfig4 -q | grep scanner
  0 scanner             "MFC-7860DW"        I:10.0.0.7
root@porteus:/opt/brother/scanner/brscan4#
***Edited 1307-27 to add info about brscan-key.
Prendre son temps, profiter de celui qui passe.

User avatar
francois
Contributor
Contributor
Posts: 6445
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: Print and scan module for Porteus 2.1

Post#29 by francois » 11 Aug 2013, 11:11

Excuse me if I post at the wrong place. This is a printing issue under mate 2.1 final.

Code: Select all

porteus panel menu > applications > accessories > hp device manager 
Yields the following error code:

Code: Select all

hp-systray must be running to get device status...
Thanks. :)
Prendre son temps, profiter de celui qui passe.

User avatar
Ahau
King of Docs
King of Docs
Posts: 1331
Joined: 28 Dec 2010, 15:18
Distribution: LXDE & Xfce 32/64-bit
Location: USA

Re: Print and scan module for Porteus 2.1

Post#30 by Ahau » 12 Aug 2013, 14:21

Did everything work fine under rc1 and rc2 with the same device? I made a modification to hp-systray startup to try and prevent an odd bug I was experiencing, where the hp-systray icon was showing up in the middle of my desktop instead of inside the panel.

Please try saving this to your rootcopy, at .../porteus/rootcopy/etc/xdg/autostart/hplip-systray.desktop

Code: Select all

[Desktop Entry]
Version=0.6
Type=Application
Name=HP System Tray Service
GenericName=Printer Status Applet
Comment=HP System Tray Service
Exec=hp-systray
Icon=/usr/share/hplip/data/images/128x128/hp_logo.png
Terminal=false
Categories=Application;Utility;
X-KDE-StartupNotify=false
StartupNotify=false
And let me know if everything works as it should. The short term-easy fix would be to run 'hp-systray' from a terminal to get it running. Thanks!
Please take a look at our online documentation, here. Suggestions are welcome!

Post Reply