Print (TdbfDocument)
procedure print(const iPrinterName : string);
Cette fonction effectue une impression directe d'un document de type pdf vers l'imprimante de nom "iPrinterName";
Exemple :
var
sl : TStringList;
doc : TdbfDocument;
begin
//note : doc must have DocumentType.Extension='.pdf'
sl := GetPrinterList;//default printer is on top of the list
if sl.Count>0 then
begin
doc.print(sl.strings[0]);//print on default printer
end;
end;