Brother MFC-7340 printer

Stuff that plugs in via USB, FireWire, eSATA, PS/2, etc.

Brother MFC-7340 printer

Postby srivo » 11 Dec 2010, 14:55

I'm trying to install the Brother MFC-7340 driver. Those driver are Linux feroda 10 driver. I'm following the instruction on the brother web site: http://welcome.solutions.brother.com/bsc/public_s/id/linux/en/instruction_prn1a.html

I get the following message!
Code: Select all
package brmfc7340lpr-2.0.2-1 is for a different operating system

I saw somewhere that there is an information I can put saying the system is Fedora 10.
srivo
Junior Member
 
Posts: 65
Joined: 04 Dec 2009, 12:59
Location: Canada

Postby tingo » 14 Dec 2010, 19:12

You can't use Linux drivers on FreeBSD. Unless you can find another solution, your printer will be a paperweight. Brother only supplies Linux drivers. This Linux report talks about using the driver for the MFC-8440, perhaps there is a cups / foomatic driver for that printer, and perhaps it will work with your printer also. If not, perhaps Brother should be renamed bother?
Torfinn
tingo
Member
 
Posts: 947
Joined: 16 Nov 2008, 22:02
Location: Oslo, Norway

Postby phoenix » 14 Dec 2010, 20:43

From the openprinting.org page for the MFC-7320:
Code: Select all
Black & White printer, this is a Paperweight


There's no entry for the 7340.

And the 7420 is listed as "works mostly".

Basically, you're screwed and need to find a new printer.
Freddie

Help for FreeBSD: Handbook, FAQ, man pages, mailing lists.
User avatar
phoenix
MFC'd
 
Posts: 3349
Joined: 17 Nov 2008, 05:43
Location: Kamloops, BC, Canada

Postby wblock@ » 14 Dec 2010, 23:02

tingo wrote:You can't use Linux drivers on FreeBSD. Unless you can find another solution, your printer will be a paperweight. Brother only supplies Linux drivers. This Linux report talks about using the driver for the MFC-8440, perhaps there is a cups / foomatic driver for that printer, and perhaps it will work with your printer also. If not, perhaps Brother should be renamed bother?


The Linux drivers might actually be made to work on FreeBSD. Probably CUPS is required, but the filter binaries might run as Linux executables. It might be a nontrivial job, too.
User avatar
wblock@
Old Fart
 
Posts: 10203
Joined: 07 Sep 2009, 23:23
Location: Milky Way galaxy

Postby srivo » 15 Dec 2010, 02:01

Too bad I will need to use my old HP Laserjet 1000!
srivo
Junior Member
 
Posts: 65
Joined: 04 Dec 2009, 12:59
Location: Canada

Postby wblock@ » 15 Dec 2010, 02:10

srivo wrote:Too bad I will need to use my old HP Laserjet 1000!


Argh. For the next time you buy a laser, please see Buying A Used Laser Printer. Used office-class lasers are often cheaper than new "home" lasers, and a far better deal overall.
User avatar
wblock@
Old Fart
 
Posts: 10203
Joined: 07 Sep 2009, 23:23
Location: Milky Way galaxy

Postby carlton_draught » 15 Dec 2010, 05:33

Wait up. I got my MFC-7420 working, maybe i can help... let me find my notes.
[PORT]sysutils/zxfer[/PORT] - transfer everything on ZFS easily and reliably. www.zxfer.org
User avatar
carlton_draught
Member
 
Posts: 288
Joined: 18 Mar 2010, 00:07

Postby carlton_draught » 15 Dec 2010, 05:46

Here's what I did to print to another computer running Ubuntu and with an MFC7420. It should be similar if it was just connected locally. I'm running gnome, which I think you may have to do. Gnome is not working on my machine at the moment, so this is the best I can give you.

  1. [CMD="#"]portmaster print/foomatic-filters print/foomatic-db-engine print/foomatic-db-hpijs [/CMD]print/foomatic-db
  2. Go to localhost:631 in your browser, put in your root login/pass.
  3. Make it an ipp printer with following address: ipp://your_printer_ip:631/printers/MFC7420
  4. Select Brother HL-5050 Foomatic/Postscript (en)

