Link to home
Start Free TrialLog in
Avatar of novakv
novakv

asked on

MFC printing

I have a simple dialog application (it actually wizard aplication). What I need is just to print single page of some text and table. I am completely unexperienced in printing  and after browsing in MSDN I feel that printing is not quite trivial task.

I need to show the right (simplest) way how to create the document and send it to the printer. The document is only prepared authomatically by the application.

SOLUTION
Avatar of Amritpal Singh
Amritpal Singh
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of novakv
novakv

ASKER

I should have maybe written - creating document - as the caption. I actually need to create the document from dialog based aplication not single or multiple document aplication...

I need to choose font and create a simple table and print the whole thing. It will always be single page.
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of novakv

ASKER

None of this helped me. Actually the problem is to create the document.
Maybe I would be satisfied to load a MS Word document, fill out some items and then print it.

I am stuck now on CreateInstance of "Word.Document" (E_NOINTERFACE), using office2003.


SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
For word automation, see the following
http://www.fruitfruit.com/vc/activex/word.txt
Avatar of novakv

ASKER

Since my question was not appropriate I will raise new one and close this one. thanks for help anyway.