Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


Search this Thread
Old 08-08-2013, 06:33 PM   #1
LQ Newbie
Registered: Dec 2012
Location: Seattle
Distribution: Slackware & Ubuntu
Posts: 5

Rep: Reputation: Disabled
CUPS Wireless printing

I have a Brother HL-2880DW on a wireless local network, Ubuntu and Windows 7 laptops and a Slackware 10.2 desktop. The first two print to the wireless printer flawlessly, and the Slackware desktop will print a test page when commanded from the CUPS setup webpage. But when I try to print as a user (named gsmith) using the command

pr cups.txt | lpr

all I get is this:

gsmith@harpo:~$ pr cups | lpr
Status Information, attempt 1 of 3:
sending job 'gsmith@harpo+974' to brother@localhost
connecting to 'localhost', attempt 1
cannot open connection to localhost - No such file or directory
Make sure the remote host supports the LPD protocol
and accepts connections from this host and from non-privileged (>1023) ports
Waiting 10 seconds before retry…

My printer.cong file looks like this:

# Printer configuration file for CUPS v1.1.20
# Written by cupsd on Thu Aug 8 15:26:52 2013
<DefaultPrinter brother>
Info Brother HW-2880DW
Location downstairs
DeviceURI lpd://
State Idle
Accepting Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0

The printer responds to ping, and does the test page, but that's as far as I can get. Any thoughts?
Old 08-09-2013, 09:02 AM   #2
LQ Newbie
Registered: Jul 2007
Posts: 18

Rep: Reputation: 1
CUPS Wireless printing

I'm not sure, but you might changing DeviceURI lpd://
to DeviceURI socket://

Old 08-09-2013, 01:05 PM   #3
LQ Newbie
Registered: Dec 2012
Location: Seattle
Distribution: Slackware & Ubuntu
Posts: 5

Original Poster
Rep: Reputation: Disabled
CUPS wireless printing

thanks, Don, but results are exactly the same. I'm probably looking right at the problem in one of the configuration scripts, but I just can't see it.
Old 08-10-2013, 08:19 AM   #4
LQ Newbie
Registered: Jul 2007
Posts: 18

Rep: Reputation: 1
CUPS Wireless printing

Try lpr -P <name of printer> cups.txt
Old 08-10-2013, 09:53 AM   #5
Registered: Nov 2003
Posts: 314

Rep: Reputation: Disabled
The error message is telling me that the problem is between the lpr command and cups, not between cups and the printer. The fact that you can do a test print from the cups web interface backs this up.

Is there a reason you are running such old versions? (Slackware 10.2 is 8 years old, and my notes say it shipped with cups-1.1.23, but you are running an even older cups-1.1.20.) It is going to be hard for people to help with such old versions, and a great many bugs have been fixed since then.
Old 08-10-2013, 02:28 PM   #6
Registered: Aug 2002
Posts: 12,600

Rep: Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935
ljb63 is correct. lpr in version 10 is using lprng vs cups-lpr. See the following thread.


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 printing error: ="/usr/local/libexec/cups/filter/rastertosamsungspl failed ted_chou12 Linux - Software 0 08-04-2012 05:22 AM
[SOLVED] printing problems cups okular printing jobs debian squeeze epson stylus sx 410 Foxbat1155 Linux - Newbie 4 02-22-2012 02:49 PM
wireless printing w/ CUPS? Cata1yst Slackware 4 09-17-2009 05:50 AM
CUPS printing over wireless network whjones Linux - Newbie 4 01-02-2005 03:29 PM
remote cups printing to a smb/cups print server? justanothergeek Linux - Networking 2 09-15-2004 08:31 AM

All times are GMT -5. The time now is 08:24 PM.

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