Solved

MFC printing

Posted on 2004-10-13
7
214 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Decoding 32 bit binary streams 6 37
unable to delete all specified values regedit 38 283
haveThree challenge 22 114
Annoying "thing" blocks my view 4 82
This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
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.
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

867 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

16 Experts available now in Live!

Get 1:1 Help Now