create pdf with corona )

hi,

i like to create a pdf … for that i found PDF with LUA at:

http://luahpdf.colloquiki.com/

but for that i would need to compile something and have no idea how :slight_smile:

I have not a unix, but a mac system, so when i tried as described

“make demo”  i got

cc -DHPDF_SHARED -I/usr/include/lua5.2  -Wall -O2 -fomit-frame-pointer -shared -fPIC -c -o hpdf.o hpdf.c

clang: warning: argument unused during compilation: ‘-shared’

hpdf.c:7:10: fatal error: ‘lua.h’ file not found

#include <lua.h>

dont think it has to do with my mac, as it says, missing lua.h 

Any idea how to include finally that cool module to create PDFs from within Corona?

Thanks

Chris

This sounds like its going to produce a native object library, which means you would need to use Corona Enterprise to make it work. 

Rob

hi rob,

thanks for the answer… also its :frowning:

is there no other way to create PDFs with Corona?

Maybe by a Plugin or so? Would be great!

When I posted my App, People from Corona mentioned they would be glad more ppl do Business Apps, such a Plugin or any option to create PDFs would be just amazing.

Thanks

Chris

We currently don’t have a PDF creating plugin.  What do you want to create a PDF of?

hi,

my users send for now their own calendar data history list via email to themself, to print them out or give to their doctor.

as its a lot of data and formating is limited and depending on the data it looks bit messy.

as my competitors who did their similar apps natively they offer more and more to send such data in a nice formated pdf.

I thought it should be a piece a cake to do also with corona… hmmm 

so if there is a change to do a plugin for such things… great

thanks

chris

This sounds like its going to produce a native object library, which means you would need to use Corona Enterprise to make it work. 

Rob

hi rob,

thanks for the answer… also its :frowning:

is there no other way to create PDFs with Corona?

Maybe by a Plugin or so? Would be great!

When I posted my App, People from Corona mentioned they would be glad more ppl do Business Apps, such a Plugin or any option to create PDFs would be just amazing.

Thanks

Chris

We currently don’t have a PDF creating plugin.  What do you want to create a PDF of?

hi,

my users send for now their own calendar data history list via email to themself, to print them out or give to their doctor.

as its a lot of data and formating is limited and depending on the data it looks bit messy.

as my competitors who did their similar apps natively they offer more and more to send such data in a nice formated pdf.

I thought it should be a piece a cake to do also with corona… hmmm 

so if there is a change to do a plugin for such things… great

thanks

chris