Solved

MFC printing

Posted on 2004-10-13
7
232 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Define unique primary key 9 95
format the code in java 6 109
countEvens challenge 2 113
wordcount challenge 11 145
Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
In this post we will learn different types of Android Layout and some basics of an Android App.
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.
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

735 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