LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   how do I print? (https://www.linuxquestions.org/questions/linux-general-1/how-do-i-print-133540/)

e1000 01-10-2004 08:38 PM

how do I print?
 
Code:

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)

what am I doing wrong?

Tinkster 01-10-2004 11:20 PM

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.


Cheers,
Tink

e1000 01-11-2004 01:02 AM

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!!

Tinkster 01-11-2004 11:51 AM

Ouch ... guess that's one of the things that a FULL
install gives you :}


Cheers,
Tink


All times are GMT -5. The time now is 02:34 AM.