Page 1 of 1

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

Posted: Thu Nov 21, 2013 10:36 pm
by Rakesh
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.

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

Posted: Mon Dec 09, 2013 2:20 pm
by Softland
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.