Quantcast
Channel: SCN : Popular Discussions - SAP Crystal Reports, version for Eclipse
Viewing all articles
Browse latest Browse all 893

Print a report to the printer configured in the report-file?

$
0
0

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


Viewing all articles
Browse latest Browse all 893

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>