LinuxQuestions.org
Review your favorite Linux distribution.
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 08-04-2011, 08:48 AM   #1
acampbell
Member
 
Registered: Nov 2003
Location: London
Distribution: Debian
Posts: 118

Rep: Reputation: 16
CUPS - no default destination available


I have nearly got CUPS to work. I can print a test page. But if I try to do lpr I get the message about no default destination available.

I have made my printer (the only one on the system) the default but still I can't print. Could someone kindly shed some light on this?
 
Old 08-04-2011, 10:56 AM   #2
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541

Rep: Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065
Your printer should have a name of some sort -- say, InkJet or something similar -- defined in CUPS. In CUPS (http://localhost:631), click on Printers, then click on the name of the printer. Then click on Administration and finally, click on Set as Server Default. Exit CUPS.

You need to stop and restart the CUPS daemon for the change to take effect. You can find the start up program (somewhere in /etc, there will be a program that starts, stops and restarts daemons). You would
Code:
prompt: programname restart
(Sorry, I don't have any idea what that program may be in your distribution.)

Or you can simply reboot the system.

Once the CUPS daemon is restarted, if you enter
Code:
lpstat -a
on a command line you should see your printer name displayed and something like
Code:
echo "Hello, world." | lp
ought to spit out a piece of paper.

Hope this helps some.
 
Old 08-04-2011, 11:44 AM   #3
acampbell
Member
 
Registered: Nov 2003
Location: London
Distribution: Debian
Posts: 118

Original Poster
Rep: Reputation: 16
Many thanks - yes, CUPS is now working properly and printing is OK.
 
  


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
[SOLVED] Torrent clients using the incorrect default programs for "Open destination folder" indubitableness Linux - Desktop 8 12-20-2009 02:42 PM
destination unavailable W/ vpn. All other net destination o.k. MikeOfAustin Linux - Networking 1 04-07-2007 04:42 PM
lp:error- no default destination available tim1348 Linux - Newbie 2 11-05-2006 04:19 PM
Is CUPS not installed by default? christopher5 Debian 1 06-19-2005 02:18 PM
CUPS gives sporadic "no default destination" AndyCanfield Linux - General 2 03-25-2004 01:35 AM

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

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