Fwd: Re: Print to PDF on Android?

JJS jjs at krutt.org
Sun Sep 22 16:33:16 EDT 2019


So creating html and text was not difficult.

The problem was in opening a local image from html, after saving an 
image first to local storage.

But i found a way for it now and it's working.

Still i'd like to see this be directly possible from within the app.


Op 22-9-2019 om 22:29 schreef JJS via use-livecode:
>
> (strange this message vanished somehow)--repost
>
> I know it is unprofessional, and your are right about it.
>
> (the similair i do with a help file which is downloaded so it's always 
> the latest version and it opens also in the browser or pdf reader, 
> when i exit i'm back in the app)
>
> But in none of previous similair messages i've seen any reaction of 
> the mothership about this, while it is available on iOs.
>
> So there is not  whole lot of interest in it probably.
>
> I don't know if it can be done with LCB and or adding permission 
> (inject) into the manifest.
>
> ----------
>
> But there are more topics that could use action for mobile: Brushes 
> which don't get loaded, FCM pushnotifications not up to date lacking 
> possibilities, just one line of text.
>
> So until that, one must either stall development or choose a 
> workaround or start using Android Studio(which is totally free) But 
> some people need a lot of time, like me to learn Kotlin/Java.
>
>
> Op 20-9-2019 om 23:06 schreef Dan Friedman:
>> While you may see this as a workaround, it is not.   Having to leave 
>> your application to produce the PDF is absolutely unacceptable and 
>> unprofessional.  It's also dangerous to even talk about.  I fear the 
>> fine folks at LiveCode will say, "Great!  They have a workaround.  
>> Looks like we don't have to deal with this at all!".  LiveCode, this 
>> is a pretty big hole in the functionality of LC.  I do hope you will 
>> address this issue – and soon!
>>
>> -Dan
>>
>>
>> On 9/20/19, 1:54 PM, "use-livecode on behalf of JJS via 
>> use-livecode"<use-livecode-bounces at lists.runrev.com on behalf of 
>> use-livecode at lists.runrev.com>  wrote:
>>
>>      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!)
>>      >> webhttps://elementarysoftware.com/
>>      >> emailscott 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
>>           _______________________________________________
>>      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