This is my Framemaker book to PDF saving function:
function saveToPDF(fileObject, savePath) { var saveParams, i; saveParams= GetSaveDefaultParams(); i = GetPropIndex(saveParams, Constants.FS_FileType); saveParams[i].propVal.ival = Constants.FV_SaveFmtPdf; var saveAsName = savePath; var returnParamsp = new PropVals(); fileObject.Save(saveAsName, saveParams, returnParamsp); }
When I execute this function Framemaker opens the Adobe PDF Distiller which then creates the PDF.
However if I am doing this process manually I open the book go to the File menu and select "Save as PDF". Using this method Framemaker does not launch the Distiller, it creates the pdf without using any external application. This generates PDFs much faster.
Is there any way to access the second method of PDF generation using the ESTK?