Sorry, I think I talked round your problem rather than answering it. The code I sent you was an example of calling the Win API to get some dimensions for paper sizes. Possibly irrelevant to your needs, but maybe not.
Regards
Simon
PS No, I only know the people at Datasure here in Auckland, as I've only been here for about 3 months. I came from the UK.