Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 10-02-2005, 08:57 PM   #1
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
LQ Guru
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,454
Blog Entries: 15

Rep: Reputation: 1449Reputation: 1449Reputation: 1449Reputation: 1449Reputation: 1449Reputation: 1449Reputation: 1449Reputation: 1449Reputation: 1449Reputation: 1449
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.


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 > Forums > Linux Forums > Linux - Software

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