use Win32::Printer; $foo = new Win32::Printer( orientation => LANDSCAPE );