Printing Code

Posted on 2000-05-17
Last Modified: 2010-05-02
Does anyone know if there is a way to print out code listings so they print out simular to what you se on the screen i.e. reserve words are blue comments are green etc.
Question by:TDK031400

Expert Comment

by:Bhaskar Ganapathe
Comment Utility
hi tdk
  use color printer

  the same effect as seen in the screen will be seen in the printer.

Expert Comment

Comment Utility
I think bhaspup is right

Expert Comment

Comment Utility
try the demo first...

Joy and Happiness
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

LVL 43

Accepted Solution

TimCottee earned 20 total points
Comment Utility
Check out I haven't tried it but it claims to do exactly what you are asking for.
LVL 28

Expert Comment

Comment Utility
you can use a richtextbox control to load the code into and print it...i have code that colors the words as they appear in the VB IDE


Author Comment

Comment Utility
Thank's Tim, It's a good little prog.

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now