-   Slackware (
-   -   CUPS Wireless printing (

dcshoe 08-08-2013 06:33 PM

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?

dgrames 08-09-2013 09:02 AM

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


dcshoe 08-09-2013 01:05 PM

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.

dgrames 08-10-2013 08:19 AM

CUPS Wireless printing
Try lpr -P <name of printer> cups.txt

ljb643 08-10-2013 09:53 AM

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.

michaelk 08-10-2013 02:28 PM

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

All times are GMT -5. The time now is 03:58 AM.