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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 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!aioe.org!.POSTED!not-for-mail From: Manuel Gomez Newsgroups: comp.lang.ada Subject: Re: Pretty printing the pretty print. Date: Thu, 26 Sep 2013 20:38:32 +0200 Organization: Aioe.org NNTP Server Message-ID: References: NNTP-Posting-Host: 0Zm8kSeY3bZQdyPsB8c6uw.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0 X-Notice: Filtered by postfilter v. 0.8.2 Xref: news.eternal-september.org comp.lang.ada:17302 Date: 2013-09-26T20:38:32+02:00 List-Id: El 25/09/13 12:36, Mike H escribió: > 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? > The Emacs editor has three printing outputs: plain text, rich format and b/w rich format. Try using the menu entry File -> Postscript Print Buffer, which invokes this Emacs command: > > ps-print-buffer-with-faces is an interactive compiled Lisp function in > `ps-print.el'. > > It is bound to . > > (ps-print-buffer-with-faces &optional FILENAME) > > Generate and print a PostScript image of the buffer. > Like `ps-print-buffer', but includes font, color, and underline information in > the generated image. This command works only if you are using a window system, > so it has a way to determine color values. -- Manuel