Setting up CUPS and Brother Wireless Printer

8,749

Solution 1

After a sustained campaign of googling, It turns out I had to use lpd protocol, and I had to specify the print server program on the printer: binary_p1.

 Connection: lpd://192.168.1.5/binary_p1

Though not really an indicator that I needed to use the lpd protocol, after reading the log files on my machine, it looked like it was trying to print via USB, and because it could not find the printer plugged into a USB port, the print jobs just sat in the queue.

Solution 2

There may be a very simple solution to this. You say the printer is already working flawlessly from your MacBook, correct? Then just clone the configs from there!

Specifically, visit http://localhost:631/ from a browser on your MacBook, which will take you to the CUPS web-admin interface. You should be able to look up the printer and see how it's configured in CUPS on the MacBook, and configuring the printer the same way on your Fedora 18 box should give it a much better chance of working.

Share:
8,749

Related videos on Youtube

Dr. Watson
Author by

Dr. Watson

Updated on September 18, 2022

Comments

  • Dr. Watson
    Dr. Watson almost 2 years

    I am running Fedora 18 and have CUPS and the brother printer driver and CUPS wrapper (provided by brother) installed on my machine. The printer model is the MFC-255CW. This printer works seamlessly with my Apple MacBook, but it is not working with my linux computer. I also made sure that my primary user has CUPS permissions to submit print jobs to the printer.

    I was able to setup the printer in CUPS, and in the admin tab when I check on the sole printer setup, the MFC225CW, I can see the following:

    Description:    MFC255CW
    Location:   Home
    Driver: Brother MFC-255CW CUPS (color, 2-sided printing)
    Connection: http://192.168.1.5
    Defaults:   job-sheets=none, none media=na_letter_8.5x11in sides=one-sided
    

    However, whenever I submit a print job or even just try to print a test page, I always get back "printer status busy". However, on the printer itself, I have no issue printing a test print page, and my MacBook has no problem printing.

    I suspect that the issue is either between CUPS and the printer, or perhaps my configuration of the printer? How can I further troubleshoot and isolate what the problem is?

    • Bratchley
      Bratchley almost 11 years
      Looks like it's an IPP printer, but there isn't a port used in the URL. I'm not sure if CUPS will use :80 or :631 if you leave off the port, you might try explicitly specifying whichever one is appropriate and trying again. Also, couldn't hurt to determine if it's a network issue by doing a nc to the correct port on 192.168.1.5 Failing that, You can try to increase the cups logging level and see if anything descriptive shows up in the log.
    • slm
      slm almost 11 years
      Are you printing to this printer via CUPS as a networked printer or is it attached to the PC as a USB device? The setup is slightly different depending on which.
  • Dr. Watson
    Dr. Watson almost 11 years
    Thanks for this suggestion. While it did not exactly solve my situation, it was a very good idea. On my MacBook, the printer is configured with a very cryptic "mdns://..." address. I suppose it has to do with more advanced software (Brother Control Center) that is available for PC/MAC.
  • FeRD
    FeRD almost 11 years
    Ah! Of course, I really should've expected that. Makes sense that the Mac side wouldn't be using lpd by default.
  • FeRD
    FeRD almost 11 years
    (Gah! Hit Enter too soon, then went over my 5-minute edit window!) The issue, I think, is not the control center on the Mac side, but the... limited drivers on the Linux side. Theoretically, your printer could be set up with the same type of discovered local-net address on the Linux side — labeled dns-sd://... instead of mdns:// — and, in fact, that's how CUPS tries to set up the printer if you discover for it. However (as you've perhaps seen, if you tried autodiscovery), that doesn't work, because Brother's Linux drivers are limited to an lpd wrapper that doesn't grok Avahi/Bonjour — or IPP.
  • Dr. Watson
    Dr. Watson almost 11 years
    Very interesting, though I cannot say I am surprised a commercial entity would not invest much in Linux drivers. I would hope their commercial line of printers has better support. Woh is the consumer who selects Linux. :-)