[CentOS] Re: centos] How to print

Sun May 7 21:45:40 UTC 2006
William L. Maltby <BillsCentOS at triad.rr.com>

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>

-- 
Bill
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.centos.org/pipermail/centos/attachments/20060507/d69988d5/attachment-0005.sig>