Our product uses the WixUI library from Wix 3.0 as part of its 
installer. We noticed that, if you click the Print button in the 
Eula/Welcome screen, the Eula is printed with some unusual formatting -- 
the top, left and right margins are about 1 inch, but the bottom margin 
takes up nearly a third of the page. This means that there's a big blank 
area at the bottom of each page. The Eula looks fine if it's printed 
from wordpad, so it doesn't seem to be a problem with our particular 
Eula. Has anyone else had problems with the Print button on these dialogs?

Looking at the Print() function in src\ext\UIExtension\ca\PrintEula.cpp, 
I see that it does the following:

    void Print(
    __in_opt HWND hRtfWnd
    )
    {
        // ...

        // Set up the page.
        rcPage.left = rcPage.top = 0;
        rcPage.right = MulDiv(nHorizRes, ONE_INCH, nLogPixelsX);
        rcPage.bottom = MulDiv(nHorizRes, ONE_INCH, nLogPixelsX);

        // ...
    }

Should the last line be something like this?

     rcPage.bottom = MulDiv(nVertRes, ONE_INCH, nLogPixelsY);

Thanks in advance for your help,
Adrian
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to