[CentOS] How to print

William L. Maltby BillsCentOS at triad.rr.com
Sat May 6 16:27:47 UTC 2006


On Sat, 2006-05-06 at 10:23 -0600, Collins Richey wrote:
> On 5/6/06, centos at 911networks.com <centos at 911networks.com> 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

Try "lpr <filename>"

Avoids the process for a filter (cat) which is doing nothing for you.

> <snip sigs>

HTH
-- 
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/20060506/fd1fce96/attachment.sig>


More information about the CentOS mailing list