LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 10-01-2003, 01:19 PM   #1
shepper
Member
 
Registered: Mar 2003
Location: Dry, Dusty and Conservative
Distribution: OpenBSD, Debian Wheezy/Jessie
Posts: 449

Rep: Reputation: 33
Cups problem


I am trying out Gnome 2.4 in slackware 9.1. In the past I would use the printer setup command in kde.

This time I used the web interface (http://localhost:631) to setup cups 1.1.19.
I used location = localhost and device uri = parallel:/dev/lp0 for an HP5L. I can successfully print a great looking test page.

My problem is that print commands from either root or user cannot open localhost

Here is the error output

bash-2.05b$ lpr -P HP5L Untitled1.ps
Status Information, attempt 1 of 3:
sending job 'jsh@Bear+798' to HP5L@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 'jsh@Bear+798' to HP5L@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 'jsh@Bear+798' to HP5L@localhost
connecting to 'localhost', attempt 1
cannot open connection to localhost - No such file or directory
Make sure Untitled 1the remote host supports the LPD protocol
and accepts connections from this host and from non-privileged (>1023) ports

bash-2.05b# cd /etc/cups/ppd
bash-2.05b# ls
HP5L.ppd
bash-2.05b# lpstat -t
scheduler is running
system default destination: HP5L
Printer 'HP5L@localhost' - cannot open connection - No such file or directory
Make sure the remote host supports the LPD protocol
Printer 'HP5L@localhost' - cannot open connection - No such file or directory
Make sure the remote host supports the LPD protocol

I have tried googling and most hits were with printing either to Samba or Windows networks. I do not know alot about networking as I am using a personal desktop system although I think my dhcp connection via my cisco dsl modem has the modem assign a location to the desktop. Most Slackware documentation is for an apsfilter setup.

Any help appreciated

Last edited by shepper; 10-01-2003 at 01:43 PM.
 
Old 10-04-2003, 12:49 PM   #2
shepper
Member
 
Registered: Mar 2003
Location: Dry, Dusty and Conservative
Distribution: OpenBSD, Debian Wheezy/Jessie
Posts: 449

Original Poster
Rep: Reputation: 33
An answer to my problem from the linuxprinting site. Apparently in Slackware 9.1 the LPrng package prevents cups from writing a good printcap file. Make sure the LPRng package is removed and then remove your old cups printer in the cups administration web interface. Then reinstall from the web interface.
 
  


Reply



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
Cups problem hitest Debian 3 09-23-2005 09:50 PM
CUPS problem.... nemesi Slackware 7 04-13-2005 02:01 AM
Printing Problem (cups / cups-lpd) daleman Linux - Software 3 04-08-2005 08:01 AM
CUPS problem need help balam Linux - Networking 2 01-27-2004 09:49 PM
Problem with CUPS tnewby Linux - Newbie 3 06-02-2003 03:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 02:41 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