PHPJasperXML 0.8d

0

I am using PHPJasperXML 0.8d to generate a JasperReport pdf file. I am using Jaspersoft Studio 5.1.0. The first time I ran the php script, the pdf was blank.  Now every time I run it, I get this error message: "1TCPDF ERROR: Some data has already been output, can't send PDF file."

amy.brownlee's picture
Joined: May 20 2013 - 8:18am
Last seen: 5 years 9 months ago

2 Answers:

0

I just took a peek at the phpjasperxml-08d class, it looks like is in a very alpha stage and tries to render the JRXML files in PDF only. I will look further into this. But if you are trying to embed reporting into your PHP application check out the Japser PHP client http://community.jaspersoft.com/project/php-client.

I actually have a full working sample of that here: https://github.com/marianol/JasperServer-for-PHP and there is a techtalk / webinar that goes over the topic oif integrating Jasper and PHP applications: http://www.jaspersoft.com/embedding-jaspersoft-into-your-php-application

Hope this helps..

marianol's picture
4427
Joined: Sep 13 2011 - 8:04am
Last seen: 9 months 3 weeks ago

i did see the example and tried to run it but it seems a 'config.php' file is included in the index.php file and it is missing from the package

ajesh.s - 5 years 11 months ago
0

Thank you for taking the time to look at my question.  I looked at your sample but I am new to PHP and JasperReports.  Is there a less complex way to run a PHP script that will generate a JasperSoft report as a pdf? 

 

 

amy.brownlee's picture
Joined: May 20 2013 - 8:18am
Last seen: 5 years 9 months ago
Feedback
randomness