Board index » delphi » PrinterSetupDialog: Changing Paper Size

PrinterSetupDialog: Changing Paper Size

How can I change the papersize or the paperorientation?
It is not possible with the PrinterSetupDialog (in the
program code)

Thanks Marc

 

Re:PrinterSetupDialog: Changing Paper Size


On 29 Jul 1996, Marc Colling wrote:

Quote
> How can I change the papersize or the paperorientation?
> It is not possible with the PrinterSetupDialog (in the

Try this:
 Printer.Orientation := poLandscape;
for starters.  

you have access to the printer object, so you can set these parameters as
you wish. Try looking at the TPrinter object in online help...

Hope this helps somewhat...

//////////////////////////////////////////////////////////////////////////
// J Dov Kaplan, programmer, CMI, student, University of Arizona, Csc   //
// home: (520) 624-9335    work: (520) 621-4761                         //
// kap...@lectura.cs.arizona.edu                                        //
// j...@aol.com                                                         //
//////////////////////////////////////////////////////////////////////////

Other Threads