PDF Generating Widget

The place to discuss anything and everything about running your LiveCode on Android

Moderators: Klaus, FourthWorld, heatherlaine, robinmiller, kevinmiller

Post Reply
trags3
Posts: 296
Joined: Wed Apr 09, 2014 1:58 am
Location: Las Vegas, NV

PDF Generating Widget

Post by trags3 » Tue Jul 17, 2018 10:28 pm

Hi
Is it possible to write a widget that can generate a PDF file from a card. That way, if I understand widgets correctly one could generate a PDF file on the Android Platform.
I have a need for this capability but I don't code in C.

Thanks Tom

capellan
Posts: 609
Joined: Wed Aug 15, 2007 11:09 pm
Contact:

Re: PDF Generating Widget

Post by capellan » Wed Jul 18, 2018 11:30 pm

Hi Tom,

Using Quartam PDF Library, you could generate a PDF from LiveCode:
http://www.quartam.com/

In 2011, Jan Schenkel published this Library as open source under
a dual license: viewtopic.php?t=7315

On Android, I could save vector graphics as adobe ilustrator 5, pdf and svg files
from a LiveCode stack into the Android Documents folder, so it should be possible
to save a PDF created from a card.

Al

trags3
Posts: 296
Joined: Wed Apr 09, 2014 1:58 am
Location: Las Vegas, NV

Re: PDF Generating Widget

Post by trags3 » Thu Jul 19, 2018 1:09 am

Thanks Al,
I'll Give it a try.

Tom

trags3
Posts: 296
Joined: Wed Apr 09, 2014 1:58 am
Location: Las Vegas, NV

Re: PDF Generating Widget

Post by trags3 » Fri Mar 15, 2019 3:02 am

Hi I am a little confused about which version of Quartem I need to generate a PDF of a single card.
The card has a couple of images, (Logos) and the rest is text fields. I have one signature in a cursive font.
Thanks for the help,
Tom

trags3
Posts: 296
Joined: Wed Apr 09, 2014 1:58 am
Location: Las Vegas, NV

Re: PDF Generating Widget

Post by trags3 » Fri Mar 15, 2019 2:47 pm

My App is a commercial product..

Klaus
Posts: 11062
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: PDF Generating Widget

Post by Klaus » Fri Mar 15, 2019 2:59 pm

trags3 wrote:
Fri Mar 15, 2019 2:47 pm
My App is a commercial product...
Then you need to buy a license from Quartam, see the "Free/Open Source" page.

Since I have been working with the PDF Lib in the past, I doubt it will fit your needs due to its many limitation like:
...
Font support is limited to the standard set (Arial/Helvetica, Times, Courier, Symbol and Zapf Dingbats)
Unicode and encryption are not yet supported
...
And it has not beeen updated since 2012, not a good sign, too. 8)

trags3
Posts: 296
Joined: Wed Apr 09, 2014 1:58 am
Location: Las Vegas, NV

Re: PDF Generating Widget

Post by trags3 » Fri Mar 15, 2019 5:17 pm

Than You Klaus,
Does the software support images like a simple logo?
Tom

Klaus
Posts: 11062
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: PDF Generating Widget

Post by Klaus » Fri Mar 15, 2019 5:43 pm

Hi Tom,

please read the website: http://www.quartam.com/ -> Features 8)


Best

Klaus

Post Reply

Return to “Android Deployment”