LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 10-02-2005, 08:57 PM   #1
HeavyTortoise
LQ Newbie
 
Registered: Sep 2005
Posts: 6

Rep: Reputation: 0
CUPS problem with shared printer: lp works, lpr doesn't


I'm almost finished setting up a small home network for shared printing. The server seems to be working fine so I'll skip the details there. The only running client at the moment is a dual-boot XP/debian box. The windows side works fine using samba. The Linux side is little more problematic using cups. I configured the printer using cups' web interface, set the shared printer as default, and can print the test page from there. I can also print from the command line using lp, but not lpr. Of course, I also can't print from any application that defaults to using lpr (firebird, thunderbird, emacs, etc.). I can print from gedit as long as I manually set the default printer to "HL-1440" instead of "Generic Postscript" which always comes up as default. If I specify the shared printer using the -P flag with lpr I get an "HL-1440: unknown printer" message.

What's the best fix for this? Hopefully it's something that doesn't involve manually reconfiguring all my graphical applications.
 
Old 10-03-2005, 02:59 PM   #2
MensaWater
Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 5,950
Blog Entries: 5

Rep: Reputation: 755Reputation: 755Reputation: 755Reputation: 755Reputation: 755Reputation: 755Reputation: 755
lpr is a different printing methodology. It has its own printer configuration file so doesn't use the CUPS configuration stuff.

I installed CUPS because I couldn't get lpr working very well on my Debian. CUPS works like a champ so I don't see a reason to mess with lpr. You can have a look at /etc/printcap for setup for lpr printers. I did find threads for this in my search back then but they mostly were for setting up local (serial/parallel attached) printers. Examples for network attached did get me going but then I found I'd have to convert things to print properly.
 
  


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
Help printer from a samba shared printer from linux (using cups) epod69 Linux - Networking 3 12-04-2005 10:44 PM
CUPS and Shared Printer cthomas Linux - Networking 1 09-17-2005 05:22 PM
just installed CUPS printer is OK.. but can't print Error: loop in printcap on lpr soylentgreen Linux - Newbie 4 09-23-2004 10:41 AM
lpr & lpr-cups commands not working with CUPS trinbellwoods Debian 2 01-08-2004 08:25 AM
printer keeps trying to print postscript. works fine using lpr Choey Linux - Hardware 1 09-20-2003 06:06 PM


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

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