HI,
I am using the nova pdf sdk to generate the pdf files,
I have installed the novapdf sdk and included the novalib library and Globals.cs, inserted the below code.
const string SMALL_SIZE_PROFILE = "Small Size Profile";
const string FULL_OPT_PROFILE = "Full Options Profile";
const int PROFILE_IS_PUBLIC = 0;
const string PRINTER_NAME = "novaPDF for SDK v7";
NovaPdfOptionsClass mobjNovaOptios;
mobjNovaOptios = new NovaPdfOptionsClass();
mobjNovaOptios.Initialize(PRINTER_NAME, "", "", "");
mobjNovaOptios.SetOptionLong2(NovaOptions.NOVAPDF_SAVE_PROMPT, 0, SMALL_SIZE_PROFILE, PROFILE_IS_PUBLIC);
// set generated PDF file destination folder "c:\"
mobjNovaOptios.SetOptionString2(NovaOptions.NOVAPDF_SAVE_FOLDER, "d:\\", SMALL_SIZE_PROFILE, PROFILE_IS_PUBLIC);
mobjNovaOptios.SetOptionString2(NovaOptions.NOVAPDF_SAVE_FILE, "sample_nova.pdf", SMALL_SIZE_PROFILE, PROFILE_IS_PUBLIC);
I am invoking the print using
ExecWB(SHDocVw.OLECMDID.OLECMDID_PRINT, SHDocVw.OLECMDEXECOPT.OLECMDEXECOPT_DONTPROMPTUSER, ref pvaIn, ref pvaOut);
Even though now i am getting the save pdf file as dialog.
Kindly assit to resolve the issue.

News