Printing and scanning with a brother printer MFC-7860DW : porteus 5.x

Technical issues/questions of an intermediate or advanced nature.
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.

Printing and scanning with a brother printer MFC-7860DW : porteus 5.x

Post#1 by francois » 20 Feb 2023, 01:53

Hello Blaze! (I imagine that you will be the one answering this issue of mine)

It has been sometime since I have got some printing and scanning issues. With porteus 5.0 it seems to be the case. I have a brother MFC-7860DW printer.

I have downloaded 07-printing-lxde-lxqt-openbox-xfce-x86_64-2022-04-09.xzm from
http://ftp.nluug.nl/os/Linux/distr/port ... -04-09.xzm

Trying:

Code: Select all

root@porteus:~# system-config-printer
bash: system-config-printer: command not found
root@porteus:~# 
Also, diving into:
xfce menu > system
xfce menu > settings

There is nothing there about printing.

Any idea why this system-config-printer command is not working?

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

Printing and scanning with a brother printer: porteus 5.x

Post#2 by Blaze » 20 Feb 2023, 04:19

Hi francois.
You downloaded only extra printing module but fogot about base printing module. A new version is here Printing and scanning for Porteus (Пост Blaze #92800)
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.

Printing and scanning with a brother printer: porteus 5.x

Post#3 by francois » 20 Feb 2023, 12:04

Why not providing it in the modules section of porteus 5.0 of http://porteus.org/porteus-mirrors.html? Thru porteus 5.0 announcement:
Porteus-v5.0 is released!

The additional packages for printing are already there.

You have all my gratitude for maintaining the printing package for Porteous.

Thanks so much Blaze.
Prendre son temps, profiter de celui qui passe.

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.

Printing and scanning with a brother printer: porteus 5.x

Post#4 by francois » 20 Feb 2023, 13:07

In the print settings gui (system-config-printer in command line) Generic PCL 6/PCL XL for the brother has to be used as the pcl laser printer option is no more available. It provides duplex printing.
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:

Printing and scanning with a brother printer: porteus 5.x

Post#5 by Blaze » 20 Feb 2023, 18:00

francois, what model of brother do you use?
Do you searched official driver at the
https://support.brother.com/g/b/sp/prod ... &content=d?
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.

Printing and scanning with a brother printer: porteus 5.x

Post#6 by francois » 21 Feb 2023, 01:32

I have a brother MFC-7860DW printer.

I am unable to scan with the document scanner, which seems to be different from simple scan. Is it?

Thanks.
Prendre son temps, profiter de celui qui passe.

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.

Printing and scanning with a brother printer: porteus 5.x

Post#7 by francois » 21 Feb 2023, 01:54

Finally, I solved it. The brother scanner driver has to be installed according to the instructions below.
[HOW TO] Scanning with porteus

Here is what I have done:

From the brother website I have downloaded the scanner driver for the MFC-7860DW:
https://support.brother.com/g/b/downloa ... all&os=128
I turned it into a module and activated it.
brscan4-0.4.2-1.amd64.xzm

Code: Select all

root@porteus:/usr/lib64/sane# cd /opt/brother/scanner/brscan4/
root@porteus: ls
Brsane4.ini  brsaneconfig4  brsanenetdevice4.cfg  doc  models4  setupSaneScan4
root@porteus:/opt/brother/scanner/brscan4# ./setupSaneScan4 -i
root@porteus:/usr/local/Brother/sane# brsaneconfig4 -q | grep scanner 
root@porteus: /opt/brother/scanner/brscan4# 
Thanks.

Note: And document scanner and simple-scan are the same applications.
Prendre son temps, profiter de celui qui passe.

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.

Printing and scanning with a brother printer: porteus 5.x

Post#8 by francois » 21 Feb 2023, 15:10

@blaze:
Finally, Generic PCL 6/PCL XL will not provide duplex printing for my printer. The generic printer option does not propose PCL laser printer and PCL color laser will not work for my printer which is a black and white printer.

Here is the ppd for PCL laser printer suitable for my MFC-7860DW printer:
https://www.mediafire.com/file/220xk5hq ... r.ppd/file
The installation instructions for a ppd with system-config-printer are here:
HOWTO:Setting up a printer on porteus with a ppd

Can you add the PCL laser printer ppd to your package?

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

Printing and scanning with a brother printer: porteus 5.x

Post#9 by Blaze » 23 Feb 2023, 12:45

francois, as far as I know Brother is not published printing driver for x86_64 arch Linux
For example MFC-7860DWR
|-- brgenml1cupswrapper-3.1.0-1.i386.rpm
|-- brgenml1lpr-3.1.0-1.i386.rpm
|-- cupswrapperMFC7860DW-2.0.4-2.i386.rpm
`-- mfc7860dwlpr-2.1.0-1.i386.rpm
francois wrote:
21 Feb 2023, 15:10
Here is the ppd for PCL laser printer suitable for my MFC-7860DW printer:
Where did you got it? :)
francois wrote:
21 Feb 2023, 01:54
brscan4
I removed all brscan

Code: Select all

# 7. brscan, brscan2, brscan3, brscan4, brscan-skey (5 pakages)
# http://support.brother.com/g/s/id/linux/en/download_scn.html#brscan
#wget -q --show-progress -P /tmp http://www.brother.com/pub/bsc/linux/dlf/brscan-0.2.4-0.x86_64.rpm
#wget -q --show-progress -P /tmp http://www.brother.com/pub/bsc/linux/dlf/brscan2-0.2.5-1.x86_64.rpm
#wget -q --show-progress -P /tmp http://www.brother.com/pub/bsc/linux/dlf/brscan3-0.2.11-5.x86_64.rpm
#wget -q --show-progress -P /tmp http://www.brother.com/pub/bsc/linux/dlf/brscan4-0.4.2-1.x86_64.rpm
#wget -q --show-progress -P /tmp http://www.brother.com/pub/bsc/linux/dlf/brscan-skey-0.2.4-1.x86_64.rpm
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.

Printing and scanning with a brother printer: porteus 5.x

Post#10 by francois » 23 Feb 2023, 23:28

I think you are right. Going back to my threads on installing brother mfc-7860dw, I always used the Generic-PCL-Laser.ppd. Under config-system-printer Generic(recommended) > PCL laser was a possible option that worked very fine for me with the porteus 4.2 version.

However in 5.0 PCL laser is not proposed. What was interesting with PCL laser was the duplex printing possibility which was at installation with system-config-printer proposed as an option immediately.

With Generic PCL 6/PCL XL which is an option under your porteus 5.0 printing package once the driver is installed, I found recently that you to go back to settings > printer options and to select 2-sided Printing option Long edge to get the duplex setting.

I will live with it.

Sorry tor the trouble and thanks.

Note: I found generic pcl ppd
https://opensource.apple.com/source/cup ... .auto.html
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:

Printing and scanning with a brother printer: porteus 5.x

Post#11 by Blaze » 24 Feb 2023, 05:46

francois wrote:
23 Feb 2023, 23:28
Note: I found generic pcl ppd
https://opensource.apple.com/source/cup ... .auto.html
Awesome. If you want I can added https://opensource.apple.com/source/cup ... nerpcl.ppd

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

Printing and scanning with a brother printer: porteus 5.x

Post#12 by francois » 24 Feb 2023, 11:31

1) Printing.
This would be very much appreciated. This means that porteus 5.0 offers a printing solution that works out of the box the brother MFC-7860DW printer. And maybe for a lot of other brother printers. We will see how much we get hits on the net with this thread. ;)

2)Scanning.
Is there something to be done for the scanning function for brother printers or at least Brother MFC-7860dw?
Specifically for my printer the brscan4 is the appropriate scanner driver brscan4:
https://support.brother.com/g/b/downloa ... &type3=566
Incorporating this driver does the job. Though then you have to proceed to its installation thru:
[HOW TO] Scanning with porteus

I changed my first post accordingly to porteus scanning and printing for this typical printer. However, I am sure that this will accomodate a lot of brother printers.

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

Printing and scanning with a brother printer MFC-7860DW : porteus 5.x

Post#13 by Blaze » 24 Feb 2023, 18:23

francois wrote:
23 Feb 2023, 23:28
However in 5.0 PCL laser is not proposed.
1) Please wait. Do you try PCL 5 or others generic PCL's?
Image
francois wrote:
23 Feb 2023, 23:28
With Generic PCL 6/PCL XL which is an option under your porteus 5.0 printing package once the driver is installed, I found recently that you to go back to settings > printer options and to select 2-sided Printing option Long edge to get the duplex setting.

I will live with it.
It's critical or not?

2) About Brother scanner.
I added these packages: brscan, brscan2, brscan3, brscan4, brscan5, brscan-skey
Please try 07-printing-x86_64-2023-02-24.xzm (for download press the white button)
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.

Printing and scanning with a brother printer MFC-7860DW : porteus 5.x

Post#14 by francois » 27 Feb 2023, 13:47

@blaze:
Printing.
It is not critical as Generic PCL 6/PCL XL and Generic PCL 6 both will work as it seems from my usage.

Once the printer is installed thru:
xfce menu > settings > add printer

Use the print settings dialog box
Click on the printer (Generic PCL 6 for example) > printer options
select 2-sided printing: Long edge.
to get the duplex setting.

Scanning.
Thanks for the addition. All that will be needed is to follow the instructions for brother printer scanning setup:

@all:
Instructions for brother printer scanning setup:
Example:
. MFC 7860DW (needs brscan4)
Find the driver for your brother printer on the brother website using the search by model prompt:
https://support.brother.com/g/b/product ... content=dl

Code: Select all

root@porteus:/usr/lib64/sane# cd /opt/brother/scanner/brscan4/
root@porteus: ls
Brsane4.ini  brsaneconfig4  brsanenetdevice4.cfg  doc  models4  setupSaneScan4
root@porteus:/opt/brother/scanner/brscan4# ./setupSaneScan4 -i
root@porteus:/usr/local/Brother/sane# brsaneconfig4 -q | grep scanner 
root@porteus: /opt/brother/scanner/brscan4# 
Done.
Prendre son temps, profiter de celui qui passe.

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.

Printing and scanning with a brother printer MFC-7860DW : porteus 5.x

Post#15 by francois » 10 Mar 2023, 13:31

@blaze:
The best driver is the PCL 6 for my brother MFC-7860DW.

Presently, I get the following error message:
Printer generic-pcl6 requires the /usr/lib64/cups/filter/rastertofutenprint.5.3, but it is not currently installed.

Thanks.
Prendre son temps, profiter de celui qui passe.

Post Reply