--- Jonathon Bevar <[EMAIL PROTECTED]> wrote:
> I need to have the Margins of the Top and Bottom of > the page preset for a form that needs to be printed > out. > > Dim settings as String > Dim PageSetup as PrinterSetup > PageSetup= New PrinterSetup > If PageSetup.PageSetupDialog Then > settings=PageSetup.SetupString > End If > > > Ok, how do I preset the Margins without having to > open the pagesetup window? > > I need the Top margin set to 0.5 and the bottom one > set to 0.25. Note this is for a Window XP Page > Setup window. I'm a Mac guy so what do I know :) but I just happened to see an email recently from a Windows guy who said he found that if he set his margins to 0.5, Windows ignored him, whereas if he set his margins to .5 (i.e. without the leading zero), Windows gave him a nice half-inch margin. I'm not sure where he was even supplying those values, but your email reminded me of his so I thought I'd pass it along. Mark Nutter Quick and easy regex creation and debugging! http://www.bucktailsoftware.com/products/regexplorer/ __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives of this list here: <http://support.realsoftware.com/listarchives/lists.html>
