Re: Print and Print Preview inconsistency problem
From: Paul S. Ganney (paul.ganney_at_hey.nhs.uk)
Date: 09/30/04
- Next message: Ilya Manin: "Re: SetTimer / static pointer"
- Previous message: Itay_k: "CDialog as panel"
- Messages sorted by: [ date ] [ thread ]
Date: 30 Sep 2004 03:55:36 -0700
cffung@myrealbox.com (CFF) wrote in message news:<2560187f.0409292046.3fdfbc9a@posting.google.com>...
> I am working on a scroll view based project that displays a single
> page of text and graphic. For some reason, I have to use MM_LOENGLISH
> for the text (upper part on the page) and MM_TEXT for the graphic
> (lower part on the same page). The whole thing works fine when
> displayed on screen and preview but wrong when printed on printer. To
> be more specific, the graphic part is totally missing although the
> text displayed correctly. My preliminary guess about this is due to
> different scaling associated with different mode but I am not sure.
Your problem is almost certainly to do with MM_TEXT. IIRC, MM_TEXT
uses a 1 pixel=1 point conversion, which works fine on screen (as
you've discovered) but a printer has a higher DPI, meaning that stuff
normally gets squashed.
The best way to fix this is to use a scalable mode is all your code
(such as MM_LOENGLISH). It may take some time to get it to work on
screen, but it's worth it.
Paul.
- Next message: Ilya Manin: "Re: SetTimer / static pointer"
- Previous message: Itay_k: "CDialog as panel"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|