Printing / Print Preview problem? 
Author Message
 Printing / Print Preview problem?

I have created an application which has a CScrollView and I have added
print/print preview commands successfully, but the print preview and output
from actually printing shows the information contained in the window  to be
a lot smaller than I actually want it. Could anyone tell me how I could get
around this problem without having to change massive amounts of my code?

Thank you

Cecil.



Tue, 19 Jun 2001 03:00:00 GMT  
 Printing / Print Preview problem?

Quote:

>I have created an application which has a CScrollView and I have added
>print/print preview commands successfully, but the print preview and output
>from actually printing shows the information contained in the window  to be
>a lot smaller than I actually want it. Could anyone tell me how I could get
>around this problem without having to change massive amounts of my code?

>Thank you

>Cecil.

Since printer resolution is always not the same as screens' then you have to
scale all drawing on the printer DC.  The simplest way is to use:

CDC::SetMapMode() , CDC::SetViewportExt() and CDC::SetWindowExt()
with ISOTROPIC mode and set the viewport/window extent to proper value.

JienHou



Thu, 21 Jun 2001 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Printing/Print preview problem with CRichEditView.

2. Print/print preview problem W2K vs Win98

3. A Printing /Print Preview Problem

4. print / print preview problem

5. Printing/Print preview problem with CRichEditView.

6. Printing / Print Preview problem?

7. Rich Edit Control Printing Problem (like the print preview problem)

8. Print Preview Control and Print Preview Dialog - need some help ASAP

9. Newbie Problem with Printing and Print Preview

10. print preview and printing problem

11. Print preview / print problem

12. Newbie Problem with Printing and Print Preview

 

 
Powered by phpBB® Forum Software