How to use PDF Module for report generation?

703 views
Skip to first unread message

ashish2py

unread,
Dec 22, 2010, 1:23:41 PM12/22/10
to play-fr...@googlegroups.com
HI friends,
Thanks for your great support.
From your support my interest level is rising so i plan to use each and every module in my app.
I used search-module.

Now,
I plan to use the PDF module in my app for show/generate the report/bill(as PDF files) and upload the PDF files as a document.
I read the PDF module docs but there is not much information...
Can anybody explain me how can i use this Module..?
Is there any sample app present about this module ?

Thanks in advance...

Ivan San José García

unread,
Dec 22, 2010, 1:27:14 PM12/22/10
to play-fr...@googlegroups.com
In GitHub there is an application example:
https://github.com/pepite/play--pdf

2010/12/22 ashish2py <ashi...@gmail.com>:

> --
> You received this message because you are subscribed to the Google Groups
> "play-framework" group.
> To post to this group, send email to play-fr...@googlegroups.com.
> To unsubscribe from this group, send email to
> play-framewor...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/play-framework?hl=en.
>

ashish2py

unread,
Dec 22, 2010, 1:38:49 PM12/22/10
to play-fr...@googlegroups.com
Thanks




ashish2py

unread,
Dec 23, 2010, 7:25:27 AM12/23/10
to play-fr...@googlegroups.com
M googled...
In sample-app it's only render the pdf file....
Pls Anyone tell  me how does it works ?

Ivan San José García

unread,
Dec 23, 2010, 7:39:04 AM12/23/10
to play-fr...@googlegroups.com
Example, that there is in GitHub, renders a PDF file, yes, the PDF
module is used to generate/render PDF files.

You only need a template, and render it with renderPDF();. If you want
to save generated PDF file on disk, use writePDF() method that comes
with PDF module.

2010/12/23 ashish2py <ashi...@gmail.com>:


> M googled...
> In sample-app it's only render the pdf file....
> Pls Anyone tell  me how does it works ?
>

Shweta

unread,
Mar 11, 2014, 9:52:01 AM3/11/14
to play-fr...@googlegroups.com, ashi...@gmail.com
Hi,
 
I have similar requirement to generate reports in pdf. I have to generate a pdf report from html that contains text, image, datatable/ highchart graph or maps (openlayers). or could be combinations of above types. 
 
how can I add highchart to pdf using pdf module. If anyone has any idea on how this can be done. Please assist.
 
I am using play 1.2.5 and pdf module 0.9
 
Thanks,
Reply all
Reply to author
Forward
0 new messages