Hello,
I'm de-lurking to ask what I hope is an easy question.
Is there an easy way to tell programatically if the printer connected to the parallel port as /dev/lp0 is physically powered on or not.
Thanks
Nev
On Mon, 2009-03-23 at 12:17 +0000, nev young wrote:
Hello,
I'm de-lurking to ask what I hope is an easy question.
Is there an easy way to tell programatically if the printer connected to the parallel port as /dev/lp0 is physically powered on or not.
Does lpstat -a show a different status if it is online or not ?
Or was you looking for something lower level than that ?