I am looking for the platform independent solution for printing, which can generate the

reports from the input. Generated report should be in the HTML/PDF format so that

client can view the reports on the browser. I want the solution which can automatically

print the report from the c++ application.

For the above I m looking for the libraries available in c++ for report generation.
Java libraries can also solve my purpose but for that can only help if JNI interface for

c++ is also available along with Java libraries(wrapper classes).