Hi guys, I was hoping to get some advice on adding a printing and print preview functionality to my program. The software currently has printing functionality that works, and it has preview functionality that somewhat works on XP only. The thing is, all of the code was written 10 years ago in PowerBuilder and converted to VC++ recently, so it's all written from scratch. I was hoping to find a way that would take advantage of some built in Microsoft/MFC functionality to make it easier on me.
Now, I've been searching for quite a while, and I've got a million ways to do it. Most recently, I found this DLL:
http://www.codeproject.com/KB/printi...extension.aspx
But, I don't know what the best way I should do it is, so I could use some advice.
I have an MFC application build using VS2008 with the 2008 Feature Pack installed. I have maybe 10 classes that have to do printing and I don't mind re-writing the printing functions from scratch. I would also prefer that the print preview window be a dialog, but I could work with it being a child window as well.
Anyway, I'm just at a loss of direction here. I don't know enough about it to know which is best, so hopefully you guys can give a few tips. Thanks in advance. I really appreciate this.

