Club Delphi  
    FTP   CCD     Buscar   Trucos   Trabajo   Foros

Retroceder   Foros Club Delphi > Principal > Impresión
Registrarse FAQ Miembros Calendario Guía de estilo Temas de Hoy

Respuesta
 
Herramientas Buscar en Tema Desplegado
  #1  
Antiguo 02-09-2003
muli muli is offline
Miembro
 
Registrado: jun 2003
Ubicación: A Coruña
Posts: 197
Poder: 21
muli Va por buen camino
Poder Ver un pdf

Alguna idea o algun componente, para visualizar un documento pdf, solo visualizarlo, y luego dar opcion para imprimirlo.

Saludos
__________________
SI UN PROBLEMA TIENE SOLUCION, YA NO ES UN PROBLEMA, Y SI NO LA TIENE PARA QUE PREOCUPARSE.
Responder Con Cita
  #2  
Antiguo 02-09-2003
Avatar de marcoszorrilla
marcoszorrilla marcoszorrilla is offline
Capo
 
Registrado: may 2003
Ubicación: Cantabria - España
Posts: 11.221
Poder: 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
  #3  
Antiguo 04-09-2003
muli muli is offline
Miembro
 
Registrado: jun 2003
Ubicación: A Coruña
Posts: 197
Poder: 21
muli Va por buen camino
Si, pero cuando intento abrir el formulario donde tengo el ActiveX, me da error de iniciación, CoInitialize, he probado a tenerlo visible=True o visible=False, la propiedad Enabled no la tiene.

Como tengo que hacer para evitar ese error.

Gracias
__________________
SI UN PROBLEMA TIENE SOLUCION, YA NO ES UN PROBLEMA, Y SI NO LA TIENE PARA QUE PREOCUPARSE.
Responder Con Cita
Respuesta



Normas de Publicación
no Puedes crear nuevos temas
no Puedes responder a temas
no Puedes adjuntar archivos
no Puedes editar tus mensajes

El código vB está habilitado
Las caritas están habilitado
Código [IMG] está habilitado
Código HTML está deshabilitado
Saltar a Foro


La franja horaria es GMT +2. Ahora son las 20:11:06.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Traducción al castellano por el equipo de moderadores del Club Delphi
Copyright 1996-2007 Club Delphi