Hello!
I would like to print a crystal report by using command line
..but every time the program come to this line, starts doing I don't know what and nothing happens for a long time.
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
I would like to print a crystal report by using command line
Code:
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
Comment