Re: generando pdf
| From: | Chang | Date: | Tue, 09 Apr 2002 22:00:40 +0000 |
| Subject: | Re: generando pdf | ||
| References: | 1 2 | Groups: | php.general.es |
| Request: | Send a blank email to general-es+get-21308@lists.php.net to get a copy of this message | ||
ya lo saqué...
de esta menera...sabia yo que algo me fallaba.
<?
header("Content-Type: application/pdf");
flush();
passthru("path/to/htmldoc -t pdf --continuous index.html");
?>
aunq...nose.... me parecía mas amplio cunado lo vi la primera vez...
¿hay alguna otra manera de crear pdf ???
saludos. Javier
----- Original Message -----
From: "Chang" <chang2034@hotmail.com>
To: <lista@phpes.com>
Sent: Tuesday, April 09, 2002 8:54 PM
Subject: Re: [PHP-ES] generando pdf
> nada, ni de coña...
>
> no será q hay que meterle al apache algo así como:
> adtype aplication/x....... sobre el pdf.. ?
>
> toi liao. saludos.
>
>
> ----- Original Message -----
> From: "fr4nc!sk0 j4v!3r" <pacho@mangle.univalle.edu.co>
> To: <lista@phpes.com>
> Sent: Monday, April 08, 2002 12:51 PM
> Subject: Re: [PHP-ES] generando pdf
>
>
> >
> > Prueba adicionando este par de lineas ...
> >
> > On Mon, 8 Apr 2002, Chang wrote:
> >
> > > <?
> > > header("Content-Type: application/pdf");
> >
> > header("Content-Disposition: inline; filename=archivo.pdf");
> >
> > > flush();
> > > passthru("path/to/ghtmldoc -f ppp.pdf info.txt");
> >
> > readfile("/path/to/generado.pdf");
> >
> > > ?>
> >
> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > Universidad del Valle Francisco Javier Lozano Bastidas
> > Vicerrectoria Academica Administrador Servidor "mangle"
> > Direccion de Educacion Desescolarizada Oficina : 3182624 - 3182613
> > http://mangle.univalle.edu.co Celular : 5356253 - 4182699
> >
> >
> > ---------------------------------------------------------------------
> > Archivo On-line: http://www.phpes.com/
> > via news: news://news.phpes.com/
> > Manual PHP en español: http://www.php.net/manual/es/
> > Para dar de baja la suscripción, mande un mensaje a:
> > lista-unsubscribe@phpes.com
> >
> >
>
> ---------------------------------------------------------------------
> Archivo On-line: http://www.phpes.com/
> via news: news://news.phpes.com/
> Manual PHP en español: http://www.php.net/manual/es/
> Para dar de baja la suscripción, mande un mensaje a:
> lista-unsubscribe@phpes.com
>
>