Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Crystal Reports - 2 problems printing

 
Elie Hirschman
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic