Pretty print of Visual C++ code ?


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Pretty print of Visual C++ code ?

  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!




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


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center