Mark,
You are right as entering .5 works better then doing a 0.5. But how do I
set the setting within the RB program i am creating?
It always sets the Top, Left, Right and Bottom to 1. I need to have the top
and bottom set to make my printout work.
I cant find anything in the RL about setting it within the RB program code.
Jonathon
----- Original Message -----
From: "Mark Nutter" <[EMAIL PROTECTED]>
To: "Getting Started" <[email protected]>
Sent: Tuesday, January 17, 2006 6:35 PM
Subject: Re: How to preset Margins for printing
--- 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>
--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 267.14.19/231 - Release Date: 1/16/2006
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 267.14.19/231 - Release Date: 1/16/2006
_______________________________________________
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>