Well,

That is not the answer i wanted to hear but it will have to do i guess. I will then have to make sure that the end-user sets the margins before printing which is NOT an ideal method for a program to operate from.

The margins currently are set for Windows XP for 1 for top, bottom, left and right. It's funny as there is ways to READ only the margins but NO freaking way to set them, strange.

And as for overriding the Print Margins in windows, why not? Just make there is a PageMargin.Reset command for windows based systems.

example:
Dim g as Graphics
Dim ps as PrinterSetup

// Set Page Margins
ps.PageMargin.Top=.5
ps.PageMargin.Bottom=.25

// Do printing
g = openPrinterDialog(ps)

// After printing reset Page Margins to Windows Default
ps.PageMargin.Reset

Ok, just an idea but it's something

Jonathon
----- Original Message ----- From: "CV" <[EMAIL PROTECTED]>
To: "Getting Started" <[email protected]>
Sent: Wednesday, January 18, 2006 3:53 AM
Subject: Re: How to preset Margins for printing



On Jan 17, 2006, at 6:28 PM, Jonathon Bevar wrote:

< snip >
I cant find anything in the RL about setting it within the RB program code.


The issue of how to override--then restore--the Windows margin settings in Rb code has arisen quite frequently on the Rb lists for several years. Feature requests to Feedback have been submitted and reviewed negatively by RS.

However, there is one currently open with status 'Reviewed' which you might sign on to: hdjvtifw.

The need for this capability in cross-platform coding arises when designing printouts that require a considerable portion of the printer-available page. This can be done readily in code using the PageSetUp tools provided by Rb and the printing will be done correctly on the Mac without user interaction. However, a dialog must be presented to Windows users to manually reset their margins before printing or else waste some paper. Or, of course, a unique printout design for each platform could be implemented by the programmer.

RS engineers have taken the position that Windows print margin settings should never be overridden, which is, well, a responsible viewpoint.

Best,

Jack

_______________________________________________
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>

Reply via email to