Solved

MFC printing

Posted on 2004-10-13
7
243 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
 Watch the Recording: Learning MySQL 5.7

MySQL 5.7 has a lot of new features. If you've dabbled with an older version of MySQL, it is definitely worth learning.

 

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

Get MongoDB database support online, now!

At Percona’s web store you can order your MongoDB database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit card. Handle your MongoDB database support now!

Question has a verified solution.

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

Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
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…
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 tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…

626 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