From owner-freebsd-questions@FreeBSD.ORG Thu Apr 19 22:17:57 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3BE9716A403 for ; Thu, 19 Apr 2007 22:17:57 +0000 (UTC) (envelope-from howie@thingy.com) Received: from mail.thingy.com (wotsit.thingy.com [212.21.100.67]) by mx1.freebsd.org (Postfix) with ESMTP id 9DBEF13C45D for ; Thu, 19 Apr 2007 22:17:56 +0000 (UTC) (envelope-from howie@thingy.com) Received: (qmail 22232 invoked by uid 0); 19 Apr 2007 23:17:54 +0100 Received: from unknown (HELO ?192.168.1.11?) (howie@thingy.com@212.21.124.49) by wotsit3.thingy.com with AES256-SHA encrypted SMTP; 19 Apr 2007 23:17:54 +0100 Message-ID: <4627EA96.1030600@thingy.com> Date: Thu, 19 Apr 2007 23:17:58 +0100 From: Howard Jones User-Agent: Thunderbird 1.5.0.10 (Macintosh/20070221) MIME-Version: 1.0 To: Andrew Falanga , freebsd-questions@freebsd.org References: <340a29540704191410l1d45f0c4w9af97f8ec324f405@mail.gmail.com> In-Reply-To: <340a29540704191410l1d45f0c4w9af97f8ec324f405@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: [freebsd-questions] Code beautification and/or printing utilities that are not part of an editor X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Apr 2007 22:17:57 -0000 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? > > If it's something as simple as a string of chained command line aps, > hey, that's fine. Please someone point me in the correct direction. > vgrind(1) does this, and you already have it installed (it's in /usr/bin). Best Regards, Howie