Solved

MFC printing

Posted on 2004-10-13
7
205 Views
Last Modified: 2013-11-20
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.

0
Comment
Question by:novakv
7 Comments
 
LVL 6

Assisted Solution

by:Amritpal Singh
Amritpal Singh earned 25 total points
ID: 12296007
plz have a look at the following articles and examples

http://www.funducode.com/freevc/printing.htm
0
 

Author Comment

by:novakv
ID: 12296038
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.
0
 
LVL 12

Accepted Solution

by:
OnegaZhang earned 75 total points
ID: 12297742
0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 

Author Comment

by:novakv
ID: 12298504
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.


0
 
LVL 2

Assisted Solution

by:samooo_vc
samooo_vc earned 25 total points
ID: 12303153
great printing support for richedit control...much easier to use....
read http://support.microsoft.com/default.aspx?scid=kb;EN-US;129860
0
 
LVL 12

Expert Comment

by:OnegaZhang
ID: 12304128
For word automation, see the following
http://www.fruitfruit.com/vc/activex/word.txt
0
 

Author Comment

by:novakv
ID: 12307710
Since my question was not appropriate I will raise new one and close this one. thanks for help anyway.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now