SAP Knowledge Base Article - Public

2659547 - How To: Test a printer using Microsofts .NET Framework to verify there is no issue with the Printer driver


We have a printer installed and it does not print through Crystal Reports for Visual Studio runtime.

It does print through Word and other third party applications

Why does CR for VS have issues printing?


  • Crystal Reports for Visual Studio
  • Various Windows Operating Systems
  • Various Printers


Test printing with Word or other third party application is not a valid test, typically they use Native C++ code which accesses the DEVMODE structure to do the printing.

In a .NET applciation the Framework uses the .NET API functions to do the printing, which is not the same as the C++ runtime.


To test if the Framework is compatible with your printer and configuration download the attached sample app and test.

Run the app and all it will do is stream a text file to the printer using the Framework API's - System.Printer methods....

For a quick test, hoping all dependencies are installed, you can extract the zip file and browse into the \bin\release folder and double click the EXE


Printing, framework, CR for VS, printer test , KBA , BI-DEV-NET , BI Software Development Kits (SDKs) - .NET or Other , How To


SAP Crystal Reports, developer version for Microsoft Visual Studio