Quantcast
Channel: Adobe Community : Popular Discussions - FrameMaker Structured
Viewing all articles
Browse latest Browse all 66580

How to set PDF Job option using FDK11?

$
0
0

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(&params, FS_FileType);

                params.val[i].propVal.u.ival = FV_SaveFmtPdf;

 

                i = F_ApiGetPropIndex(&params, FP_PDFJobOption);

                params.val[i].propVal.u.ival = F_StrCopyString ((StringT)"Smallest File Size");

 

Thanks,

Venkat


Viewing all articles
Browse latest Browse all 66580

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>