How to print

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



On Sat, 2006-05-06 at 10:23 -0600, Collins Richey wrote:
> On 5/6/06, centos@xxxxxxxxxxxxxxx <centos@xxxxxxxxxxxxxxx> wrote:
> > How can I print, from the command line, a png file?
> >
> 
> Presuming that you have cups installed in the normal fashion and a
> default printer, just
> 
> cat xxx.png | lpr

BTW, for *any* process like this taht does not handle a file name on a
command line, if not fileter is needed (no concatenation, slicing,
converting...) it is always more efficient to do an I/O redirection.

  lpr <xxx.png

standard shell stuff. I propose we teach "The Right Way" (TM).

> <snip sig>

HTH
-- 
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/20060506/eaa34e7c/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