A couple of articles you might want to take a look at. How to Do Away with the Print Dialog Box in MFC Printing Article ID: Q140538 http://support.microsoft.com/support/kb/articles/q140/5/38.asp?FR=0 Print from a Class Other Than CView Article ID: Q133275 http://support.microsoft.com/support/kb/articles/q133/2/75.asp?FR=0
and there is an example explaining hwo to use it http://www.vchelp.net/vchelp/archive.asp?type_id=5&class_id=1&cata_id=1&article_id=536
我在做中
Article ID: Q140538
http://support.microsoft.com/support/kb/articles/q140/5/38.asp?FR=0 Print from a Class Other Than CView
Article ID: Q133275
http://support.microsoft.com/support/kb/articles/q133/2/75.asp?FR=0
http://www.vchelp.net/vchelp/archive.asp?type_id=5&class_id=1&cata_id=1&article_id=536