Page 1 of 1

Default active profile - novaPDF sdk v8

Posted: Wed Jul 16, 2014 6:35 pm
by primasys
I am using the novapdf sdk 8 to print from within my application. (thi s being tested on win7 64-bit, C++, MFC) I used the co-branding tool to create msi's with the name of my printer and the guid of the public profile I setup during branding. Ran the msi's and I have my printer installed.

Problem: Before adding a temporary private profile, I get the currently active profile to restore when completed printing.
hr = m_pNova->GetActiveProfile(&m_wsDefaultProfile);

This fails with a return of 0xD5DA0028 (NV_NO_ACTIVE_PROFILE). If I ignore the error, I get the message "Error reading active public profile" and the pdf is not created.

The printer name in Initialize() matches the name of the printer. I checked the Printer settings and it shows the profile set to "Default". The profile I created during branding is visible in the Profile Manager but I cannot set it to be the default since that option is grayed out.

Since no one can print directly to my printer except via the application, do I even have to bother saving and restoring a default profile?

Re: Default active profile - novaPDF sdk v8

Posted: Fri Aug 22, 2014 11:21 am
by Softland
Hi, as we need more details regarding this please email us at support@novapdf.com