On Mon, Feb 19, 2007 at 08:56:21AM +0000, MJ Ray wrote:
"Tim Green" timothy.j.green@gmail.com wrote:
On 2/18/07, Ted Harding ted.harding@nessie.mcc.ac.uk wrote:
sudo cat test.ps >/dev/lp0
This won't do what you expect. The pipe to /dev/lp0 will still be performed as you, not root. Extra quotes might help, but you'd have to consult the shell manual.
My usual trick is: cat test.ps | sudo tee /dev/lp0 >/dev/null
How do you eat yours?
My usual trick is to make sure that cups is running correctly and that my user has the right groups to print... I do find that quite useful ;)