terça-feira, 16 de junho de 2009

Descobrindo se há impressora instalada

Try
// Set printer so, for get information
JustTest := Printer.Orientation;
IsPrinterSetup := true;
except
on EPrinter do IsPrinterSetup := false;
end;
if not IsPrinterSetup then
begin
SayAboutIt;
ExitProgram;
End;

Nenhum comentário:

Postar um comentário