...get the name of the default printer?

Author: Tayfun Susamcioglu
Homepage: http://www.sanalortam.com

Category: Printing

unit printers;

begin
  
//...
  
Printer.PrinterIndex := -1;
  DefaultPrnName := Printer.Printers.Strings[Printer.PrinterIndex];
  //...
end;

 

printed from
www.swissdelphicenter.ch
developers knowledge base