Hi,
I am using Crystal Reports that come bundled with Visual Studio 2005.
We are trying to print magnetic cards by our application. The printer driver installs a special font in the PC, we should use this font to encode data on the magnetic stripe. The font appears in the designer and I created the report but data is not encoded in the magnetic part but appears as normal text on the card.
I created a report using Crystal Reports 9 and printed it from the designer and it worked. The same report when loaded to VS doesn't work.
Here is the code I use
ReportDocument rep = new ReportDocument(); rep.Load(@"C:\Report1.rpt"); rep.PrintOptions.PrinterName = "My Printer"; rep.PrintToPrinter(1, false, 0, 0);
Is there a way to use the printing mechanism of Crystal Reports 9?