Gnuru.org
Productive Linux


Subscribe

 Subscribe via Feedburner in a reader

Enter your email address:

Delivered by FeedBurner


Login
Login:
Password:



Don't have an account?
Sign up to Gnuru.org
Forgot your password?

lpr: error - no default destination available
4 February 2010 @ 21:30 GMT
by Paul

Like most people I use CUPS for printing and the cups-bsd package for printing from the command line.

Printing like this:

lpr filename

Resulted for some reason had started producing this error:

lpr: Error - no default destination available.

The command

lpstat -p
gave a list of printers available. From this list choosing one to be the default fixed the problem:

lpoptions -d printername

Cool!




Comments disabled