On 19-Feb-07 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?
The Ubuntu permissions on /dev/lp0, I see, are
crw- rw- --- root lp
so root can cat to it, but other users can't, of course.
But, frankly, if an ordinary user can't do
lpr test.ps
without going through those hoops (or similar) then the whole business strikes me as daft. Surely lpr should run as user "lp"?
The reason I was looking at Ubuntu is that a friend of mine is very interested in trying out Linux, being smart about using computers but so far only experienced in a Windows environment, and clearly GUI-oriented.
So I thought that Ubuntu, with its claimed "ease-of-use", would be a good starting experience. And indeed, much of my "test run" on the live CD confirmed that impression. But if he can't bloody print without wriggling through a hall of mirrors and coming out back-to-front, then I'm sure he won't be impressed.
So I'm wondering now what alternative distribution would give someone a pleasant and satisfying first experience, and at the same time demonstrate the genuine qualites that make Linux a far superior operating system.
Best wishes to all, Ted.
-------------------------------------------------------------------- E-Mail: (Ted Harding) ted.harding@nessie.mcc.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 19-Feb-07 Time: 10:20:02 ------------------------------ XFMail ------------------------------