Click here to Skip to main content
15,927,514 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionBlank printout to printer Pin
Joe Smith IX9-Jun-08 7:04
Joe Smith IX9-Jun-08 7:04 
AnswerRe: Blank printout to printer [modified] Pin
Nelek9-Jun-08 8:12
protectorNelek9-Jun-08 8:12 
GeneralRe: Blank printout to printer Pin
Joe Smith IX9-Jun-08 8:33
Joe Smith IX9-Jun-08 8:33 
GeneralRe: Blank printout to printer Pin
Nelek9-Jun-08 8:59
protectorNelek9-Jun-08 8:59 
GeneralRe: Blank printout to printer Pin
Joe Smith IX9-Jun-08 9:22
Joe Smith IX9-Jun-08 9:22 
GeneralRe: Blank printout to printer Pin
Nelek9-Jun-08 9:34
protectorNelek9-Jun-08 9:34 
GeneralRe: Blank printout to printer Pin
Joe Smith IX9-Jun-08 9:53
Joe Smith IX9-Jun-08 9:53 
GeneralRe: Blank printout to printer Pin
Nelek9-Jun-08 10:02
protectorNelek9-Jun-08 10:02 
My private laptop is broken and in this (work) I have not the VC++, I won't be able to compile.

On the other hand...

Quote from the article:
In order to keep the MFC Doc/View feel I recomend providing helper callback functions OnBeginPrinting, OnEndPrinting and OnPrint similar to the CView versions. A CDC and a CPrintInfo object is passed into each of these functions. You will have to provide these functions yourself.

Read carefully the introduction. These functions are to be made into the dialog.

Other thing that you can make is to track down your code when you call the OnPrint of your recport view, and see if the pDC there is getting the right values (think that I guess is your problem).

What are you using your ReportViewDlg for?

Regards.
--------
M.D.V. Wink | ;)

If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
“The First Rule of Program Optimization: Don't do it. The Second Rule of Program Optimization (for experts only!): Don't do it yet.” - Michael A. Jackson
Rating helpfull answers is nice, but saying thanks can be even nicer.

GeneralRe: Blank printout to printer Pin
Joe Smith IX9-Jun-08 10:18
Joe Smith IX9-Jun-08 10:18 
GeneralRe: Blank printout to printer Pin
Nelek9-Jun-08 10:32
protectorNelek9-Jun-08 10:32 
GeneralRe: Blank printout to printer Pin
Joe Smith IX9-Jun-08 16:44
Joe Smith IX9-Jun-08 16:44 
GeneralRe: Blank printout to printer Pin
Nelek11-Jun-08 8:16
protectorNelek11-Jun-08 8:16 
NewsRe: Blank printout to printer Pin
bulg9-Jun-08 11:13
bulg9-Jun-08 11:13 
GeneralRe: Blank printout to printer Pin
bulg9-Jun-08 11:21
bulg9-Jun-08 11:21 
GeneralRe: Blank printout to printer Pin
Joe Smith IX9-Jun-08 16:29
Joe Smith IX9-Jun-08 16:29 
QuestionHelp me! Pin
youareabigboy9-Jun-08 6:03
youareabigboy9-Jun-08 6:03 
QuestionRe: Help me! Pin
CPallini9-Jun-08 6:57
mveCPallini9-Jun-08 6:57 
JokeRe: Help me! Pin
Nelek9-Jun-08 7:56
protectorNelek9-Jun-08 7:56 
AnswerRe: Help me! Pin
Nelek9-Jun-08 9:52
protectorNelek9-Jun-08 9:52 
AnswerRe: Help me! Pin
Hamid_RT9-Jun-08 20:28
Hamid_RT9-Jun-08 20:28 
QuestionPlease HELP me for the Pseudocode for this one: Pin
ajakp9-Jun-08 4:43
ajakp9-Jun-08 4:43 
QuestionRe: Please HELP me for the Pseudocode for this one: Pin
Maximilien9-Jun-08 4:45
Maximilien9-Jun-08 4:45 
AnswerRe: Please HELP me for the Pseudocode for this one: Pin
ajakp9-Jun-08 5:03
ajakp9-Jun-08 5:03 
AnswerRe: Please HELP me for the Pseudocode for this one: Pin
Maximilien9-Jun-08 5:26
Maximilien9-Jun-08 5:26 
JokeRe: Please HELP me for the Pseudocode for this one: Pin
David Crow9-Jun-08 7:05
David Crow9-Jun-08 7:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.