FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index Utilities / Utilidades OT: Docx to PDF Converter
Posts: 933
Joined: Sun Oct 09, 2005 01:05 PM
OT: Docx to PDF Converter
Posted: Fri Jun 30, 2017 05: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 16.11, xHarbour 1.2.3, Bcc730)
Posts: 933
Joined: Sun Oct 09, 2005 01:05 PM
Re: OT: Docx to PDF Converter
Posted: Fri Jun 30, 2017 06: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 16.11, xHarbour 1.2.3, Bcc730)
Posts: 989
Joined: Thu Nov 24, 2005 03:01 PM
Re: OT: Docx to PDF Converter
Posted: 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
“If you think education is expensive, try ignorance"
Posts: 933
Joined: Sun Oct 09, 2005 01:05 PM
Re: OT: Docx to PDF Converter
Posted: Tue Jul 04, 2017 01: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 16.11, xHarbour 1.2.3, Bcc730)
Posts: 989
Joined: Thu Nov 24, 2005 03:01 PM
Re: OT: Docx to PDF Converter
Posted: Wed Jul 05, 2017 09: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
“If you think education is expensive, try ignorance"
Posts: 933
Joined: Sun Oct 09, 2005 01:05 PM
Re: OT: Docx to PDF Converter
Posted: Wed Jul 05, 2017 11:54 AM

Just checked.... yes you can select text from the pdf :)

Thanks,

Jeff Barnes



(FWH 16.11, xHarbour 1.2.3, Bcc730)

Continue the discussion