Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
evan@evanpc:~$ lp /home/evan/test.txt
Status Information, attempt 1 of 3:
sending job 'evan@evanpc+243' to deskjet3420@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
evan@evanpc:~$
this hapens when I try to print, I use CUPS, I have my printer configured (i think, i can print a test page when im in the controll center; http://localhost:631/printers)
ps -A | grep cups
to check whether cupsd is still running ...
Besides that, there's always the logfiles ;)
(/var/log/cups) ... if those don't say a lot,
up the information level in /etc/cups/cupsd.conf.
Set debug (or debug2) instead of info.
the cupsd is on, but its still not working, I have NO idea what the problem is, i cant understand why I can print a sample page but i cant print anything using the lp or lpr commands.
EDIT:: <refrence to searchers>
wow, I solved my problem, it was because slackware includes LPRng and CUPS, and I guess the two cant co-exist (probably cuz the use the same commands)
so in short, all I had to do was uninstall LPRng & CUPS and reinstall CUPS. now everything works!!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.