TED rtf2pdf.sh Issue on Debian
I've just got a server setup for which will need to convert RTF files to PDF using TED and the following script - which I will later exec() in php:
ftp://ftp.nluug.nl/pub/editors/ted/rtf2pdf.sh Right now I've installed Ted, placed the above script in the correct location (same location as Ted) and I believe i've installed Ghostscript but when I run the command: rtf2pdf.sh something.rtf something.pdf I recieve the following errors: http://dl.dropbox.com/u/2899775/errors.PNG Since I know very little about Debian or any other linux distro for that matter I'm hoping someone could help me out in any way possible - it would be greatly appreciated. Thanks. |
That script is basically running these two commands for you:
Code:
Ted --setProperty usePostScriptFilters 1 --setProperty usePostScriptIndexedImages 1 --printToFile something.rtf temporaryfile.ps In either case, the error seems to be related to library Ted/gs depend upon. Did you install Ted using apt-get or built it manually or some other manner? Usually if you install the apps via repository (apt-get), then library dependencies are already sorted and such issues are minimum. |
All times are GMT -5. The time now is 11:59 AM. |