Here is the magic post that enabled me to figure it out. Perhaps this will also help you. Maybe it does, maybe it doesn't.
[PORT]sysutils/zxfer[/PORT] - transfer everything on ZFS easily and reliably. www.zxfer.org
User avatar
carlton_draught
Member
 
Posts: 288
Joined: 18 Mar 2010, 00:07

Postby srivo » 15 Dec 2010, 11:07

I will try that! This was my plan to try to connect to a Ubuntu server with cup and use a print server instead of printing locally.
srivo
Junior Member
 
Posts: 65
Joined: 04 Dec 2009, 12:59
Location: Canada

Postby phoenix » 15 Dec 2010, 16:16

That won't work, for obvious reasons.

  1. The printer is plugged into a Linux machine, using the Linux driver.
  2. The printer is exported via CUPS using IPP.
  3. The FreeBSD box is connecting to CUPS on the Linux machine via IPP.
  4. No printer driver is installed on the FreeBSD machine.

Removing the Linux machine from the equation leave you ... an IPP link to nowhere.
Freddie

Help for FreeBSD: Handbook, FAQ, man pages, mailing lists.
User avatar
phoenix
MFC'd
 
Posts: 3349
Joined: 17 Nov 2008, 05:43
Location: Kamloops, BC, Canada

Postby carlton_draught » 15 Dec 2010, 18:30

phoenix wrote:That won't work, for obvious reasons.

  1. The printer is plugged into a Linux machine, using the Linux driver.
  2. The printer is exported via CUPS using IPP.
  3. The FreeBSD box is connecting to CUPS on the Linux machine via IPP.
  4. No printer driver is installed on the FreeBSD machine.

Removing the Linux machine from the equation leave you ... an IPP link to nowhere.

I thought he said (after the fact) that his plan was to connect to a Linux machine via IPP, that end of which is very easy to set up.

It may be possible (read that last link I posted) to get a driver working on FreeBSD. Note that I'm using a driver that is not marked MFC-7420 at all. It was trial and error that found the one that one worked for me. So it is potentially possible that with a bit of trial and error, it will print with the other drivers? It's worth a shot IMO. Read the link and realize what Brother does -
This is crazy! The rawtobr2 binary just somehow translates the postscript file to some GDI/PJL-language-file! And it seems that they used the same language as for the HL-XXXX series of printers….this means, we could have full linux support without the proprietary Brother drivers. Which then means….my printer could run on my SPARC machines :)

My suspicion is that they don't just do this for one printer, they do this for many, and that with srivo's printer it's a case where Brother were either too lazy to make a Linux driver or for reasons of functional obsolescence or market segmentation decided not to make one.

I guess it's a question of how much is your time worth vs getting something that you can get going instantly, how much do you not want to throw out an otherwise perfectly working printer into a landfill. And that it may not work anyway.
[PORT]sysutils/zxfer[/PORT] - transfer everything on ZFS easily and reliably. www.zxfer.org
User avatar
carlton_draught
Member
 
Posts: 288
Joined: 18 Mar 2010, 00:07

Postby teckk » 15 Dec 2010, 18:36

Here is quite a bit of info on Brother printers.
http://www-01.ibm.com/support/docview.wss?uid=nas1d1817a5251ba1e4b862569c100799559
------------------------------------------------------------
For a reference you can look at the specs for a Brother HL-5340D

I just printed to one with
Code: Select all
pdf2ps myfile.pdf myfile.ps

Then
Code: Select all
cat myfile.ps > /dev/ulpt0

It's a postscript printer.

Yours is listed as Windows GDI
teckk
Member
 
Posts: 148
Joined: 03 Nov 2009, 01:08

Postby carlton_draught » 15 Dec 2010, 18:50

teckk wrote:Here is quite a bit of info on Brother printers.
http://www-01.ibm.com/support/docview.wss?uid=nas1d1817a5251ba1e4b862569c100799559

