Thank You For all those who helped me I did by the following 1. I downloaded a py document converter script Given by Srinivasan Sir above.
2. Then Created a shell script below ---------------------------------------------------------------------------- # Assigning the location of the openoffice's "oofice and soffice" and Python Location OOFFICE=`ls /usr/bin/openoffice.org /usr/bin/ooffice /usr/lib/openoffice/program/soffice | head -n 1` OOOPYTHON=`ls /usr/lib/openoffice/basis3.1/program/ /usr/bin/python | head -n 1` if [ ! -x "$OOFFICE" ] then echo "Could not auto-detect OpenOffice.org binary" exit fi if [ ! -x "$OOOPYTHON" ] then echo "Could not auto-detect OpenOffice.org Python" exit fi killall -u `whoami` -q soffice $OOFFICE "-accept=socket,host=localhost,port=8100;urp;StarOffice.ServiceManager" -norestore -nofirststartwizard -nologo -headless & if [$OOOPYTHON DocumentConverter.py $1 $2] then echo "Error in Processing Document" exit fi echo "Conversion done" ---------------------------------------------------------------------------------------------------------------------- execute the script as ./convert.sh test.odt test.pdf _______________________________________________ To unsubscribe, email [email protected] with "unsubscribe <password> <address>" in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
