title: printersetupdialog starting printer
body: <p>I'm making an application in Embarcadero Delphi XE2.</p>
  
  <p>I'm using a PrinterSetupDialog to select a printer name into TEdit like:</p>
  
  <pre><code>if PrinterSetupDialog1.Execute() then begin
  
  txtPrinterName.Text := Printer.Printers[Printer.PrinterIndex];
  ConfigINI.modified := true;
  
  end;
  </code></pre>
  
  <p>The problem I have is that this PrinterSetupDialog when executed, always selects the same printer at start. I can switch to another ok and the TEdit gets filled ok.</p>
  
  <hr>
  
  <p>What I want to do is: </p>
  
  <p>Before executing the PrinterSetupdialog</p>
  
  <p>have it set dialog's selected printer to the one in the TEdit for example:</p>
  
  <pre><code>PrinterSetupDialog.PrinterSelectedAtExecute := txtPrinterName.Text;
  </code></pre>
  
  <p>Help appreciated. Thanks.</p>