Hi! I am working on migrating an app so that it will print a Crystal report through our Enterprise server (via
Java SDK). So far I have been given 2 versions of the code, one of which employs the ISchedulingInfo and IInfoObject interfaces, instantiating the parameters, and then scheduling the report to run once, immediately. This works, but we cannot seem to pick which printer to use- it always just defaults to the same printer.
We have a second version of the code which uses a ReportClientDocument to open a named report, PrintReportOptions to set the appropriate options, and PrintOutputController to print it out. This one doesn't seem to work at all- when I reach this line:
I get this exception:
Any help would be appreciated.