We have purchased Faxman SDK V4. It has been installed successfully and we are able to send the fax from our Demo Application. We are using .Net interface.
But we are facing issues while installing Printer drivers for our Demo App. Here are the details:
When we try to call the "InstallPrinter" method, it does not install the printer and log the following error in the the Windows event log :
Log Name: Application
Source: Windows Error Reporting
Date: 4/8/2013 4:58:12 PM
Event ID: 1001
Task Category: None
Fault bucket , type 0
Event Name: PnPDriverImportError
Response: Not available
Cab Id: 0
FaxPrint faxprint = new FaxPrint();
faxprint.PrinterName = "TestingCompatibility Fax Printer";
//where TestingCompatibility is the name of demo app
this.faxprint.PrintFilesPath = "C:\\printerTemp";
this.faxprint.PrintComplete += new DataTech.FaxManNet.FaxPrint.@__Delegate_PrintComplete(this.faxprint_PrintComplete);
We are using Windows 7,64 bit. Visual Studio 2010, .Net Framework 4.0, C#.
We are developing an application. So we are debugging through Visual studio. When we use the Sample Csharp Application provided with the Faxman SDK installation, we see a printer added in the windows Printer section. It seems that it has already installed during the Faxman installation. Please guide us on how to create a Printer instance for our own application.
To install the printer driver from code your application must be running 'As Admin' otherwise it will lack the proper permissions to install the driver.
Generally most folks use the faxinstall.bat from their installer to do this since the installer will already be running as admin to be able to install the app.
Thanks for your interest in our products and please let us know if you have any questions.
Data Techniques Support
Yes, it was a permission issue.
Solution is given in the following url and it works for us:
Yes, the manifest is a great solution for making sure your app runs as admin.
This question is closed to new answers.