OT: Docx to PDF Converter

OT: Docx to PDF Converter

Postby Jeff Barnes » Fri Jun 30, 2017 5:31 pm

Does anyone know of a good command line program to convert DOCX files to PDF that does not require Word installed?
Preferably free :)
Thanks,
Jeff Barnes

(FWH 12.01, xHarbour 1.2.1, Bcc582)
User avatar
Jeff Barnes
 
Posts: 875
Joined: Sun Oct 09, 2005 1:05 pm
Location: Ontario, Canada

Re: OT: Docx to PDF Converter

Postby Jeff Barnes » Fri Jun 30, 2017 6:49 pm

Found one that seems to work well.

http://www.weenysoft.com/free-word-to-pdf-converter.html

If you end up using this via command line you will need to click on the settings tab (bottom of window) and un-check the "Open the directory when conversion completes" then click FILE-> Save Profile.

Hope this helps someone else :)


Sample Usage: c:\Weeny Free Word to PDF Converter\word2pdf.exe /source "c:\MyDir\MyFile.docx" /target "c:\MyDir"
Thanks,
Jeff Barnes

(FWH 12.01, xHarbour 1.2.1, Bcc582)
User avatar
Jeff Barnes
 
Posts: 875
Joined: Sun Oct 09, 2005 1:05 pm
Location: Ontario, Canada

Re: OT: Docx to PDF Converter

Postby Carlos Mora » Tue Jul 04, 2017 11:57 am

Hi Jeff,

When you convert a docx to pdf... Can you select (mark, copy) text from the pdf file? Is it a text to text object convertion or is it a renderized image from the original document?

Regards
Saludos
Carlos Mora
http://harbouradvisor.blogspot.com/
StackOverflow http://stackoverflow.com/users/549761/carlos-mora
“Any fool can write code that a computer can understand. Good programmers write code that humans can understand.” Martin Fowler
Carlos Mora
 
Posts: 859
Joined: Thu Nov 24, 2005 3:01 pm
Location: Madrid, España

Re: OT: Docx to PDF Converter

Postby Jeff Barnes » Tue Jul 04, 2017 1:19 pm

Hi Carlos

I haven't dug that deep into this software.
I programmatically make my changes to the docx file (without using word) then just needed to convert it to pdf.

I think there are extra functions you can do with it but have not tried.
Thanks,
Jeff Barnes

(FWH 12.01, xHarbour 1.2.1, Bcc582)
User avatar
Jeff Barnes
 
Posts: 875
Joined: Sun Oct 09, 2005 1:05 pm
Location: Ontario, Canada

Re: OT: Docx to PDF Converter

Postby Carlos Mora » Wed Jul 05, 2017 9:27 am

Sorry, I haven't explained what I mean. I'm referint to the resulting PDF. When you open it ¿Can you select text from it?
I'm asking because it is an important detail, and if you are able to select text that way it means the translation is a really good one.

Regards,

Carlos
Saludos
Carlos Mora
http://harbouradvisor.blogspot.com/
StackOverflow http://stackoverflow.com/users/549761/carlos-mora
“Any fool can write code that a computer can understand. Good programmers write code that humans can understand.” Martin Fowler
Carlos Mora
 
Posts: 859
Joined: Thu Nov 24, 2005 3:01 pm
Location: Madrid, España

Re: OT: Docx to PDF Converter

Postby Jeff Barnes » Wed Jul 05, 2017 11:54 am

Just checked.... yes you can select text from the pdf :)
Thanks,
Jeff Barnes

(FWH 12.01, xHarbour 1.2.1, Bcc582)
User avatar
Jeff Barnes
 
Posts: 875
Joined: Sun Oct 09, 2005 1:05 pm
Location: Ontario, Canada


Return to Utilities / Utilidades

Who is online

Users browsing this forum: No registered users and 1 guest