print code in color

How can i print code in color when I print it go black but  in screen it is color
teeraAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

RouchieCommented:
I don't think this is possible in dreamweaver, although other editors may support it.  The colour is applied at screen level dynamically and its just the underlying text that's printed.  The only workaround would be to screen-grab then paste as a bitmap into some image-editing software, although that would only work for small portions of code.
Microsoft provide a free code editor that does print in colour, although the actual colour-coding is slightly different to DW's,
http://msdn.microsoft.com/vstudio/express/vwd/download/

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Jason C. LevineDon't talk to me.Commented:
Hi teera,

There are a couple of other workarounds:

1) If this is any version of Studio, you also have an application called HomeSite.  You can open pages with that and print in code view with color.

2) If you have access to PHP, see this PAQ: http://www.experts-exchange.com/Web/WebDevSoftware/DreamWeaver/Q_21741010.html

Vallenwood's answer works very well too.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Adobe Dreamweaver

From novice to tech pro — start learning today.