LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 01-11-2008, 02:42 PM   #1
hedpe
Member
 
Registered: Jan 2005
Location: Pittsburgh
Distribution: Ubuntu
Posts: 378

Rep: Reputation: 30
help with cups, lpr, and ubuntu


Hi all,

First, I have an Ubuntu server install built up to a xfce desktop, not the standard Ubuntu desktop so keep that in mind.

My problem is that CUPS is installed, but several applications are having trouble printing. The destination is an HP LaserJet 9050dn.

I installed cupsys first by:
Code:
sudo apt-get install cupsys
I setup my printer via a print server and specified the appropriate queue via the following:
  • Device: LPD/LPR Host or Printer
  • Device URI: lpd://yellow.srv.cs.cmu.edu/opal
  • Make: HP
  • Model: HP LaserJet Series PCL 4/5, 1.3

After doing this, I can successfully print a test page using CUPS.

But now the problem comes with just about every single other application. I am mainly interested in printing PDFs. I have tried printing with evince, acroread, and gv... all of which fail. I think the underlying problem is that it needs access to lpr, so I did:
Code:
sudo apt-get install lpr
But that doesn't seem to be enough. If I open up a PDF with evince and click print, i see my printer name and description, but it does not have a status. If I click print, I never ever see the job using the CUPS interface like I do with the test page, and the job never seems to enter the printer queue.

Using acroread, when I click on print it takes ~15 seconds to pop up, it has the proper printer name, then next to machine status it says "connection to cyprus.cmcl.cs.cmu.edu is down." But why does it say that? That's my localhost, not the printer host name. If I click print I just get an error.

I would greatly appreciate any help.

Thanks!
George

Last edited by hedpe; 01-12-2008 at 02:21 PM.
 
Old 01-11-2008, 02:48 PM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
Hello,

Is your printer locally connected to the machine you are printing from, or is it connected to a CUPS server and the system you are printing from is a separate system?

-Chad
 
Old 01-11-2008, 02:52 PM   #3
hedpe
Member
 
Registered: Jan 2005
Location: Pittsburgh
Distribution: Ubuntu
Posts: 378

Original Poster
Rep: Reputation: 30
it's connected to a server, i don't know if its a cups server or not. I can even connect directly to the printer using IPP and printing a test page:
ipp://opal.prt.cs.cmu.edu/ipp/

so it doesn't seem to be a problem with CUPS connecting to the printer, it seems to be the interaction between my applications and cups that is incorrect
 
Old 01-12-2008, 02:03 PM   #4
hedpe
Member
 
Registered: Jan 2005
Location: Pittsburgh
Distribution: Ubuntu
Posts: 378

Original Poster
Rep: Reputation: 30
^^^^^^^^^^^^^
 
Old 01-12-2008, 02:40 PM   #5
hedpe
Member
 
Registered: Jan 2005
Location: Pittsburgh
Distribution: Ubuntu
Posts: 378

Original Poster
Rep: Reputation: 30
solved, i don't know which fixed it exactly, but i installed:
Code:
cupsys-client foomatic-db foomatic-filters foomatic-db-hpijs foomatic-gui
 
  


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
what is the different between lp, lpr, llpr, lpr.cups... lnthai2002 Linux - Software 5 04-13-2006 05:09 PM
Using a LPR driver under CUPS koyi Debian 1 06-03-2005 01:05 AM
confused... lpr/ lpr-cups shadow.blue Linux - Software 1 04-06-2004 06:15 PM
CUPS and LPR printing carlmarshall Linux - Newbie 2 01-23-2004 02:17 PM
lpr & lpr-cups commands not working with CUPS trinbellwoods Debian 2 01-08-2004 09:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:37 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration