{
Create a unit PrinterSetup and place code in this unit
Do the following to save the printer config to file
}
procedure TForm1.Button1Click(Sender: TObject); var PrinterSetup: TPrinterSetup begin PrinterSetup := TPrinterSetup.Create;
PrinterSetup.SaveSetup(FileName); //where file name is a string to the location of the File ex.'c:\print.cfg' PrinterSetup.Free; end