Date: Thu, 19 Apr 2007 23:03:00 -0500 From: David Kelly <dkelly@hiwaay.net> To: "Andrew Falanga" <af300wsm@gmail.com> Cc: freebsd-questions <freebsd-questions@freebsd.org> Subject: Re: Code beautification and/or printing utilities that are not part of an editor Message-ID: <250EA08C-8137-43E1-9007-2626FE5451F6@hiwaay.net> In-Reply-To: <340a29540704191410l1d45f0c4w9af97f8ec324f405@mail.gmail.com> References: <340a29540704191410l1d45f0c4w9af97f8ec324f405@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Apr 19, 2007, at 4:10 PM, Andrew Falanga wrote: > Another question for everyone. Are there any programs, hopefully > available in the ports, that one can use to print source code files to > a printer (or create as a postscript file)? > > I'd like something that I can feed a C++ program, have it parse > through the code, print line numbers to the left of the page and > (optionally) color code the syntax. Does anything like this exist? a2ps was once a nice and simple ascii to PS converter then it bloated into a source code pretty-printer. Has been at least 10 years since I used it. GNU indent is a very useful code reformatter. -- David Kelly N4HHE, dkelly@HiWAAY.net ======================================================================== Whom computers would destroy, they must first drive mad.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?250EA08C-8137-43E1-9007-2626FE5451F6>