File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other JSE/JEE APIs and the fly likes Crystal Reports - 2 problems printing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "Crystal Reports - 2 problems printing" Watch "Crystal Reports - 2 problems printing" New topic
Author

Crystal Reports - 2 problems printing

Elie Hirschman
Ranch Hand

Joined: Dec 15, 2005
Posts: 37
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.
Elie Hirschman
Ranch Hand

Joined: Dec 15, 2005
Posts: 37
It seems that this error has to do with the missing CRConfig.xml. Can anyone guide me towards a resource as to how to configure this file?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Crystal Reports - 2 problems printing