Yours is listed as Windows GDI

Good find. This is indicative that my method may work. I could not find the MFC-7420 exactly, but note that other MFC-74XX printers were also listed with the same identical specs as the MFC-7340. e.g. Windows GDI. Which gibes with the what I quoted from that web page I linked to. One more time:
This is crazy! The rawtobr2 binary just somehow translates the postscript file to some GDI/PJL-language-file! And it seems that they used the same language as for the HL-XXXX series of printers….this means, we could have full linux support without the proprietary Brother drivers. Which then means….my printer could run on my SPARC machines

From the IBM page you linked to:
The terms Host-based, Host-based (GDI), Host-Based Printing , Proprietary (GDI) , and Windows GDI are generic terms that can refer to any Host-based or Windows-only printer, which use a proprietary printer data stream rather than an industry-standard printer data stream such as IBM Proprinter Data Stream (PPDS), Epson ESC/P2, HP Printer Control Language (PCL), or Adobe PostScript (PS). These printers support printing from Windows, and possibly from Macintosh or Linux, but will not print directly from IBM i, IBM i5/OS, IBM OS/400, UNIX or any other non-PC-based Operating System, even if the printers can be network-attached. Because these printers require a proprietary printer data stream, they will not work with Host Print Transform (HPT) or a PC5250 Printer Definition Table (PDT) File.

Well actually, it seems that in at least one case Brother do actually use industry standard data streams, it's just that they obfuscate it. And in that case you actually can print from Unix (FreeBSD), because that's how I got my printer to work. Key is to remember that IBM and openprinting.org aren't omniscient. In the former they are reliant on IBM employees trying to figure out how to get Brother's printers to work, and in the latter case they are reliant on people submitting stuff to them. A random hacker using a hex editor found what neither of them could.

If you can get it to work, srivo, consider giving openprinting.org a heads up and making it easier for someone else.
[PORT]sysutils/zxfer[/PORT] - transfer everything on ZFS easily and reliably. www.zxfer.org
User avatar
carlton_draught
Member
 
Posts: 288
Joined: 18 Mar 2010, 00:07

Postby wblock@ » 15 Dec 2010, 19:31

Host Print Transform... I had successfully forgotten that until now.

As I've said before: please don't buy GDI printers, or printers that use proprietary PDLs. It just encourages the manufacturers to make more.
User avatar
wblock@
Old Fart
 
Posts: 10203
Joined: 07 Sep 2009, 23:23
Location: Milky Way galaxy

Postby carlton_draught » 15 Dec 2010, 19:42

wblock wrote:Host Print Transform... I had successfully forgotten that until now.

As I've said before: please don't buy GDI printers, or printers that use proprietary PDLs. It just encourages the manufacturers to make more.

True. My MFC-7420 was bought in my Windows days, I would not make the same mistake again.
[PORT]sysutils/zxfer[/PORT] - transfer everything on ZFS easily and reliably. www.zxfer.org
User avatar
carlton_draught
Member
 
Posts: 288
Joined: 18 Mar 2010, 00:07

Postby Bra1n0v3rfl0w » 15 Dec 2010, 22:30

If i'm not wrong, is not possible to install bin linux driver using linux compatibility?

And such rpm can be opened with an archiver like X-archiver, i tested now on my linux box.

Inside there are binaries (of course) and lpr filter, and cups filter.

But i really don't konw how to use them.

Hope this will help to find a solution.
Bra1n0v3rfl0w
Junior Member
 
Posts: 28
Joined: 15 Oct 2010, 21:45

Postby srivo » 18 Dec 2010, 12:39

Thanks for all the answer. The printer wasn't my choice! The lady at home liked is old brother printer and decide to buy a new one! I decide to check if I can network that printer with my Linux server and it work, but lots of problem with laptop using windows Vista Home edition!

Not sure yet about what I will do!
srivo
Junior Member
 
Posts: 65
Joined: 04 Dec 2009, 12:59
Location: Canada


Return to Peripheral Hardware

Who is online

Users browsing this forum: No registered users and 1 guest

cron