DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Ulrik Guest

    Pretty print of Visual C++ code ?


    Is it possible to print Visual C++ code with coloring and indention ?

    I've tried to use Visual Studios print on a color printer, but that ignores
    the coloring. Also, I've tried to find a Win version of the Unix tool a2ps
    but couldn't find any :-(

    Thanks in advance!

  2. #2
    Geoff (CADS) Guest

    Re: Pretty print of Visual C++ code ?

    it's because the file is only basic text and that the viewer (i.e.
    VisualStudio)
    does the actual colouring (as set in the configuration).
    best way I can think of is to write a small app (VB would be quick to knock
    up)
    that used the same colour configuration (with a list of keywords) in a
    RichTextBox
    and print from there.

    Ulrik <uol@pronosco.com> wrote in message news:3962f59e$1@news.devx.com...
    >
    > Is it possible to print Visual C++ code with coloring and indention ?
    >
    > I've tried to use Visual Studios print on a color printer, but that

    ignores
    > the coloring. Also, I've tried to find a Win version of the Unix tool a2ps
    > but couldn't find any :-(
    >
    > Thanks in advance!




Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links