LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 07-20-2009, 11:01 AM   #1
noisebleed
Member
 
Registered: Feb 2007
Location: Porto, Portugal
Distribution: Gentoo
Posts: 41

Rep: Reputation: 15
Brother QL-580N doesn't print from CUPS


Hello all.

I have a network printer from Brother, model QL-580N, which I'm trying to print from CUPS using the Print Test Page option. The job reports success but I never see anything coming from the printer.

But... if I send a job from Brother's software for Windows, Ptouch Editor 5.0, after the printer starts I can print from CUPS successfully. Maybe the driver lacks some kind of initialization procedure...

Software in use is:
  • net-print/cups-1.3.10-r2
  • net-print/foomatic-db-3.0.20060720
  • net-print/foomatic-db-engine-3.0.20060720
  • net-print/foomatic-db-ppds-3.0.20060720
  • net-print/foomatic-filters-3.0.20080507
  • net-print/foomatic-filters-ppds-20070501
Besides these Portage packages I've also installed the ptouch driver released by Arne John Glenstrup so I can use the rastertoptch binary. Without this app CUPS returns foomatic-rip failed error.

Brother QL-580N was configured in CUPS using the following options:
  • Device => AppSocket/HP JetDirect
  • Device URI => socket://10.16.1.4
  • Make => Brother
  • Model => Brother QL-550 Foomatic/ptouch (en)

Note: There is no Brother QL-580N in the model list so I've selected QL-550.

Any help/hints/questions would be very appreciated. I can post here CUPS error logs, wireshark logs from CUPS and from Ptouch Editor (Windows) or anything else if needed.

Thanks!
 
Old 07-21-2009, 09:16 AM   #2
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 3,465

Rep: Reputation: 852Reputation: 852Reputation: 852Reputation: 852Reputation: 852Reputation: 852Reputation: 852
Have you tried printing something other than the CUPS test page? At one time my Brother DCP-110C would not print the CUPS test page but would happily print everything else! I never did get to the bottom of the problem, but I suspected that a font was being used in the test page that was not installed on my system.
 
Old 07-21-2009, 09:19 AM   #3
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,017

Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369
Have you seen this page? Maybe you need the package for linux from Brother.
 
Old 07-21-2009, 10:00 AM   #4
noisebleed
Member
 
Registered: Feb 2007
Location: Porto, Portugal
Distribution: Gentoo
Posts: 41

Original Poster
Rep: Reputation: 15
allend, tredegar: thanks for your suggestions.

allend: yes, I tried to print something other than the CUPS test page. CUPS test page, labels templates made by Brother for OpenOffice, image files... all fail. The weird thing is I can print all of them if the first print job comes from Ptouch Editor (Windows).

tradegar: I'm already using those drivers. I have one configuration with foomatic/ptouch and another with cupswrapper from Brother. Both fail.

More suggestions are welcome. Thanks.
 
Old 07-21-2009, 10:15 AM   #5
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,017

Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369
That printer doesn't seem to need firmware uploading before it'll work (my first thought).

If it works with CUPS when windows has used it, then CUPS is OK.

Maybe windows is doing something to the printer's LAN address. Do you have it set to a static IP? Can you ping the printer when it is first turned on, and before you have run windows?

I am suspecting network-mischief.
 
Old 07-21-2009, 10:32 AM   #6
noisebleed
Member
 
Registered: Feb 2007
Location: Porto, Portugal
Distribution: Gentoo
Posts: 41

Original Poster
Rep: Reputation: 15
Both my laptop and printer are on a LAN served by a router were I've registered both MACs so the printer has a fixed IP. I can ping the printer without Windows interference.

I have logs from Wireshark from the interaction between the printer and two laptops running Linux/Windows. If you need any info network related feel free to ask. Thanks again.
 
Old 07-21-2009, 11:21 AM   #7
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,017

Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369
Have you seen this page: http://solutions.brother.com/linux/en_us/faq_esp.html ?
Maybe try FAQ #1:

[1] Print from windows (so it works)
[2] "Change the paper size setting from the cups web interface ("http://localhost:631/printers" -> "Set Printer Options") and perform "Print Test page" (The setting will be saved when you perform a printing)"
[3] "Edit the paper size parameter in "/usr/local/Brother/PTouch/inf/br(model name)rc" to the paper width.

***The available parameter value is in the /etc/cups/ppd/(model name).ppd file.
***This action will change the default printout paper size."
 
Old 07-22-2009, 01:10 PM   #8
noisebleed
Member
 
Registered: Feb 2007
Location: Porto, Portugal
Distribution: Gentoo
Posts: 41

Original Poster
Rep: Reputation: 15
Good news. The printer is working!

I've been playing with both foomatic/open-source-ptouch-driver and cupswrapper from Brother and finally I got it working with Brother/cupswrapper. The foomatic/open-source-ptouch-driver still doesn't work and I stopped trying to get it to work.

I'm not sure what made it to work but the info posted by tradegar is really important! Thanks a lot for pointing that out.

There is a really nice manual called "QL-580N Linux Printer Driver Manual" but I can only find it in Japanese (which is not ok for me :P). It is available here. I've asked Brother for the english version and they sent me the manual for QL-1050, which they told me, work the same way. So if anyone needs this guide just PM me.

Again, thanks allend and tradegar
 
Old 07-22-2009, 04:48 PM   #9
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,017

Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369
Quote:
Good news. The printer is working!
Well done.
Quote:
I've been playing with both foomatic/open-source-ptouch-driver and cupswrapper from Brother and finally I got it working with Brother/cupswrapper
As there was precious little on the WWW when you first posted here, a few more details might be helpful for others finding this post with a search engine. Google re-indexes this site with scary regularity (perhaps because it realises that useful information is often posted here).
Quote:
I'm not sure what made it to work but the info posted by tredegar is really important!
Errr, which information please, I was just "taking a stab in the dark".
Please do your best to write a HOWTO of the steps you took ( and next time - keep notes as you go along, otherwise you might find you have to start again solving a problem you have already solved, but "forgot" HOWTO )

Thanks for the follow-up anyway.
 
Old 10-07-2012, 11:57 PM   #10
ramgeek
LQ Newbie
 
Registered: Oct 2012
Posts: 1

Rep: Reputation: Disabled
QL580 works well with Fedora 32 bit.

I have been using this regularly for a couple years with the driver downloads from the Brother site. However, I recently upgraded to FC 17 and in 64 bit mode, and these drivers do not work any more. Actually, I figured that if I can locate a PPD file, then it should be easy to make CUPS handle it - but no luck so far getting one for the QL580.

Any advice?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
CUPS, option to print self-test page and clean print heads greyed out? BallsOfSteel Linux - Software 1 08-13-2008 03:22 PM
Brother Printer wont print! alibar Slackware 6 03-25-2007 11:15 AM
Brother printer + cups -> nothing rabby Linux - Newbie 1 02-28-2006 04:08 PM
CUPS and Brother MFC-5440CN sklitzz Linux - Hardware 1 02-12-2006 01:35 PM
Big Brother is watching what you print d00bid00b General 72 10-26-2005 09:42 AM


All times are GMT -5. The time now is 05:22 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration