Hello Benjamin,
Thank you for submitting this feature/enhancement request for the cups package.
You made this request quite some time ago and Ubuntu has been updated since
then.
Do you think this feature/enhancement is still needed or can we close
this bug report?
Thank you again for helping make Ubuntu better.
G
[Ubuntu Bug Squad volunteer triager]
** Changed in: cups (Ubuntu)
Status: Triaged => Incomplete
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to cups in Ubuntu.
https://bugs.launchpad.net/bugs/814908
Title:
lpstat should return failure when cupsd is not running
Status in cups package in Ubuntu:
Incomplete
Bug description:
We find ourselves needing to programmatically check whether cupsd is running
(so that we can use lpadmin to add our site's printers for our users, but there
are many other possible reasons one might want to do this). 'lpstat -r' seems
the obvious way to do so, but the command always returns zero (success).
Thus, we are forced to parse the text output of 'lpstat -r', which is quite
fragile to that text changing in a future release. 'lpstat -r' should return
nonzero when cupsd is not running, allowing for a robust determination of
whether cupsd is running (and thus other commands will fail).
This bug was observed in natty, with cups 1.4.6-5ubuntu1.3
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/814908/+subscriptions
--
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help : https://help.launchpad.net/ListHelp