Printing to PDF on Android

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

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

Printing to PDF on Android

Post by trags3 » Fri Jun 29, 2018 2:19 am

Hi I have been absent from LC for a Little over a year. The last time I asked It didn't appear that it was possible to Print to PDF on an android device.
Is there a solution to this yet? I only need to print one card to a PDF file and then email it.

Thanks
Tom Ragsdale

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9567
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Re: Printing to PDF on Android

Post by dunbarx » Fri Jun 29, 2018 5:18 am

Hi.

I don't do mobile, and I use an iPhone.

But I see in the application settings that the PDF printer inclusion has the android icon, which I assume means that this library is supported.

Craig Newman

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

Re: Printing to PDF on Android

Post by Klaus » Fri Jun 29, 2018 8:48 am

Hi Tom,

no, printing to PDf is definitively not supported on Android (yet?).
You can always check this in the dicitonary, there are all supported platforms for a command listed.

@Craig
no idea where you are seeing this but appearances are deceiving.


Best

Klaus

bogs
Posts: 5435
Joined: Sat Feb 25, 2017 10:45 pm

Re: Printing to PDF on Android

Post by bogs » Fri Jun 29, 2018 2:04 pm

Hm. I thought it was going to be seen here, isn't that an android icon? ?
Selection_003.png
Android icon for printing...
Image

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

Re: Printing to PDF on Android

Post by Klaus » Fri Jun 29, 2018 2:19 pm

Yes, it is, but: Printing <> PDF library!
Scroll down to see that library without the Android icon.

Impatient young people of today... :D

bogs
Posts: 5435
Joined: Sat Feb 25, 2017 10:45 pm

Re: Printing to PDF on Android

Post by bogs » Fri Jun 29, 2018 2:30 pm

Your mistaking 'impatience' with 'lack of comprehension ability', at this point in the morning, the 2nd is certainly lacking for me Image

Image
Image

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

Re: Printing to PDF on Android

Post by Klaus » Fri Jun 29, 2018 2:36 pm

Whatever, work on both! 8)

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9567
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Re: Printing to PDF on Android

Post by dunbarx » Fri Jun 29, 2018 3:34 pm

All.

Attached is a screen shot of the inclusions pane in the "Application "Settings":
Screen Shot 2018-06-29 at 10.29.46 AM [attachment=0]Screen Shot 2018-06-29 at 10.29.46 AM.png
It could just be me, but "PDF" and "Printing" seem lawfully close together, along with that chicken, or whatever it is...

Craig
Attachments
Screen Shot 2018-06-29 at 10.29.46 AM.png

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

Re: Printing to PDF on Android

Post by Klaus » Fri Jun 29, 2018 3:44 pm

Hi Craig,

so what?
That's a penguin and stands for LINUX and not Android, which has this little green robot (android) icon. 8)


Best

Klaus

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

Re: Printing to PDF on Android

Post by trags3 » Tue Jul 17, 2018 2:55 pm

Could a Widget be built that can take a card and generate a PDF of that card?
If so then one would be able to generate a PDF on Android.
Am I right?

Tom

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

Re: Printing to PDF on Android

Post by capellan » Wed Jul 18, 2018 10:56 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: 418
Joined: Wed Apr 09, 2014 1:58 am
Location: Las Vegas, NV

Re: Printing to PDF on Android

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

Hi Al,
You found both of my posts on this topic. I appreciate your help and will give it a try..
Tom

Post Reply

Return to “Talking LiveCode”