Is there a way to set page margins programmatically?

We have developed a form with a significant volume of header and footer information.

So much so that the document content butts right up to the footer (and doesn’t look good at all).

We can resolve the issue by manually adjusting the bottom page margin in the print dialog.

However, that’s a slow manual process, and we are looking for a method with which to programmatically set the page margins before printing.

I know someone had posed a similar question some time ago here (http://www-10.lotus.com/ldd/nd85forum.nsf/0/b07290a46686916b85257730003770f3?OpenDocument) but never received a reply.

Can anyone offer any suggestions?

Cheers!

T.