How to set paper size for the default printer through a program?
Can anyone tell me how to set the paper size and other printer properties without bringing up the printer setup dialog box? I tried AddForm and SetForm API function. However, the currently selected printer form doesn't seem to change.
Thanks
Sugunan
Thanks for the fast response
Dear Novacain,
thank you for the fast response and the tip to execute the Print Setup Dialog without actually showing it. May be there is a way on similar lines to set the property also. I shall read the MSDN documantation in detail.
regards
Sugunan