http://www.perlmonks.org?node_id=705702


in reply to WIN32, OLE, Excel, and Printing

Have you tried using PageSetupDlg in the Common Dialog Box library? That way you can get all the setting you want and store them where you need. I have no idea how easy it is to work this via Win32::*, though - I've coded in both Windows and Perl, but never at the same time!