LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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-28-2003, 02:42 PM   #1
undeadpenguin
LQ Newbie
 
Registered: Sep 2003
Location: Connecticut
Distribution: Arch Linux 0.5
Posts: 19

Rep: Reputation: 0
lpr


Okay, I got my printer working fine under RH9, but for some reason I can't in Slack 9.1. I configured it via localhost:631 and can print test pages fine, but if I sit down and try to use the command:
$lpr -P usblp0 [printer's name] /home/kyle/test
I get:
Status Information Attempt 1 of 3:
Sending job 'kyle@kyle+193' to usblp0@localhost
connecting to localhost, attempt 1
cannot open connection to localhost; no such file or directory

How do I fix this? If I run the same command in RH, it prints fine.
 
Old 10-28-2003, 04:17 PM   #2
undeadpenguin
LQ Newbie
 
Registered: Sep 2003
Location: Connecticut
Distribution: Arch Linux 0.5
Posts: 19

Original Poster
Rep: Reputation: 0
Bump!
 
Old 10-28-2003, 04:58 PM   #3
undeadpenguin
LQ Newbie
 
Registered: Sep 2003
Location: Connecticut
Distribution: Arch Linux 0.5
Posts: 19

Original Poster
Rep: Reputation: 0
Please help!
 
Old 10-28-2003, 05:00 PM   #4
bluephile
Member
 
Registered: Oct 2003
Posts: 45

Rep: Reputation: 15
Isn't port 631 for cups, not lpr? Although I think cups uses lpr for printing, it might not be configured correctly. That error makes it sound like lpr doesn't know about your printer.
 
Old 10-28-2003, 05:54 PM   #5
undeadpenguin
LQ Newbie
 
Registered: Sep 2003
Location: Connecticut
Distribution: Arch Linux 0.5
Posts: 19

Original Poster
Rep: Reputation: 0
How would I make lpr know about it?
 
Old 10-28-2003, 05:55 PM   #6
undeadpenguin
LQ Newbie
 
Registered: Sep 2003
Location: Connecticut
Distribution: Arch Linux 0.5
Posts: 19

Original Poster
Rep: Reputation: 0
Better yet, how do you print using cups? I tried man cups, but it says no entries (I do have it installed and the daemon is running).
 
Old 10-28-2003, 06:47 PM   #7
undeadpenguin
LQ Newbie
 
Registered: Sep 2003
Location: Connecticut
Distribution: Arch Linux 0.5
Posts: 19

Original Poster
Rep: Reputation: 0
According to the cups documentation (which I found at localhost:631), lp* or lpr are the commands to use to print with cups.

*I get the same error with lp, too.
 
Old 10-28-2003, 08:48 PM   #8
undeadpenguin
LQ Newbie
 
Registered: Sep 2003
Location: Connecticut
Distribution: Arch Linux 0.5
Posts: 19

Original Poster
Rep: Reputation: 0
Bump.
 
Old 10-29-2003, 05:48 AM   #9
undeadpenguin
LQ Newbie
 
Registered: Sep 2003
Location: Connecticut
Distribution: Arch Linux 0.5
Posts: 19

Original Poster
Rep: Reputation: 0
Bump.
 
  


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
LPR printer merchtemeagle Linux - Networking 0 11-07-2004 10:23 AM
confused... lpr/ lpr-cups shadow.blue Linux - Software 1 04-06-2004 05:15 PM
LPR -o landscape msteudel Red Hat 0 03-03-2004 04:43 PM
lpr & lpr-cups commands not working with CUPS trinbellwoods Debian 2 01-08-2004 08:25 AM
lpr as non-root Syllogism Linux - Software 0 09-09-2003 08:26 AM


All times are GMT -5. The time now is 05:27 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration