| View previous topic :: View next topic |
| Author |
Message |
Daryl Guest
|
Posted: Tue Feb 14, 2006 7:03 am Post subject: Use of TPrinterSetupDialog |
|
|
I would like to use the control TPrinterSetupDialog to change the printer
and it settings before trying to use TPrinter(). I am guessing this can be
done, any information would be good.
thanks
daryl |
|
| Back to top |
|
 |
Hans Galema Guest
|
Posted: Tue Feb 14, 2006 10:03 am Post subject: Re: Use of TPrinterSetupDialog |
|
|
Daryl wrote:
| Quote: | I would like to use the control TPrinterSetupDialog to change the printer
and it settings before trying to use TPrinter(). I am guessing this can be
done, any information would be good.
|
TPrinterSetupDialog *PrinterSetupDialog = new TPrinterSetupDialog ( NULL );
PrinterSetupDialog->Execute ();
delete PrinterSetupDialog;
Hans. |
|
| Back to top |
|
 |
Daryl Guest
|
Posted: Tue Feb 14, 2006 12:03 pm Post subject: Re: Use of TPrinterSetupDialog |
|
|
Thanks Hans
I was interested in know what you have to do after you open the dialog and
make the changes, How do you get access to the changes. for example if the
printer is changed and the paper size/orientation is changed how can these
changes be used with Printer() ?
From what I see it has no properties to get at the changes.
daryl
| Quote: | TPrinterSetupDialog *PrinterSetupDialog = new TPrinterSetupDialog (
NULL );
PrinterSetupDialog->Execute ();
delete PrinterSetupDialog; |
|
|
| Back to top |
|
 |
Hans Galema Guest
|
Posted: Tue Feb 14, 2006 12:03 pm Post subject: Re: Use of TPrinterSetupDialog |
|
|
Daryl wrote:
| Quote: | I was interested in know what you have to do after you open the dialog and
make the changes, How do you get access to the changes. for example if the
printer is changed and the paper size/orientation is changed how can these
changes be used with Printer() ?
|
Just thereafter use TPrinter and print. Did not you try already ?
Hans. |
|
| Back to top |
|
 |
|