I would like to print a crystal report by using command line
Expand|Select|Wrap|Line Numbers
- mydoc1.PrintToPrinter(1, False, 1, 2)
I set up PrinterOptions.PrinterName to match my printer.
The same happens if I click the printer icon in printpreview screen, but if I click printer icon under Main Report Preview (when program is stopped) it works OK.
I would be grateful for any suggestions.
Jernej