Hi everybody,
in Crystal Reports you can configure a printer in the report-file.
In my thick java client, I can open a report and print it to some printer. But I failed, when trying to print it to the printer, which is contained in the report file.
I tried to retrieve the printer configuration of the report with:
PrintOptions printOptions = reportClientDocument.getPrintOutputController ().getPrintOptions();
and to print the report using
reportClientDocument.getPrintOutputController ().printReport (printOptions);
but that failed ...
(printOptions.getPrinterName() returns e.g. "")
reportClientDocument.getPrintOutputController ().printReport (null) didn't work either ...
Is there a possibility to retrieve the (existing) printer settings in a report file using CR4E?
Best regards from Munich,
Robert Wachinger