Jump to content

How can I Create a Pdf with JRPdfExporter?


Faabris

Recommended Posts

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

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...