Print to PDF on Android?

JJS jjs at krutt.org
Fri Sep 20 16:53:11 EDT 2019


Nice.

Save a simple text as html and then launch it opens the browser.

*launch URL ("file:" & specialFolderPath("documents") & "order.html")*

It seems Chrome can print to pdf after all, press share and print, then 
you can choose.

So next i want to add an image.

And therefore i will export the image to a jpg or whatever file, then 
save the text written as html markup language instead of plain text, and 
add the image url as reference.

see if that works also.


Doei,

Jerry

Op 20-9-2019 om 16:08 schreef JJS via use-livecode:
> A workaround could be (for text) (for photos or mixed with text i 
> don't know for sure)
>
> save text as a text file
>
> launch the text file in a browser (we can laung a url or browser so 
> also probably the url of the file where it is stored)
>
> then in the browser press the 3 dots in the right upper corner
>
> then press SHARE and you can print it.
>
>
> If you have Opera browser installed, then there is an option to save 
> the page as a PDF and you can also print
>
> In FireFox you have to press PAGE and then you can choose save as PDF 
> or PRINT
>
> in Chrome i see no option to save as PDF.
>
> Maybe you can save the whole as an html file with text and photos, 
> then launch a browser, then save as pdf or print it.
>
>
> I'm gonna try someting, for me it's just text to print with this project.
>
> One advantage of Opera is it has standard unlimited VPN.
>
>
> Doei,
>
> Jerry
>
>
> Op 20-9-2019 om 05:46 schreef scott--- via use-livecode:
>> Hello Dan,
>>
>> Hello Dan,
>>
>> For Android PDF creation I use Jan Schenkel’s  Quartum PDF Library.  
>> <http://www.quartam.com>  It isn’t an ideal  (or even possible) 
>> solution in many cases because it doesn’t support unicode but in my 
>> case that wasn’t a deal breaker.
>>
>> -- 
>> Scott Morrow
>>
>> Elementary Software
>> (Now with 20% less chalk dust!)
>> web       https://elementarysoftware.com/
>> email     scott at elementarysoftware.com
>> booth    1-800-615-0867
>> ------------------------------------------------------
>>
>>
>>> On Sep 19, 2019, at 9:47 AM, Dan Friedman via use-livecode 
>>> <use-livecode at lists.runrev.com> wrote:
>>>
>>> Come on LiveCode!!  We really can't generate one of the most popular 
>>> file formats on the most popular mobile platform? This is a joke!   
>>> This is a MAJOR issue for me and I am sure others.  This pretty much 
>>> kills my project.  Damn.
>>>
>>> -Dan
>>>
>>>
>>> On 9/19/19, 9:41 AM, "use-livecode on behalf of Klaus major-k via 
>>> use-livecode" <use-livecode-bounces at lists.runrev.com on behalf of 
>>> use-livecode at lists.runrev.com> wrote:
>>>
>>>     Hi Dan,
>>>
>>>> Am 19.09.2019 um 18:39 schrieb Dan Friedman via use-livecode 
>>>> <use-livecode at lists.runrev.com>:
>>>>
>>>> I can't seem to find a way to generate a PDF on Android.  Is this 
>>>> really not possible?
>>>     no, unfortunately still not supported by LC.
>>>
>>>> Thanks!
>>>> -Dan
>>>     Best
>>>
>>>     Klaus
>>>
>>>     --
>>>     Klaus Major
>>>     https://www.major-k.de
>>>     klaus at major-k.de
>>>
>>>
>>>     _______________________________________________
>>>     use-livecode mailing list
>>>     use-livecode at lists.runrev.com
>>>     Please visit this url to subscribe, unsubscribe and manage your 
>>> subscription preferences:
>>>     http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your 
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode



More information about the use-livecode mailing list