Cave-man
Posts: 11
Joined: Sun Oct 20, 2013 10:46 am

Install network printer

Sun Jan 12, 2014 9:10 pm

Hi,
i was trying to setup my pi for air-print...
got cups installed and running, see the printer on the network but cant find my printer type (mfc-6490cw) in the list...
googled for ppd file - no success...
is there a chance to get this to work...

Dutch_Master
Posts: 360
Joined: Sat Jul 27, 2013 11:36 am

Re: Install network printer

Sun Jan 12, 2014 9:26 pm

I assume you have a Brother MFC? Then get the file from their own support page: http://welcome.solutions.brother.com/bs ... index.html

Cave-man
Posts: 11
Joined: Sun Oct 20, 2013 10:46 am

Re: Install network printer

Sun Jan 12, 2014 9:45 pm

yes thats right, the only file i could find is some cupswrapper source...
really dont know how to install it...

Dutch_Master
Posts: 360
Joined: Sat Jul 27, 2013 11:36 am

Re: Install network printer

Mon Jan 13, 2014 6:16 pm

Right. Go to the above mentioned page, then click "Printer driver" in the Download section. On the next page, scroll down to the MFC section and select your model. You're presented with a table, containing 2 package formats: rpm and deb. You'll need the latter (deb). Download both files, you'll get some sort of licence-agreement page first, acknowledge that. Save them in a separate folder in your home directory. Next, open a terminal, navigate to the folder you've saved both files using the cd command and check they're there:

Code: Select all

cd ~/folder-name
ls
Now you can install both packages:

Code: Select all

sudo dpkg -i --force-all *.deb
Let it finish. If it gives you an error, come back with the exact error reply.

Mind, on the original page you'll also find links to packages to support the fax and scanner part of your MFC. Fetch those in the same way as described above. If you need them, we'll get to those later.

Cave-man
Posts: 11
Joined: Sun Oct 20, 2013 10:46 am

Re: Install network printer

Tue Jan 14, 2014 8:23 am

hi Dutch_Master,
thanks for your help, i got the deb-files installed - warning wrong architecture (i368) - (armhf) - can find the printer now in the type-selection but it doesnt work...
think this is getting way to complicated and printer already old...
anyway thanks again...

tom08
Posts: 2
Joined: Sun May 11, 2014 10:29 am

Re: Install network printer

Sun May 11, 2014 11:14 am

Hi,

I tried setting up a friend's Brother MFC on the raspberry. No luck so far, but I was wondering if somebody tried to install the i386 packages from Brother and then used qemu to call the filters.

It's a couple of weeks ago, I played with all these stuff but I think there is a program called "rastertobrother" which get's somehow called from CUPS.

How about renaming this to "rastertobrother-i386" and then write a shell script called "rastertobrother" with the following contents:

Code: Select all

#!/bin/bash
qemu-i386 rastertobrother-i386 
The qemu-package needs to be installed in the first place, of course.

Since the printer is not at my place, I can try this not until I go visiting my friend again. But hopefully some of you can check, if it's working.

Regards
Tom

User avatar
DougieLawson
Posts: 35113
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website Twitter

Re: Install network printer

Sun May 11, 2014 10:48 pm

What you are suggesting simply won't work. QEMU is a closed, protected system, hypervisor that doesn't have any external interfaces other that the network and "hard" disk.

