Mega Code Archive

 
Categories / Delphi / Printing
 

Get the name of the default printer

Title: get the name of the default printer? unit printers; begin //... Printer.PrinterIndex := -1; DefaultPrnName := Printer.Printers.Strings[Printer.PrinterIndex]; //... end;