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