If your printer needs special X86 or X86_64 drivers you have a close to ZERO chance of running it from your Raspberry Pi (you'd struggle to run it on an X86 or X86_64 Linux system).

Time to buy a new printer or, possibly, connect it to a Windows system and use network printer sharing to make it available to your RPi.
Note: Having anything remotely humorous in your signature is completely banned on this forum.

Any DMs sent on Twitter will be answered next month.

This is a hippy & doctor free zone.

Dutch_Master
Posts: 360
Joined: Sat Jul 27, 2013 11:36 am

Re: Install network printer

Mon May 12, 2014 1:30 pm

DougieLawson wrote:[...](you'd struggle to run it on an X86 or X86_64 Linux system)
Have you looked at the Brother support page I've linked to earlier? Brother has one of the most extensive Linux support, on par or better then even HP. Admittedly all closed source, but you can get practically every Brother product to work on your Linux system.

Having said that, the packages are indeed only for i386 and x86_64 architectures, so far no support for the niche armhf branch (I overlooked that, sorry). Given that the ARM arch is almost exclusively used in embedded or otherwise specialist systems, who generally don't interact with printers/scanners/etc, it's no surprise that support is unlikely. But it can't hurt to ask Brother, can it? ;)

fruitoftheloom
Posts: 19483
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Install network printer

Mon May 12, 2014 1:47 pm

I decided many moons ago to go with an HP Wireless ePrinter, accessable from Android, iOS, OSX, Linux or Windows as well as Google Cloud Print.

HP's support for Linux is good via HPlip software, even managed to install latest version in Raspbian Wheezy.
adieu

My other Computer is an Asus CS10 ChromeBit running Chrome Operating System.
HP Envy 4500 Wireless Printer supported by HPLIP software in Raspbian Stretch.

tom08
Posts: 2
Joined: Sun May 11, 2014 10:29 am

Re: Install network printer

Sat May 24, 2014 1:25 pm

@DougieLawson, that's not true, there is also this emulation for single commands, e. g. qemu-i386.

From the man-page:

The qemu-user emulator can run binaries for other architectures but
with the same operating system as the current one.

But unfortunately, the brother binaries are dynamically linked so I needed some libs from the PC. Now I don't get any error message, but the printer is still not printing.

I found out, CUPS is using the following filter, which is a bash script: /usr/lib/cups/filter/brlpdwrapperMFC7360N.
In this script the other brother tools are called under /usr/local/Brother/Printer/MFC7360N/...

But I don't know what else to try. I might sell the brother MFC on eBay and go for a HP...

Regards
Tom

Lesshou
Posts: 1
Joined: Sat Jan 10, 2015 11:34 pm

Re: Install network printer

Sat Jan 10, 2015 11:36 pm

Was anyone able to find a driver or PPD file that works with this printer for the raspberry pi?

geckopi
Posts: 1
Joined: Fri Jan 01, 2016 2:38 pm

Re: Install network printer

Fri Jan 01, 2016 2:56 pm

I was able to get the MFC-7360N to work under CUPS on my Raspberry Pi using the HL1250 PPD.
I tried that because I had seen on the Brother website (http://support.brother.com/g/s/id/linux ... edirect=on - look for "I'm using SuSE11.2. I cannot print to Brother monochrome machines.") that they were recommending using the Foomatic HL1250 driver for a similar situation.

CUPS printer configuration:

description: HL1250 (this was arbitrary, but see below)
connection: lpd://<printer's IP address on my local network>/PCL_P1
driver: Brother HL-1250 Foomatic/hl1250 (recommended) from the HL-1250 PPD file which I generated by going to http://www.openprinting.org/driver/hl1250/ and clicking the "Generate PPD file" button

Initially my goal was to set this up as a Google Cloud printer for my Chromebook by using the gcp-connector.
However that turned out not to be necessary. Instead I just installed (on the Chromebook) Chrome extension "IPP / CUPS printing configuration" and set up the printer as:
http://<raspberry pi's IP address on my local network>/printers/HL1250

gliu20
Posts: 1
Joined: Sat Jan 30, 2016 11:10 pm

Re: Install network printer

Sat Jan 30, 2016 11:41 pm

Hi, I'm Trying to setup a network print server with the raspberry pi 2B. However, I installed the drivers for MFC7360N and it didn't work. Geckopi on this forum post said to do this:
I was able to get the MFC-7360N to work under CUPS on my Raspberry Pi using the HL1250 PPD.
I tried that because I had seen on the Brother website (http://support.brother.com/g/s/id/linux ... edirect=on - look for "I'm using SuSE11.2. I cannot print to Brother monochrome machines.") that they were recommending using the Foomatic HL1250 driver for a similar situation.

CUPS printer configuration:

description: HL1250 (this was arbitrary, but see below)
connection: lpd://<printer's IP address on my local network>/PCL_P1
driver: Brother HL-1250 Foomatic/hl1250 (recommended) from the HL-1250 PPD file which I generated by going to http://www.openprinting.org/driver/hl1250/ and clicking the "Generate PPD file" button

Initially my goal was to set this up as a Google Cloud printer for my Chromebook by using the gcp-connector.
However that turned out not to be necessary. Instead I just installed (on the Chromebook) Chrome extension "IPP / CUPS printing configuration" and set up the printer as:
http://<raspberry pi's IP address on my local network>/printers/HL1250
However, it did not work. :( :oops: . The cups claimed that everything have successfully printed but it did not. On my MFC7360n, it said that data was remaining but the printer never printed..
My Specs are:
raspberry pi 2b
edimax usb dongle for raspberry pi
latest raspian os with edimax wifi dongle and cups configured
MFC7360n Brother Printer

ehmjaysee
Posts: 1
Joined: Tue Jan 10, 2017 11:56 pm

Re: Install network printer

Wed Jan 11, 2017 12:00 am

The instructions worked for me. I can now print to my old MFC-7345N using these settings:

Description: Brother_MFC
Location: Office
Driver: Brother HL-1250 - CUPS+Gutenprint v5.2.10 (grayscale, 2-sided printing)
Connection: lpd://192.168.1.224/PCL_P1
Defaults: job-sheets=none, none media=na_letter_8.5x11in sides=one-sided

Return to “General programming discussion”