LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Printing Probs with CUPS and Slack 9.1 (https://www.linuxquestions.org/questions/slackware-14/printing-probs-with-cups-and-slack-9-1-a-154748/)

Aman9090 03-07-2004 06:55 PM

Printing Probs with CUPS and Slack 9.1
 
Hey everyone,

Just installed Slack and love it. However, I am having a bit of a printing issue. I set up my printer through CUPS with ease, and when I go to localhost:631 and do a test page print, it goes great. However, when I try to print anything else, I get this in the command line:

Code:

bash-2.05b# lp Juliet_Maturity.sxw
Status Information, attempt 1 of 3:
sending job 'root@Flybox+456' to default@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
Waiting 10 seconds before retry

I cannot print in open office, and I believe it's for the same reason! :)

Anyone know how to solve this? Thanks in advance! :)

DrOzz 03-07-2004 07:08 PM

Quote:

Make sure the remote host supports the LPD protocol
try resolving this to use lp as it may be a problem, and you can try the lpr command for use with cups ...

Aman9090 03-07-2004 07:21 PM

Quote:

Originally posted by DrOzz
try resolving this to use lp as it may be a problem, and you can try the lpr command for use with cups ...
Well how do I do this is basically what I am asking.

Thanks! :)

tims1979 03-10-2004 02:56 AM

Quote:

Originally posted by Aman9090
Well how do I do this is basically what I am asking.

Thanks! :)


It sounds like you're having the same problem I did. Here is what I just did.

First open up the OpenOffice.org Printer Administration.

Then click and highlight your printer.
Then click properties.

Then under Configure there should be a text box and a command there like lpr. Change that to lpr-cups, make sure that is highlighted, then click ok. Hopefully that will work for you, it did for me.

carboncopy 03-10-2004 04:19 AM

This problem happens because the other print services were installed together when you install Slackware.

You have to relink the symbolic link in /usr/bin as shown below:

lrwxrwxrwx 1 root root 7 Jan 16 01:07 lp -> lp-cups*
lrwxrwxrwx 1 root root 8 Jan 16 01:07 lpq -> lpq-cups*
lrwxrwxrwx 1 root root 8 Jan 16 01:07 lpr -> lpr-cups*
lrwxrwxrwx 1 root root 9 Jan 16 01:07 lprm -> lprm-cups*
lrwxrwxrwx 1 root root 11 Jan 16 01:07 lpstat -> lpstat-cups*

You can rm /usr/bin/lp
ln -s /usr/bin/lp-cups /usr/bin/lp
as example.

BroX 03-10-2004 04:42 AM

I think I had the same experience, check this post.

Hope this might help.

Cheers, Leon.

samac 03-10-2004 03:21 PM

I had this problem today with open office 1.1. I went into the printer administration area, and under generic printer added

kprinter --stdin

as the command to print, rather than lpr, works fine.


All times are GMT -5. The time now is 04:54 PM.