Is the an example how to do this ?
[Moved to Scripting sub-Forum by moderator]
Ok I found some solution for this :
1. Get params with F_ApiGetSaveDefaultParams
2. then set/replace FS_PDFUseDistiller to FALSE in the params
3. Save the document as PDF with F_ApiSave
-> now it will be used the new PDF-Engine .
But how can I set an sts config file or should I set joboption "name".
With old FrameMaker version we set only the joboption Name with FP_PDFJobOption.
But what I should do now with 2019 SDK- FrameMaker ?
nice to meet you here. Not sure for FM 2019 for the Moment, but in FM 2017 it works as follows and I think it didn't change
Setting STS file
CallClient("FMPublisher", "SetOutputLocation youroutputpath");
Setting Output path
CallClient("FMPublisher", "SetMCPSetting yourstsfile.sts");
Execute Publishing process
CallClient("FMPublisher", "MCPPublish applicationname");
while application is something like "Responsive HTML5" or "PDF" (I think it's that what you see in Publishing dialog
If someone knows of any Document or Book property please let me know
if CallClient returns something != 0 Action failed)
CallClient ("FMPublisher", "SetMCPSetting " + absolute path to STS file);
CallClient ("FMPublisher", "SetOutputLocation " + output folder path);
CallClient ("FMPublisher", "MCPPublish PDF");
so I have the solution. I use the C++ FDK.
F_ApiCallClient((ConStringT)"FMPublisher", (ConStringT) "SetMCPSetting C:\Program Files\Adobe\Adobe FrameMaker 2019\fminit\Publisher\\Default.sts");
F_ApiCallClient((ConStringT)"FMPublisher", (ConStringT) "SetOutputLocation C:\\temp");
F_ApiCallClient((ConStringT)"FMPublisher", (ConStringT) "MCPPublish PDF");
this is an Extend Script Forum, so you will always get code in ExtendScript Syntax.
Please mark this thread as answered and select one of the answers als the correct one
the right code is