[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [linux] Convertir des fichiers html en un fichier ps
J'utilise html2ps et il fonctionne super bien.
Voici un script que j'utilise pour générer des pdf en vol :
(avec html2ps)
my $filename = $$.".html";
open (FILEOUT, ">/tmp/$filename");
print FILEOUT $data;
close (FILEOUT);
system("html2ps /tmp/$filename >/tmp/$filename.ps");
$filename = $filename.".ps";
my $filenamepdf = $filename.".pdf";
system("/usr/bin/ps2pdf /tmp/$filename /tmp/$filenamepdf");
my $command="`cat /tmp/$filenamepdf`";
print eval($command);
as-tu la doc ?
alx
--
---
Alexandre Dulaunoy
Work : http://www.conostix.com/ adulau@conostix.com
Private : http://www.thinkingsecure.com/ adulau@thinkingsecure.com
"Liberty is the great parent of science and of virtue; and a nation will
be great in both in proportion as it is free. " T. Jefferson
On Mon, 11 Feb 2002, Benoit Joseph wrote:
>
> Salut tout le monde,
>
> Voilà, j'ai un problème.
>
> J'ai de la doc au format html sur mon dur et j'aimerais la convertir en
> ps ou pdf.
>
> La structure est une arborescence style
>
> /mon_rep$ ls
> index.hml
> ch1/
> ch2/
> .
> .
> .
>
> J'ai installé html2ps mais je dois lm'en servir comme un manche ou il
> est mal installéparce que je n'arrive à rien...
>
> Si quelqu'un y voit plus clair que moi...
>
> D'avance merci
>
> A+
>
> Ben
>
>
_______________________________________________
Linux Mailing List
Archives: http://unixtech.be/mailman/listinfo/linux