Google
 

Friday, February 15, 2008

Get Default Printer Name

Iseng-iseng siapa tau ada manfaatnya


uses Printers;

function GetDefaultPrinterName : string;
begin
___if (Printer.PrinterIndex > 0)then begin
___
___Result := Printer.Printers[Printer.PrinterIndex];
___end else begin
______Result := '';
___end;
end;

No comments: