• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Crystal Reports - 2 problems printing

 
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
reply
    Bookmark Topic Watch Topic
  • New Topic