Add a new printer after Novapdf install asp.net c#

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

Add a new printer after Novapdf install asp.net c#

Postby Rakesh » 22 Nov 2013, 00:36

Hi
My product supports Novapdf and we named our Novapdf printer as “MyPrinter”. But a third party application has already installed NovaPDF printer on the User’s machine and when installing my product the printer is not installed because the NovaPdf printer already exist. Now if the user already has Novapdf installed then I want to add a new NovaPdf printer with my name “MyPrinter”. How can I do this in my code.I tried the below code but no help.

_NovaOptions = new NovaPdfOptions();

PrinterSettings ps = new PrinterSettings();
ps.PrinterName = “MyPrinter”;
if (!ps.IsValid)
{
_NovaOptions.AddNovaPrinter(“MyPrinter”);
}

I am getting some COM exceptions with errorcode: 0xD5DA0001 which says Initialize was not called. Also sometimes I am not seeing any NovaPDF printer in my printers list even though I installed NovaPDF.
Any help on this much appreciated.
Rakesh
 
Posts: 1
Joined: 22 Nov 2013, 00:31

Re: Add a new printer after Novapdf install asp.net c#

Postby Softland » 09 Dec 2013, 16:20

Hi,
Have you had any luck with this issue? If not, is it possible to send us an email to support@novapdf.com, because we will need more details regarding your application.

Thank you.
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