LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-25-2004, 02:57 PM   #1
shibatatie
LQ Newbie
 
Registered: Feb 2004
Location: China
Posts: 16

Rep: Reputation: 0
Newbie's printing question - could it be more hard?


I've a CanonS100SP USB printer and I've added it through http://localhost:###. It worked when I printed test page. However when I tried to print some real stuff, like pdf or web pages, I got this error message:

A print error occurred. Error message received from system:

/usr/bin/lpr -P 'canon' '-#1' '/tmp/kde-xh33/kdeprint_Lvj05dM6' : execution failed with message:
Status Information, attempt 1 of 3: sending job 'xh33@SLACKER+16' to canon@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 Status Information, attempt 2 of 3: sending job 'xh33@SLACKER+16' to canon@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 sending job 'xh33@SLACKER+16' to canon@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

Moreover, there is no cups printing option in firefox. The only one available is "PostScript/default". why?

Somebody help me.

Printing in linux, could it be more hard?
 
Old 07-25-2004, 03:05 PM   #2
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
What is your printer name in cups ?
 
Old 07-25-2004, 03:32 PM   #3
north49er
Member
 
Registered: Apr 2003
Location: 60.47'N lat
Distribution: fedora 15 x86_64
Posts: 156

Rep: Reputation: 18
Your programs are trying to print to an lpr printer. You need to link lpr requests to cups. Search the posts on how to do that.

As for firefox, the easiest solution is in this link: www.CS.umd.edu/faq/cups.html

You can download gtklp (slack9.1 version) from: www.linuxpackages.net

However, note that the location of the gtklp file is slighlty different from the example location.
 
Old 07-25-2004, 03:51 PM   #4
Mephisto
Member
 
Registered: Oct 2002
Location: Washington D.C, USA
Distribution: Slack 12, Etch, Gutsy
Posts: 453

Rep: Reputation: 31
If you click on "properties" from the print dialog in Firefox you will see it is using lpr. So you need to adjust the lpr to point to lpr-cups. As north49er said do a search, this has been covered at least twice in the last 2 weeks.
 
Old 07-25-2004, 09:06 PM   #5
WilliamS
Member
 
Registered: Nov 2003
Location: 46N 76W
Distribution: Slackware 14.1
Posts: 380

Rep: Reputation: 31
I set up my printer according to advice at:
http://www.linuxquestions.org/questi...light=Printing
and have had no problems. Prints well from firefox too.
I don't know if the fact that my printer is a hp makes any difference; suspect the it doesn't.
 
Old 07-26-2004, 03:47 PM   #6
shilo
Senior Member
 
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132

Rep: Reputation: 50
My advice is this:

1) Use pkgtool to remove lprng
2) Re-install CUPS from the installation Disk

You should be working fine. /usr/bin/lpr will now be a symbollic link to /usr/bin/lpr-cups .
 
Old 07-26-2004, 05:14 PM   #7
tigerflag
Member
 
Registered: Aug 2002
Location: Phoenix, AZ
Distribution: PCLinuxOS 2012.08
Posts: 430

Rep: Reputation: 30
Not sure if this is exactly the answer for your question, but there's a wierdness in Slackware that if you install both Cups AND lprng, things will conflict. My suggestion is to uninstall them both. Then decide which one you want and install just that one. Maybe this will help?
 
Old 10-12-2004, 09:56 PM   #8
cyberliche
Member
 
Registered: Aug 2004
Location: Atlanta
Distribution: Slackware 10
Posts: 85

Rep: Reputation: 15
I don't know if it will cause problems in the future, but I just un-linked lpr from lprng and then re-linked it to lpr-cups and firefox seems to print just fine. I didn't uninstall anything (all though I'll be uninstalling lpr in just a few as I don't need it) and I didn't re-install cups.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Newbie's ssh and router question Normanya Linux - Networking 8 07-31-2005 10:18 PM
Another newbie's dumb question jrholl Linux - Newbie 2 04-11-2005 08:28 PM
newbie's question on how to install kernel modules Rammand Linux - Software 1 06-06-2004 09:06 AM
printing and hard drive help sorloverboy Linux - Newbie 2 07-16-2003 09:51 AM
a newbie's c++ question j-ray Programming 8 05-13-2002 08:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration