Linux convert doc docx to pdf

מתוך R63
קפיצה אל: ניווט, חיפוש

תוכן עניינים

General

linux convert doc to pdf


Print your .odt file to a file (it will need the .ps extrension). Then use ps2pdf to make it into a .pdf file. All if you're on Linux. I don't

JODconverter, someothers told that it is a bug of Libreoffice.

java -jar jodconverter-cli-2.2.0.jar -f pdf testme.ppt

unoconv

http://dag.wiee.rs/home-made/unoconv/


cups-pdf

http://www.cups-pdf.de/documentation.shtml

tetex-extra ghostscript wvPDF

http://superuser.com/questions/156189/how-to-convert-word-doc-to-pdf-in-linux

pandoc

pandoc -o output.pdf -f docx input.docx
http://pandoc.org/installing.html
can docx but not sure it can doc
no
yum search pandoc


abiword

install

centos5

yum install abiword


centos7

abiword centos7

maybe like on centos 6 http://blogs.isb.bj.edu.cn/miles/2012/03/09/how-to-install-abiword-on-centos-6-x64/


convert

abiword --to=PDF -o IHDI.pdf IHDI.doc

lot of warnning

    • (abiword:10366): WARNING **: Couldn't connect to system bus
    • (abiword:10366): WARNING **: Couldn't connect to system bus
    • (abiword:10366): WARNING **: IPP request failed with status 1030
    • (abiword:10366): WARNING **: IPP request failed with status 1030

(abiword:10366): GnomePrint-CRITICAL **: gnome_rfont_get_glyph_stdadvance: assertion `glyph < GRF_NUM_GLYPHS (rfont)' failed

abiword GnomePrint-CRITICAL gnome_rfont_get_glyph_stdadvance glyph < GRF_NUM_GLYPHS (rfont) failed

abiword font convert to pdf

libreoffice Openoffice

using macro

http://www.togaware.com/linux/survivor/Convert_MS_Word.html

usage

soffice --headless --convert-to <TargetFileExtension>:<NameOfFilter> file_to_convert.xxx
soffice --headless --convert-to txt:text test.doc
soffice --headless --convert-to pdf --outdir /home/user ~/Downloads/*.odt
soffice --headless --convert-to html:HTML myfile.doc
libreoffice --headless --convert-to pdf:writer_pdf_Export /my/path/foo.ppt --outdir /my/path

its hang

soffice headless convert-to hang

http://stackoverflow.com/questions/30349542/command-libreoffice-headless-convert-to-pdf-test-docx-outdir-pdf-is-not

try:

soffice --headless --convert-to txt:text /tmp/doc/49659_ma.doc
soffice --headless --convert-to pdf /tmp/doc/49659_mardam.doc
soffice --headless --convert-to pdf /tmp/doc/49659_maram.doc --outdir  /tmp
soffice --headless --convert-to pdf:writer_pdf_Export /tmp/doc/49659_maam.doc --outdir  /tmp
soffice --headless --nofirstartwizard --convert-to pdf:writer_pdf_Export /tmp/doc/49659_maram.doc --outdir  /tmp

Install headless openoffice in centos5

install headless libreoffice in centos5 not yum

install headless libreoffice in centos7


כלים אישיים