Landscape property does not appear to work.
-
Hi. I'm using Visual Studio 2005 C++/CLI. I have setup my application to print a document (basically the screen). I had to set the e-Graphics->PageScale = 0.85 to get the screen to fit the page, but I need to have every page be of Landscape orientation. I have tried this->printDocument->PrinterSettings->DefaultPageSettings->Landscape = true and this->printDialog->PrinterSettings->DefaultPageSettings->Landscape = true (and some slight variations) but the document is always printed as set in the print dialog (which defaults to Landscape - Portrait). Is it because there are more than one printer on our network? Do I have to read the array list of InstalledPrinters and determine which one I am using and change the orientation that way? Thanks, Buck
-
Hi. I'm using Visual Studio 2005 C++/CLI. I have setup my application to print a document (basically the screen). I had to set the e-Graphics->PageScale = 0.85 to get the screen to fit the page, but I need to have every page be of Landscape orientation. I have tried this->printDocument->PrinterSettings->DefaultPageSettings->Landscape = true and this->printDialog->PrinterSettings->DefaultPageSettings->Landscape = true (and some slight variations) but the document is always printed as set in the print dialog (which defaults to Landscape - Portrait). Is it because there are more than one printer on our network? Do I have to read the array list of InstalledPrinters and determine which one I am using and change the orientation that way? Thanks, Buck