I would like to write some code into my application that allows me to print envelopes. The tricky part is figuring out how to set the margins. Some printers feed smaller stock from the center, while others feed from the top or bottom. MSWord has a simple envelope printing option. Is information on how envelopes will be fed stored somewhere in a printer information file?

I am interested in information on how to determine what margins I should use.

Thanks,
Randy