Default active profile - novaPDF sdk v8

Post here any questions/suggestions you have about novaPDF SDK or novaPDF OEM.

Default active profile - novaPDF sdk v8

Postby primasys » 16 Jul 2014, 20:35

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?
primasys
 
Posts: 1
Joined: 16 Jul 2014, 20:06

Re: Default active profile - novaPDF sdk v8

Postby Softland » 22 Aug 2014, 13:21

Hi, as we need more details regarding this please email us at support@novapdf.com
Softland
 
Posts: 146
Joined: 16 Dec 2009, 12:48
Location: Cluj-Napoca, Romania


Return to Developer Tools



Who is online

Users browsing this forum: No registered users and 1 guest

cron