PHP to PDF reader
Moderator: General Moderators
PHP to PDF reader
Hi guys,
I am developing an application that must read .pdf files online(WITHOUT ANY PLUGINS). I have tried GhostScript but there is no a commandline .exe that can be executed from a php script. How can I create such an application.
I am developing an application that must read .pdf files online(WITHOUT ANY PLUGINS). I have tried GhostScript but there is no a commandline .exe that can be executed from a php script. How can I create such an application.
You can use PDF2HTML: http://sourceforge.net/projects/pdftohtml/.
PHP to PDF reader
Thank you for the immediate reply but I would like to ask you to give me some info or a link to such where I can see the functions that it supports.
PHP to PDF reader
To convert it from pdf to simple html files.
PHP to PDF reader
I have tried the commands described in HTMLTOPDF specs but the only output is the list of the command it supports. What is the problem.
PHP to PDF reader
I converted the pdf but HTMLTOPDF needs GhostScript to convert the images and this is the problem that I mentioned in the very begining. I can not find a GhostScript command line tool. I have found one but it does not work. Can anyone help me?
You can use pdf2txt if the style isn't important: http://www.pdf2txt.com/download.htm
And I don't think that pdf2html needs gs (where you saw that pdf2html uses gs?)
And I don't think that pdf2html needs gs (where you saw that pdf2html uses gs?)
PHP to PDF reader
When I converted a pdf file to html file by it displayed me an error :
Error: PDF version 1.6 -- xpdf supports version 1.5 (continuing anyway)
Page-1
'gswin32c' is not recognized as an internal or external command,
operable program or batch file.
Error: Failed to launch Ghostscript!
and did not convert any images from the pdf file. What is the problem?
Error: PDF version 1.6 -- xpdf supports version 1.5 (continuing anyway)
Page-1
'gswin32c' is not recognized as an internal or external command,
operable program or batch file.
Error: Failed to launch Ghostscript!
and did not convert any images from the pdf file. What is the problem?
If you need Ghostscript, install it from http://sourceforge.net/projects/ghostscript/
PHP to PDF reader
Thank you It works. I have done it. Now it converts everything as it is supposed to.