Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 11-17-2003, 11:24 AM   #1
Registered: Mar 2003
Location: Connecticut
Distribution: Slackware, OpenBSD
Posts: 61

Rep: Reputation: 15
CUPS headache

Hi all,

I'm trying to set up cups to print with a network printer.

I did the whole http://localhost:631 thing.

The test page prints fine, but when I try to print from anything else it doesn't work.
Here's a sample from the command line:

ang@pc-angelo:~> lpr -Pjet5m /etc/hosts
Status Information, attempt 1 of 3:
sending job 'ang@pc-angelo+74' to jet5m@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

Here's the /etc/printcap:
# This file was automatically generated by cupsd(8) from the
# /etc/cups/printers.conf file. All changes to this file
# will be lost.

I set up the printer in CUPS with device URI: lpd://

Any help is appreciated.

Old 11-17-2003, 11:49 AM   #2
Registered: Aug 2003
Location: Boston, MA
Distribution: Slackware-current
Posts: 142

Rep: Reputation: 15
Have you uninstalled the lprng package yet? If not uninstall it and reinstall cups then run cupsd and it should work.
Old 11-17-2003, 11:59 AM   #3
Registered: Mar 2003
Location: Connecticut
Distribution: Slackware, OpenBSD
Posts: 61

Original Poster
Rep: Reputation: 15
Sweet! Works like a charm now.



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
Printing Problem (cups / cups-lpd) daleman Linux - Software 3 04-08-2005 09:01 AM
remote cups printing to a smb/cups print server? justanothergeek Linux - Networking 2 09-15-2004 09:31 AM
CUPS, Samba, and a whole lotta headache jspaceman Linux - Networking 2 10-13-2003 11:13 PM
Slackware 9 and CUPS (CUPS=crap) - printing carboncopy Slackware 21 07-29-2003 04:27 PM
headache... katana Linux - General 2 08-02-2001 08:44 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:47 PM.

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