Windows: OfficeToPDF (download here).
OfficeToPDF is easy to use, but you need to install Office 2010 above.
Open command line and type: OfficeToPDF [source_file] [target_file]
Example: OfficeToPDF C:/abc.doc C:/abc.pdf
Cross OS: (Need to install OpenOffice or LibreOffice)
If you run unoconv on windows, you need to set path enviroment. In the folder which you installed OpenOffice (ex: C:\Program Files (x86)\OpenOffice 4\program)
Press shift and right click to open command line here. Type: python.exe to open python in command line.
As you see, you has the path URE_BOOTSTRAP and UNO_PATH. Now open System Path and add
two variable with the value you get in the command line.
Now, you can convert using unoconv by typing: python unoconv -f pdf [source_file]
The pdf file output also in the same directory with the source file
OfficeToPDF is easy to use, but you need to install Office 2010 above.
Open command line and type: OfficeToPDF [source_file] [target_file]
Example: OfficeToPDF C:/abc.doc C:/abc.pdf
Cross OS: (Need to install OpenOffice or LibreOffice)
If you run unoconv on windows, you need to set path enviroment. In the folder which you installed OpenOffice (ex: C:\Program Files (x86)\OpenOffice 4\program)
Press shift and right click to open command line here. Type: python.exe to open python in command line.
As you see, you has the path URE_BOOTSTRAP and UNO_PATH. Now open System Path and add
two variable with the value you get in the command line.
Now, you can convert using unoconv by typing: python unoconv -f pdf [source_file]
The pdf file output also in the same directory with the source file
Nhận xét
Đăng nhận xét