LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 07-28-2009, 01:25 AM   #1
klee12
Member
 
Registered: May 2007
Posts: 48

Rep: Reputation: 15
Can't print under CUPS


Hello,

I'm running on the Debian desktop and I'm having trouble printing. I've downloaded PDD and configured the CUPS printing system using the utility under System on the tool bar. The commands lpr and lp from a terminal window does nothing; if I do lpstate I see the jobs in the queue; if I do lprm file, then the file is removed from the queue. I did ps -aux | grep cups and see the cupsd is running.

I disconnected the printer from the USB port and connected it to my MacBook which also uses cups. It works with the Mac.

Thanks in advance for any help

klee12
 
Old 07-28-2009, 02:52 AM   #2
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Configure CUPS only with its web interface for a more predictable setup. Using utilities to setup CUPS is not reliable and not predictable unless the GUI program is compatible with the version of CUPS that you are using. Also if you are using a ppd file that does not come from linuxprinting.org or the several hundreds that comes included in your CUPS installation, you may need to install additional programs depending what the ppd file requires. Set CUPS logging level to debug or debug2 and check the logs.
 
Old 07-29-2009, 12:28 AM   #3
klee12
Member
 
Registered: May 2007
Posts: 48

Original Poster
Rep: Reputation: 15
Thanks for your suggestions, Electro.

I'm installing Debian fresh from the CD, so I don't think there is a conflict in versions of CUPS and the OS I think. If Debian did something weird, CUPS might not know about it.

My PPD came from Lexmark, so I think the PPD is OK. My test program was pure text and the printer can do postscript so I don't think it's a matter of drivers. I did poke around localhost:631 and under the Printers tab, a button that said Print Test Page. I pushed the button and got the message

(Default Printer) "recoverable: Network host 'localhost' is busy; will retry in 30 seconds..."

I did ifconfig, and lo was up. I pinged local host and all was well.

So it looks like a network problem.

I appreciate your help and suggestions.

klee12
 
Old 08-04-2009, 03:30 PM   #4
klee12
Member
 
Registered: May 2007
Posts: 48

Original Poster
Rep: Reputation: 15
I looked in docs and didn't find much. So, in desperation I used Electros suggestion and configured with CUPS. It worked. The problem was, I think, that Debian (or I) specify the default printer. Dumb me.

So thanks Electro. Problme solved.

klee12
 
  


Reply



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
CUPS - Print jobs shows completed, but page doesn't print hikerguy Linux - Software 10 05-12-2017 12:17 PM
CUPS, option to print self-test page and clean print heads greyed out? BallsOfSteel Linux - Software 1 08-13-2008 03:22 PM
EPSON Stylus Photo R200 - CUPS+Gimp-Print v4.2.7 does not print anymore Harp00 Linux - Newbie 1 05-24-2006 10:59 AM
OfficeJet G85, CUPS Web based Admin test print works, lpr/lp dose not. ptal-print OK. NLR Linux - Hardware 2 09-20-2004 02:59 PM
remote cups printing to a smb/cups print server? justanothergeek Linux - Networking 2 09-15-2004 08:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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

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
Open Source Consulting | Domain Registration