Re: Doc to PDF with mssql
| From: | Rafael Costa Pimenta | Date: | Wed, 04 Nov 2009 10:28:21 +0000 |
| Subject: | Re: Doc to PDF with mssql | ||
| References: | 1 2 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-46627@lists.php.net to get a copy of this message | ||
But the link http://doc2pdf.sourceforge.net/overview.html
seems to use
e-mail, i did not understand, I just want to extract a word .doc file from
the mssql database, save in a temp directory, convert to the PDF format and
let the user download the PDF file.
2009/11/3 Chris <dmagick@gmail.com>
> Rafael Costa Pimenta wrote:
>
>> Hi
>> someone knows how to convert a word .doc to a PDF using PHP?
>>
>
> There are external tools available to do it.
>
> http://doc2pdf.sourceforge.net/overview.html is one such tool.
>
> After installing it you exec the binary:
>
> exec('pdf2doc blah blah');
>
> where 'blah blah' is whatever pdf2doc tells you to put in.
>
>
> and how to store and retrieve a .doc file in a mssql database?
>>
>
> I searched for 'mssql binary data' and found this article:
>
>
>
> http://www.databasejournal.com/features/mssql/article.php/1475641/Storing-and-Retrieving-Binary-Data-in-SQL-Server.htm
>
> --
> Postgresql & php tutorials
> http://www.designmagick.com/
>
>
--
Rafael Costa Pimenta
Analista de Sistemas
Fresenius Medical Care - RJ - Brasil
Tel. 55 21 2179-2484 (Escritório central)