MICR printing problem using the Crystal ReportDocument object in C# app
We developed a small C# windows program 6 months ago that reads a bank draft record and uses a Crystal Report form to print the draft (using ReportDocument() object and the PrintToPrinter() method). This has been working fine for 6 months. (using .Net 2.0 Framework and Crystal Reports .Net plugin included with VS 2005 on client machine - CRRedist2005_X64.msi)
Now the requirements have changed to put a MICR line at the bottom ot the draft check and print. We have updated a similar Crystal draft report form and printed from Crystal Viewer - this works fine. But when we update the Crystal report form used in the C# application, with the same MICR commands, using the same MICR printer, and the same user trying the print, it does not work. The MICR commands are printed on the draft just like regular text, instead of being interpreted by the printer as MICR commands. Must be something within the Crystal Reports .Net redistributable that is causing it to work incorrectly because it works correctly from the same users PC using Report Viewer.
Note: The MICR field on the Crystal Report contains the following chars:
&%STHPASSWORD$&%SMD' MICR '$&%STQ$
When we print, the above chars just print out like text
Can anybody help with any suggestions ?
Are they any hotfixes that address this issue of PCL commands not recognized on printer?