Support Center

Having problem while installing printer driver.

Muhammad Maqbool Apr 08, 2013 08:43AM EDT

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
Level: Information
Keywords: Classic
User: N/A
Fault bucket , type 0
Event Name: PnPDriverImportError
Response: Not available
Cab Id: 0

Problem signature:
P1: x86
P2: 00000005
P3: faxman40.inf
P4: 709e629053332112d068b4c77dd85c4556d64bb4

Our Code:

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);
if (!faxprint.IsPrinterInstalled)


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.

2 Data Techniques Responses and 1 Community Responses

Up -3 Rated Down
DTI Support  Data Techniques Employee Apr 08, 2013 09:08AM EDT


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

Up -1 Rated Down
Muhammad Maqbool  Data Techniques Employee Apr 08, 2013 12:14PM EDT

Yes, it was a permission issue.

Solution is given in the following url and it works for us:


Up 3 Rated Down
DTI Support  Data Techniques Employee Apr 08, 2013 12:38PM EDT


Yes, the manifest is a great solution for making sure your app runs as admin.


This question is closed to new answers.

Contact Us