Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Conversion to PDF with odd pages
Message
From
28/12/2016 12:42:20
 
 
To
27/12/2016 12:38:02
General information
Forum:
Microsoft Office
Category:
Word
Environment versions
Microsoft Office:
Office 2016
OS:
Windows 8.1
Network:
Windows Server 2012
Miscellaneous
Thread ID:
01646123
Message ID:
01646159
Views:
33
Hi Michel
I dont used any office tool since office2007.
office2007 needed to an addon to make the methods savesAS pdf working.its was a free download in microsoft.
i suppose its integrated in actual office(word,excel...)

i tested in past this vfp code successfully to saveas a word document to a pdf
for any practical purpose:
local oword,lodoc
#define wdFormatPDF 17
oWord=createObject('word.application')
lodoc=oWord.documents.open(getfile('doc|docx'))
loDoc.saveas("f:\mypdf",wdFormatPDF)  &&pdf
loDoc.close()
oword.quit
In principe Acrobat is wisywig (what you see is what you get).But i guess there is some incompatible fonts.

I found also 2 links working with javascript,there is many snippets,maybe can help.
https://acrobatusers.com/tutorials/how-save-pdf-acrobat-javascript
http://stackoverflow.com/questions/31407215/how-to-use-saveas-function-in-adobe-acrobat

happy new year 2017.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform