Faabris Posted May 14, 2008 Share Posted May 14, 2008 Hi all, I compiled jrxml file to jasper file by iReport and build a HTML site with JRHTMLExporter, it's Work. Now I should like to Create a Pdf with JRPdfExporter! it is not Work. see plz my code... Somebody knows the problem? Thank you. Faabi [file name=getPdfReport.txt size=1355] Link to comment Share on other sites More sharing options...
ge0ffrey Posted May 15, 2008 Share Posted May 15, 2008 Any particular reason you're not using the facade? Code: Take a look at the source code of that facade, it probably uses the same class as you do, but the right way :) Link to comment Share on other sites More sharing options...
Faabris Posted May 15, 2008 Author Share Posted May 15, 2008 Hi ge0ffrey :-) Thank you for your reply. Unfortunately, do not work :blink: I don't know which package "in Jasper source code" do I look! I can create pdf with java but it is not work with Groovy.(see attach.) I hope U can help me ;) Have a nice day Faabi [file name=code-0f9eb2e663151d927d68ec630fb2377e.txt size=4555] it's Work, but not correct :blink: Pdf start but Without Report. I become the following Erorr: File dont begin with "%PDF-". thank Faabi Post edited by: Faabris, at: 2008/05/15 12:33 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now