[nflug] printing color terminal output
Joshua Johnson
joshpauljohnson at gmail.com
Fri Apr 18 13:12:42 EDT 2008
How are you sending it to the printer? Are you just piping the output to it?
On Fri, Apr 18, 2008 at 12:11 PM, Darin Perusich <
Darin.Perusich at cognigencorp.com> wrote:
> I'm using a color diff utility called dwdiff to colorize the differences
> between two files, it works perfectly. Now I'd like to send that colorized
> output to a color printer but instead of printing the colored text the ascii
> codes for the colors are printing. Any thoughts on how I can get around
> this?
>
> This is an example the number "1:47.01" is red and "1:47.30" is green but
> the printed text is like the second line.
>
> Run Time: 1:47.01 1:47.30
> Run Time: ^[[0;31;1m1:47.01^[[0m ^[[0;32;1m1:47.30^[[0m
>
> Thanks
>
> --
> Darin Perusich
> Unix Systems Administrator
> Cognigen Corporation
> 395 Youngs Rd.
> Williamsville, NY 14221
> Phone: 716-633-3463
> Email: darinper at cognigencorp.com
> _______________________________________________
> nflug mailing list
> nflug at nflug.org
> http://www.nflug.org/mailman/listinfo/nflug
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.nflug.org/pipermail/nflug/attachments/20080418/7293a174/attachment-0001.html
More information about the nflug
mailing list