SlackwareThis Forum is for the discussion of Slackware Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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
Info Brother HW-2880DW
JobSheets none none
The printer responds to ping, and does the test page, but that's as far as I can get. Any thoughts?
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.