BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Use of TPrinterSetupDialog

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (VCL Components Usage)
View previous topic :: View next topic  
Author Message
Daryl
Guest





PostPosted: Tue Feb 14, 2006 7:03 am    Post subject: Use of TPrinterSetupDialog Reply with 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.

thanks
daryl
Back to top
Hans Galema
Guest





PostPosted: Tue Feb 14, 2006 10:03 am    Post subject: Re: Use of TPrinterSetupDialog Reply with quote



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





PostPosted: Tue Feb 14, 2006 12:03 pm    Post subject: Re: Use of TPrinterSetupDialog Reply with quote



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





PostPosted: Tue Feb 14, 2006 12:03 pm    Post subject: Re: Use of TPrinterSetupDialog Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (VCL Components Usage) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.