Add a new printer after Novapdf install asp.net c#
Add a new printer after Novapdf install asp.net c#
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.
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.
-
- Posts: 177
- Joined: Wed Dec 16, 2009 10:48 am
Re: Add a new printer after Novapdf install asp.net c#
Hi,
Have you had any luck with this issue? If not, is it possible to send us an email to [email protected], because we will need more details regarding your application.
Thank you.
Have you had any luck with this issue? If not, is it possible to send us an email to [email protected], because we will need more details regarding your application.
Thank you.