GetDefaultPrinter seems to be unsupported on Win95/98/ME
http://msdn.microsoft.com/library/default.asp?url=/library/en-
us/gdi/prntspol_0hma.asp
If so,
A) this should be worked around
B) the patch should be reverted.....
Any idea's ?
Marc
On Tue, 2004-11-09 at 21:23 +0000, Tomas Frydrych wrote:
> 
> This is the remainder of making the USP graphics use printer rather 
> than screen font metrics for layout; it works like this: on startup 
> we retrieve metrics for default printer and use it to do layout; when 
> the user choses specific printer to print with, we redo the layout on 
> screen with new metrics. Because font metrics on two different 
> printers tend to be more similar than that those for printer and 
> screen, the layout changes when the printer changes are typically 
> quite small. Most importantly, the printout matches the screen.
> 
> For now, it only works for the USP graphic; I have no immediate plans 
> to fix the base win32 graphics class which is badly non-WYSIWYG.
> 
> Outstanding: need to modify the print dialogue to allow choosing 
> printer without printing.
> 
> files: gr_Win32Graphics.h/cpp, gr_Win32USPGraphics.h/cpp, 
> xap_Win32Dlg_Print.cpp, ut_Win32OS.h/cpp
> 
> Tomas
> 
Received on Wed Nov 10 01:20:54 2004
This archive was generated by hypermail 2.1.8 : Wed Nov 10 2004 - 01:20:54 CET