I'm developing a Windows application in C#. It generates reports using ReportViewer. These reports should be printed on a dot matrix printer. However, there is a problem.
The application runs on multiple computers connected in a local network, the dot matrixÃÂ printer is connected to the network also. When the report is generated and the Print button from the toolstrip of the ReportViewer control is pressed, the default Print dialog appears. When the matrix printer is selected and Print is pressed, the application crashes showing the Windows error message.
However, there are some things I noticed:
1. The error appears only on some computers in the network. From the other computers, the printing on dot matrix printer from my application runs fine.
2.ÃÂ If I try to print the report on a laser printer (which is also a network printer), it runs fine. ÃÂ
3. Printing on the dot matrix printer is succesful from other applications on these computers.
4. All computers have the same operating systemÃÂ (Win XP)ÃÂ and the same version of my application.
Could anyone give me advise on how to approach the problem? I cannot debug this one because I'm using the functionality of the ReportViewer control for printing and actually don't have any source code to debug