When printing, there is a definition for a Custom paper size, the custom
paper size can be setted programatically and everything is supposed to work
normally. But in windows 2000 and xp, the user must first define a paper
form with the size of the format. My application NEEDS to dinamically define
the size of paper to use. Using some unmanaged code, it is possible to
programatically define a new paper form. Is there any way of programatically
defining a paper for using managed code? Is there any other way for working
with custom paper sizes without having to take in consideration if the user
is working on Windows 98/ ME or on Windows 2000 / XP?
Thanks for your help.