|
Tienes que tener el Adobe instalado:
You can use the ActiveX control of Adobe Acrobat
from Component menu > Import ActiveX control then choose
Acrobat Control for ActiveX, then press Install
the Pdf Activex control for Adobe acrobat will added to ActiveX Tab of Delphi then drop pdf control to the form and try this code
procedure TForm1.Button1Click(Sender: TObject);
begin
Pdf1.Visible := False;
Pdf1.LoadFile('c:\test.pdf');
pdf1.printPages(1,1);
end;
if you want to print the entire file Call pdf1.Print
O mira en Torry en donde tienes componentes gratis que creo te servirían.
Un Saludo.
|