Ver Mensaje Individual
  #2  
Antiguo 02-09-2003
Avatar de marcoszorrilla
marcoszorrilla marcoszorrilla is offline
Capo
 
Registrado: may 2003
Ubicación: Cantabria - España
Posts: 11.221
Reputación: 10
marcoszorrilla Va por buen camino
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.
Responder Con Cita