Page 1 of 1
generate and save pdf
Posted: Fri Jan 27, 2012 11:21 pm
by stelioss
Is there a way to generate a pdf file and save it in the app directory on iOs?
Re: generate and save pdf
Posted: Sat Jan 28, 2012 1:58 am
by Mark
Hi,
It is possible to create an external for this. It might also be possible to use Qartam's PDF library.
Kind rgards,
Mark
Re: generate and save pdf
Posted: Wed Feb 01, 2012 12:20 am
by CALL-151
Yes, the is supported directly in LC (no third party needed). In your standalone iOS settings, select PDF Printing.
Populate a card with the content you want in the PDF, set your destination folder, then use:
open printing to PDF "myPDF.pdf"
print this card
close printing
But, be aware that as of LC 5.0.2 there's a bug that will cause your app to fail silently if there are any Graphic Effects on the card.
Re: generate and save pdf
Posted: Wed Feb 01, 2012 7:33 pm
by stelioss
Thank you all for your reply.
I did figured out that the normal print to PDF works. Thanks again for the great tips