Hi,
I have a tool to convert Framebook into PDF and this works good. But the generated pdf is not of the same size as it is generated through FrameMaker Save as PDF. With the FrameMaker API, I get a dialog box to choose the different PDF Job options available. I came across a similar provision with FDK which also has a property to set the PDF Job options but it doesnt work as expected. Please correct me if my approach is wrong.
params = F_ApiGetSaveDefaultParams();
i = F_ApiGetPropIndex(¶ms, FS_FileType);
params.val[i].propVal.u.ival = FV_SaveFmtPdf;
i = F_ApiGetPropIndex(¶ms, FP_PDFJobOption);
params.val[i].propVal.u.ival = F_StrCopyString ((StringT)"Smallest File Size");
Thanks,
Venkat