On Sun, 2006-05-07 at 15:55 -0400, R P Herrold wrote:
On Sat, 6 May 2006, William L. Maltby wrote:
cat xxx.png | lpr
Try "lpr <filename>"
Avoids the process for a filter (cat) which is doing nothing for you.
While this is true in Centos, if one moves between *nix implementations, it is an unsafe habit to have (using lpr directly), as in early Unix implementations, lpr is occasionally set to _delete_ the file it has just completed printing.
Not to be anal, but then
lpr < filename
should be safe.
-- Russ Herrold
<snip sig stuff>