[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#222216: Can't set default destination in cups



Package: cupsys
Version: 1.1.20candidate6-6

Note: I experienced similar problems with version 1.1.19.

I have the simplest possible cups configuration: a single printer
connected via a local parallel interface. The error message is:
[jason@jdc]$ lp
lp: error - no default destination available.
[jason@jdc]$ lpr
lpr: error - no default destination available.

lp -d local-printer
works correctly however.

Under version 1.1.20candidate6, but not under version 1.1.19,
lpadmin -d local-printer
produces a correct log entry and inserts
<DefaultPrinter local-printer>
into /etc/cups/printers.conf

lpoptions -d local-printer
whether issued as root (creating /etc/cups/lpoptions) or as a user
(~/.lpoptions) has no effect on the behaviour of either lp or lpr - I
still get the "no default destination available" error unless the -d
option is used.

The printer is a Postscript printer, configured using lpadmin after
copying the ppd file into /usr/share/cups/model.

I have checked the manual pages carefully; I have tried everything I
can think of but with no luck. I am starting to think there's a bug
somewhere.



Reply to: