Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Want to print source code in color - How ??

Status
Not open for further replies.

Raccoon

Programmer
Aug 18, 1999
92
US
I want to print my source code on my ink jet in color just as it appears on my screen. It comes out in b&w. I have the same problem with Visual Basic.
 
I am replying to my original post to get this question back in front of everyone. I know that Borland Visual C++ allows the source to be printed in color, why not Microsoft? [sig][/sig]
 
Maybe it'll be available in VFP 7, but I doubt it.

Perhaps you can load it into a 3rd-party editor that supports syntax coloring and print it from there.

Any MultiEdit users out there that can answer this? [sig]<p>Robert Bradley<br><a href=mailto: > </a><br><a href= - Visual FoxPro Development</a><br> [/sig]
 
I'm not aware of any other editors out there (like textPad) that support VFP... I have never run across one anyway. [sig]<p> Pete<br><a href=mailto:blindpete@mail.com>blindpete@mail.com</a><br><a href= > </a><br>What your mother told you is true! You will go blind! (from moonshine anyway)[/sig]
 
I made a top level form to import code and print it with color. It may actually end up part of a report designer but I'll ask if I can release it. If anyone wants it LMK. I love it cause I like colored code on printed paper where I can study at the Waffle House where I'm also want to fire up my notebook too <g> [sig]<p>John Durbin<br><a href=mailto: john@johndurbin.com> john@johndurbin.com</a><br><a href= </a><br>MCP Visual FoxPro<br>
ICQ VFP ActiveList #73897253[/sig]
 
Release it, release it, it sounds cool - or tell use how you coded it ;-) [sig][/sig]
 
On the Universal Thread Form in the files section you can find a tool that allows you to process text and add HTML tags for coloring of VFP code. Than you can print such text as HTML - will be in colors. I have this tool and want to improve it to use new commands rom VFP6 and fix some bugs. [sig]<p>Vlad Grynchyshyn<br><a href=mailto:vgryn@softserve.lviv.ua>vgryn@softserve.lviv.ua</a><br>[/sig]
 
I didn't think of that. Using Mike Hellend's code gets you to HTML but I didn't think of printing the HTML output. Mine converts the text from the VFP code editor to RTF. I'll find out about releasing it today. [sig]<p>John Durbin<br><a href=mailto: john@johndurbin.com> john@johndurbin.com</a><br><a href= </a><br>MCP Visual FoxPro<br>
ICQ VFP ActiveList #73897253[/sig]
 
Just copy HTML text to file, open it in browser and print... [sig]<p>Vlad Grynchyshyn<br><a href=mailto:vgryn@softserve.lviv.ua>vgryn@softserve.lviv.ua</a><br>[/sig]
 
Or Word or WordPad [sig]<p>John Durbin<br><a href=mailto: john@johndurbin.com> john@johndurbin.com</a><br><a href= </a><br>MCP Visual FoxPro<br>
ICQ VFP ActiveList #73897253[/sig]
 
I am not sure what you mean by Universal Thread Form. How can I find the tool you mention?
[sig][/sig]
 
Actually its not there I don't think. I'll let you know by the beginning of next week if I can release my utility to print VFP code in color. I'm gonna add support to print it in the default values you can specify in Tools/Options/Syntax Colors

If you're talking about Mike Helland's code it's called mhHTML. I'm unsure which section of the Files section it is but it's there. But you can find it at his site [sig]<p>John Durbin<br><a href=mailto: john@johndurbin.com> john@johndurbin.com</a><br><a href= </a><br>MCP Visual FoxPro<br>
ICQ VFP ActiveList #73897253[/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top