From owner-freebsd-questions@FreeBSD.ORG Thu Apr 19 21:46:18 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 ACAB816A400 for ; Thu, 19 Apr 2007 21:46:18 +0000 (UTC) (envelope-from gablebarber@gmail.com) Received: from ik-out-1112.google.com (ik-out-1112.google.com [66.249.90.180]) by mx1.freebsd.org (Postfix) with ESMTP id 449EA13C4C3 for ; Thu, 19 Apr 2007 21:46:18 +0000 (UTC) (envelope-from gablebarber@gmail.com) Received: by ik-out-1112.google.com with SMTP id c21so808857ika for ; Thu, 19 Apr 2007 14:46:17 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=q06o7jJJolofeU7eZYWUPgYq2d2x1U/BlZ/Tna3L0446UxndLtdYlDEQ1MFzhX534fs+WiKnGQwAPgU6LVEM4zwKTGhFQMLEV8Gfsf5i3PaY2XWTCS4ZXIZVUPUFr3Odk78jhlMvm/4Zw8mnt+jata9efRXHGPQ6cvzgxN7XqwE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=nl+vERLKL96mdAomFxFG5V9QnVwNDpdfTqNC9BpDkSPvjxIqSwkiFLwJMEgOtWj4iMuUNFvLYGBOWRPFhfDyEWo9gIWMLFGR7IpBfUfbhcDMCEfj4nDszl0YjwXDnQNSiko1QW51uBgCdPBJ9d6z+R278eCzQphbDISDnrz6Yhk= Received: by 10.78.47.15 with SMTP id u15mr384079huu.1177017716187; Thu, 19 Apr 2007 14:21:56 -0700 (PDT) Received: by 10.78.187.10 with HTTP; Thu, 19 Apr 2007 14:21:56 -0700 (PDT) Message-ID: Date: Thu, 19 Apr 2007 16:21:56 -0500 From: "Gable Barber" To: "Andrew Falanga" In-Reply-To: <340a29540704191410l1d45f0c4w9af97f8ec324f405@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <340a29540704191410l1d45f0c4w9af97f8ec324f405@mail.gmail.com> Cc: freebsd-questions Subject: Re: 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 21:46:18 -0000 On 4/19/07, 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. > > Andy > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > You might be able to find what you are looking for here: http://www.freebsd.org/cgi/ports.cgi?query=printing&stype=all&sektion=all I see a few potentially interesting ports, although I have no personal experience with them. http://cvsweb.freebsd.org/ports/print/mp-a4 http://cvsweb.freebsd.org/ports/print/mp-letter Good Luck, Gable