Outlook does not print all self made html emails with the correct magins

We create emails via our inhouse vb6 application.
Html code is generated in the vb6 application, then a new outlook email is opened with the code.
.BodyFormat = olFormatHTML
.HTMLBody = HTMLCode

The latest one I created always prints with wide magins i.e. 25mm instead of 5mm

How can I adjust the code so that people who receive the emails do not have to manually adjust the margins to print the email as it should be viewed?
Or is this simply an Outlook 2003 configuration question?

I think it has something to do with the header. unfortunately my html skills aren't that well developed.

When printing from ie7 or firefox, all is well.

vb6 code and or usable code on request. (Might make the question a but intimidating....)

Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

you can set page height, width, top margin, left margin in the html. and central alignment

DennisPostAuthor Commented:
That's sounds useful, do have the code/ syntax for me?
something like..

<body bgcolor="#ffffff" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<!--u can try with % to adjust the width and height
<table border="0" cellpadding="0" cellspacing="0"  width="90%" height="80%" align="center">
<table border="0" cellpadding="0" cellspacing="0"  width="500" align="center">
write whatever you like to send

Open in new window

or align the message

align = left, center, right
valign = top,middle,bottom

<td align="center" valign="middle">
write whatever you like to send

Open in new window

DennisPostAuthor Commented:
Turned out to be an outlook setting.
When creating a new email goto File | Page Setup
Change the left and right margins, then click the "Default...." button.

I have attached a picture.


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Languages and Standards

From novice to tech pro — start learning today.