Re: centos] How to print

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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: not available
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.bin

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux