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 20-11-2008
Avatar de Héctor Randolph
[Héctor Randolph] Héctor Randolph is offline
Miembro Premium
 
Registrado: dic 2004
Posts: 882
Poder: 20
Héctor Randolph Va por buen camino
Como dije anteriormente Report Manager es muy versátil y existen muchas formas de utilizarlo.

Una de ellas es llamar la biblioteca de funciones (en Windows Reportman.ocx) desde nuestro ejecutable, aquí encuentras la guía de como trabajar con la API

Cita:
Empezado por Report Manager Features
- Small footprint, the engine can be embedded inside your exe.

http://reportman.sourceforge.net/doc/gnuc.html

Incluso el motor puede ser invocado desde la línea de comandos, esto es útil para lenguajes de script como PHP, Phyton, Javascript, etc.

http://reportman.sourceforge.net/doc/otherlang.html

Saludos
Responder Con Cita
  #2  
Antiguo 20-11-2008
Avatar de felipe88
[felipe88] felipe88 is offline
Miembro Premium
 
Registrado: may 2007
Ubicación: Mi Valle del Cauca... Colombia!!!
Posts: 1.120
Poder: 19
felipe88 Va por buen camino
También encontré esto para el ActiveX
Cita:
Empezado por Report Manager
With Delphi

Include the rpreportmanapiqt.pas unit in your uses clause, then use the functions.
Cita:
Empezado por Report Manager
Here is a list of properties and methods:

procedure SetDatasetSQL(datasetname:string;sqlsentence:string);
procedure SetDatabaseConnectionString(databasename:string;connectionstring:string);
function GetDatasetSQL(datasetname:string):string;
function GetDatabaseConnectionString(databasename:string):string;
procedure SetParamValue(paramname:string;paramvalue:Variant);
function GetParamValue(paramname:string):Variant;
function Execute:Boolean;
procedure ExecuteRemote(hostname:String;port:integer;user,password,aliasname,reportname:String);
procedure PrinterSetup;
function ShowParams:boolean;
procedure SaveToPDF(filename:string;compressed:boolean=false);
function PrintRange(frompage:integer;topage:integer;
copies:integer;collate:boolean):boolean;
procedure SetBounds(ALeft, ATop, AWidth, AHeight: Integer);override;
constructor Create(AOwner:TComponent);override;
{ Public declarations }
published
{ Published declarations }
property Filename:string read FFilename write SetFilename;
property Preview:boolean read FPreview write SetPreview default true;
property ShowProgress:boolean read FShowProgress write SetShowProgress;
property ShowPrintDialog:boolean read FShowPrintDialog write SetShowPrintDialog;
property Title:string read FTitle write SetTitle;
property Language:integer read FLanguage write SetLanguage;
Amigos muchas gracias
Responder Con Cita
  #3  
Antiguo 21-11-2008
Avatar de felipe88
[felipe88] felipe88 is offline
Miembro Premium
 
Registrado: may 2007
Ubicación: Mi Valle del Cauca... Colombia!!!
Posts: 1.120
Poder: 19
felipe88 Va por buen camino
Hola,
Probando hice lo siguiente, instale el *.ocx y añadí el rpreportmanapi.pas al proyecto ejemplo... ahora, ¿alguién tiene algún ejemplo de como usar estas funciones?

Código Delphi [-]
int rp_execute(int hreport,char *outputfilename,int metafile,int compressed);
int rp_print(int hreport,char *title,int showprogress,int showprintdialog);
int rp_preview(int hreport,char *title);

Con esta tuve un error ya que "aparentemente" no encuentra el reporte...
Código Delphi [-]
int rp_open(char *filename);
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

Temas Similares
Tema Autor Foro Respuestas Último mensaje
pasar el contenido de un edit a un label sin necesidad de boton douglas OOP 9 24-10-2007 00:44:38
Diseño de un Reporteador jafl1965 Varios 0 09-02-2005 00:12:33
Reporteador trex2000 Impresión 2 28-09-2004 22:05:23
Sobre la necesidad o no de 'RxCtl6' Tonio Varios 1 05-01-2004 10:22:20
necesidad de orientacion para aplicativo clinica dental FNADALO Varios 2 30-12-2003 16:19:10


La franja horaria es GMT +2. Ahora son las 16:06:40.


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