From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.224.93.19 with SMTP id t19mr15857126qam.3.1380119223912; Wed, 25 Sep 2013 07:27:03 -0700 (PDT) X-Received: by 10.49.1.112 with SMTP id 16mr581055qel.7.1380119223892; Wed, 25 Sep 2013 07:27:03 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!eu.feeder.erje.net!feeder.erje.net!us.feeder.erje.net!news.glorb.com!d5no1802205qap.0!news-out.google.com!9ni193qaf.0!nntp.google.com!d5no1885002qap.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Wed, 25 Sep 2013 07:27:03 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=20.132.64.141; posting-account=rdRzuwoAAAAyW3CSBhs_xgfCUJSc1aNt NNTP-Posting-Host: 20.132.64.141 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Pretty printing the pretty print. From: Britt Injection-Date: Wed, 25 Sep 2013 14:27:03 +0000 Content-Type: text/plain; charset=ISO-8859-1 Xref: news.eternal-september.org comp.lang.ada:17287 Date: 2013-09-25T07:27:03-07:00 List-Id: On Wednesday, September 25, 2013 6:36:52 AM UTC-4, Mike H wrote: > For the first time ever, I have needed to print some code fragments. The default print file command in the GNAT studio produced black and white plain text. Is there something that will produce a more "illuminated" output? Which platform? On Linux GPS printes using a2ps. I use the a2ps "--prologue=color" switch to print the color syntax highlighting. For example, I have the following in my GPS->Preferences->External Command->Print command string: a2ps --prologue=color --rows=1 --columns=1 --sides=duplex --major=rows --chars-per-line=140 --line-numbers=5