Re: Print to pdf fails on Windows with multiple pages

2022-03-24 Thread panagiotis m via use-livecode
Hello all,

Thank you for the update and the sample stack/files. I will reopen this bug
report then, and we will investigate further.

Kind regards,
Panos
--

On Thu, 24 Mar 2022 at 15:45, matthias rebbe via use-livecode <
use-livecode@lists.runrev.com> wrote:

> I can replicate this here also with 10DP2.
> And have attached a sample stack so others could also test.
>
> But i could not attach the pdf. I am always getting this error here:
>
> "It looks like you didn't come from the right page (you have no valid
> token for the create_attachment action while processing the
> 'attachment.cgi' script). The reason could be one of:
> You clicked the "Back" button of your web browser after having
> successfully submitted changes, which is generally not a good idea (but
> harmless).
> You entered the URL in the address bar of your web browser directly, which
> should be safe.
> You clicked on a URL which redirected you here without your consent, in
> which case this action is much more critical.
> Are you sure you want to commit these changes anyway? This may result in
> unexpected and undesired results"
>
>
> So i uploaded it on my server and added a url to it.
>
>
> Regards,
> Matthias
>
>
> > Am 24.03.2022 um 12:18 schrieb panagiotis m via use-livecode <
> use-livecode@lists.runrev.com>:
> >
> > Hello Andreas,
> >
> > This sounds like this bug
> https://quality.livecode.com/show_bug.cgi?id=23088,
> > which should be fixed in LC 9.6.6 RC-1 and newer.
> >
> > If this is not the case for you, could you attach a sample stack and the
> > pdf to this report and reopen it? Or send it to me directly if they are
> > confidential. Also, it might be worth checking with the 32bit version of
> LC
> > for Windows
> >
> > Kind regards,
> > Panos
> > --
> >
> >> .com/mailman/listinfo/use-livecode
> >>
> > ___
> > use-livecode mailing list
> > use-livecode@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@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Print to pdf fails on Windows with multiple pages

2022-03-24 Thread matthias rebbe via use-livecode
I can replicate this here also with 10DP2. 
And have attached a sample stack so others could also test.

But i could not attach the pdf. I am always getting this error here:

"It looks like you didn't come from the right page (you have no valid token for 
the create_attachment action while processing the 'attachment.cgi' script). The 
reason could be one of:
You clicked the "Back" button of your web browser after having successfully 
submitted changes, which is generally not a good idea (but harmless).
You entered the URL in the address bar of your web browser directly, which 
should be safe.
You clicked on a URL which redirected you here without your consent, in which 
case this action is much more critical.
Are you sure you want to commit these changes anyway? This may result in 
unexpected and undesired results"


So i uploaded it on my server and added a url to it.


Regards,
Matthias


> Am 24.03.2022 um 12:18 schrieb panagiotis m via use-livecode 
> :
> 
> Hello Andreas,
> 
> This sounds like this bug https://quality.livecode.com/show_bug.cgi?id=23088,
> which should be fixed in LC 9.6.6 RC-1 and newer.
> 
> If this is not the case for you, could you attach a sample stack and the
> pdf to this report and reopen it? Or send it to me directly if they are
> confidential. Also, it might be worth checking with the 32bit version of LC
> for Windows
> 
> Kind regards,
> Panos
> --
> 
>> .com/mailman/listinfo/use-livecode
>> 
> ___
> use-livecode mailing list
> use-livecode@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Print to pdf fails on Windows with multiple pages

2022-03-24 Thread Andreas Bergendal via use-livecode
Hi Panos,

Interesting, I had not seen that bug report. Yes, it’s the same issue, and 
unfortunately it seems not fully solved in 9.6.x.

I tried using 9.6.7 rc 2 Win 32bit and built both a 32bit and 64bit standalone, 
but neither did any better really. They can sometimes succeed on first run to 
create the full pdf, but after that it seems Windows calls it a day and refuses 
to repeat the effort.

Since the stack/data is indeed confidential, I’ll make it available to you 
through other channels.

Best,
Andreas


Panos wrote:
> This sounds like this bug https://quality.livecode.com/show_bug.cgi?id=23088, 
> which should be fixed in LC 9.6.6 RC-1 and newer.

> If this is not the case for you, could you attach a sample stack and the
> pdf to this report and reopen it? Or send it to me directly if they are
> confidential. Also, it might be worth checking with the 32bit version of LC
> for Windows
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Print to pdf fails on Windows with multiple pages

2022-03-24 Thread panagiotis m via use-livecode
Hello Andreas,

This sounds like this bug https://quality.livecode.com/show_bug.cgi?id=23088,
which should be fixed in LC 9.6.6 RC-1 and newer.

If this is not the case for you, could you attach a sample stack and the
pdf to this report and reopen it? Or send it to me directly if they are
confidential. Also, it might be worth checking with the 32bit version of LC
for Windows

Kind regards,
Panos
--

On Thu, 24 Mar 2022 at 12:08, Andreas Bergendal via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hi all,
>
> TL;DR:
> App/IDE crashes/fails when printing 30+ pages to single pdf, using Windows
> 10. Works fine on Mac. Windows memory issues?
>
>
> Long version:
> I have a stack/app where a crucial feature is printing to pdf.
>
> Om Mac (LC 9.6.6 or 9.6.7 rc1) this works flawlessly with 156 posts,
> resulting in a 312 page pdf file (around 4Mb):
>
> ---
> set the printScale to 0.714286 ## This matches the A4 proportion of the
> printed area
> set the printMargins to 0,0,0,0
>
> open printing to pdf tFilename ## tFilename has been defined earlier in
> the process
>
> repeat for each line tLine in pKeyList ## pKeyList is a list of numerical
> keys
>fillFieldsWithData tLine ## This updates several fields on the card
> with new data from an array
>print card 1 from the topLeft of grc "page1" to the bottomRight of grc
> ”page1” ## An A4-shaped rect
>print break
>print card 1 from the topLeft of grc "page2" to the bottomRight of grc
> ”page2” ## An A4-shaped rect
>print break
> end repeat
>
> close printing ## (I also un/lock screen at appropriate places around this
> script, for speed)
> ---
>
> On Windows 10, which is what my client is using, this happens:
> - If run in the IDE, it sometimes manages to created the pdf, but usually
> fails (”printing failed” error), sometimes crashes LC silently
> - If run as standalone, it can create a pdf with max 15-20 posts (2x
> pages), but if I try more then it stalls and fails, or crashes.
>
> Another feature in the app is creating the 156 pdfs individually, and this
> works flawlessly also on Windows.
> So it’s creating the combined pdf that seems too taxing for poor old
> Windows, most of the time. The client needs both features to work.
>
> Is this ”memory exhaustion” (saw that term mentioned by LCMark in the
> Forum on a different pdf problem)?
>
> What can be done about it? Can I force Windows to dedicate more memory to
> my app?
>
> I’ve tried having the pdf created on C:, on a USB stick and in SharePoint
> (the client’s preferred destination), but all fail equally.
>
> Please advise! :)
>
> Best,
> Andreas
> ___
> use-livecode mailing list
> use-livecode@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Print to pdf fails on Windows with multiple pages

2022-03-24 Thread Andreas Bergendal via use-livecode
Hi all,

TL;DR:
App/IDE crashes/fails when printing 30+ pages to single pdf, using Windows 10. 
Works fine on Mac. Windows memory issues?


Long version:
I have a stack/app where a crucial feature is printing to pdf.

Om Mac (LC 9.6.6 or 9.6.7 rc1) this works flawlessly with 156 posts, resulting 
in a 312 page pdf file (around 4Mb):

---
set the printScale to 0.714286 ## This matches the A4 proportion of the printed 
area
set the printMargins to 0,0,0,0

open printing to pdf tFilename ## tFilename has been defined earlier in the 
process

repeat for each line tLine in pKeyList ## pKeyList is a list of numerical keys
   fillFieldsWithData tLine ## This updates several fields on the card with new 
data from an array
   print card 1 from the topLeft of grc "page1" to the bottomRight of grc 
”page1” ## An A4-shaped rect
   print break
   print card 1 from the topLeft of grc "page2" to the bottomRight of grc 
”page2” ## An A4-shaped rect
   print break
end repeat

close printing ## (I also un/lock screen at appropriate places around this 
script, for speed)
---

On Windows 10, which is what my client is using, this happens:
- If run in the IDE, it sometimes manages to created the pdf, but usually fails 
(”printing failed” error), sometimes crashes LC silently
- If run as standalone, it can create a pdf with max 15-20 posts (2x pages), 
but if I try more then it stalls and fails, or crashes.

Another feature in the app is creating the 156 pdfs individually, and this 
works flawlessly also on Windows. 
So it’s creating the combined pdf that seems too taxing for poor old Windows, 
most of the time. The client needs both features to work.

Is this ”memory exhaustion” (saw that term mentioned by LCMark in the Forum on 
a different pdf problem)?

What can be done about it? Can I force Windows to dedicate more memory to my 
app?

I’ve tried having the pdf created on C:, on a USB stick and in SharePoint (the 
client’s preferred destination), but all fail equally.

Please advise! :)

Best,
Andreas
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Print to PDF and Big Sur

2021-02-08 Thread panagiotis merakos via use-livecode
Thanks for the update, Marty. So it seems the revpdfprinter.dylib was not
signed, and Big Sur does not allow unsigned binaries to run, or sth like
this.

The "--deep" param ensures all the components in the bundle will be signed.

Kind regards,
Panos
--

On Mon, 8 Feb 2021 at 21:26, Marty Knapp via use-livecode <
use-livecode@lists.runrev.com> wrote:

> OK, I added the “--deep” parameter to the codesign command and that seems
> to have fixed things.
>
> Marty
>
> > On Feb 8, 2021, at 10:32 AM, panagiotis merakos via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > Hello Marty,
> >
> > Could you file a bug report and attach a sample stack? I did a quick test
> > and I am not able to reproduce this issue. Could it be the case you're
> > trying to print a field with emojis?
> >
> > Kind regards,
> > Panos
> > --
> >
> > On Mon, 8 Feb 2021 at 20:11, Marty Knapp via use-livecode <
> > use-livecode@lists.runrev.com> wrote:
> >
> >> Anybody having trouble printing to PDF under Big Sur with LC 9.6.2 rc2?
> My
> >> apps are throwing an error on the line
> >>
> >> open printing to PDF tPathToSaveTo
> >>
> >> The same code runs fine on LC 9.6.1
> >>
> >> Marty
>
> ___
> use-livecode mailing list
> use-livecode@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Print to PDF and Big Sur

2021-02-08 Thread Marty Knapp via use-livecode
OK, I added the “--deep” parameter to the codesign command and that seems to 
have fixed things.

Marty

> On Feb 8, 2021, at 10:32 AM, panagiotis merakos via use-livecode 
>  wrote:
> 
> Hello Marty,
> 
> Could you file a bug report and attach a sample stack? I did a quick test
> and I am not able to reproduce this issue. Could it be the case you're
> trying to print a field with emojis?
> 
> Kind regards,
> Panos
> --
> 
> On Mon, 8 Feb 2021 at 20:11, Marty Knapp via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>> Anybody having trouble printing to PDF under Big Sur with LC 9.6.2 rc2? My
>> apps are throwing an error on the line
>> 
>> open printing to PDF tPathToSaveTo
>> 
>> The same code runs fine on LC 9.6.1
>> 
>> Marty

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Print to PDF and Big Sur

2021-02-08 Thread Marty Knapp via use-livecode
It’s in a standalone and I’m thinking it’s another codesign issue at this 
point. I will investigate further and report back. (No emojis!)

Marty

> On Feb 8, 2021, at 10:32 AM, panagiotis merakos via use-livecode 
>  wrote:
> 
> Hello Marty,
> 
> Could you file a bug report and attach a sample stack? I did a quick test
> and I am not able to reproduce this issue. Could it be the case you're
> trying to print a field with emojis?
> 
> Kind regards,
> Panos
> --
> 
> On Mon, 8 Feb 2021 at 20:11, Marty Knapp via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>> Anybody having trouble printing to PDF under Big Sur with LC 9.6.2 rc2? My
>> apps are throwing an error on the line
>> 
>> open printing to PDF tPathToSaveTo
>> 
>> The same code runs fine on LC 9.6.1
>> 
>> Marty

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Print to PDF and Big Sur

2021-02-08 Thread panagiotis merakos via use-livecode
Hello Marty,

Could you file a bug report and attach a sample stack? I did a quick test
and I am not able to reproduce this issue. Could it be the case you're
trying to print a field with emojis?

Kind regards,
Panos
--

On Mon, 8 Feb 2021 at 20:11, Marty Knapp via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Anybody having trouble printing to PDF under Big Sur with LC 9.6.2 rc2? My
> apps are throwing an error on the line
>
> open printing to PDF tPathToSaveTo
>
> The same code runs fine on LC 9.6.1
>
> Marty
> ___
> use-livecode mailing list
> use-livecode@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Print to PDF and Big Sur

2021-02-08 Thread Marty Knapp via use-livecode
Anybody having trouble printing to PDF under Big Sur with LC 9.6.2 rc2? My apps 
are throwing an error on the line 

open printing to PDF tPathToSaveTo

The same code runs fine on LC 9.6.1

Marty
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: iOS Emoji keyboard does not print to PDF?!

2020-11-25 Thread scott--- via use-livecode
I put together a library stack that removes emojis from a field and replaces 
them with an imageSource so that the field can print to pdf on mobile.  I 
wasn’t sure how to build a generalized solution that looked for emojis inside a 
range of codepoints so I settled for a brute-force solution. Hopefully bug 
22982 gets solved and this lib will become irrelevant. Feel free to use. (MIT 
license)

https://www.elementarysoftware.com/livecode/emojiswaplib.html

--
Scott Morrow

Elementary Software
(Now with 20% less chalk dust!)
web   https://elementarysoftware.com/
email sc...@elementarysoftware.com
booth1-360-734-4701
--
> On Oct 26, 2020, at 2:13 AM, William de Smet via use-livecode 
>  wrote:
> 
> Thanks for answering Scott!
> Not a big issue for me at the moment.
> 
> Greetings,
> 
> William
> 
> 
> Op ma 26 okt. 2020 om 03:57 schreef scott--- via use-livecode <
> use-livecode@lists.runrev.com>:
> 
>> I think that emojis not rendering to PDF has been a longstanding issue…
>> and I thought that I had filed a bug report on this but looking at
>> bugzilla, I failed to find it. (sigh). I have code in two of my apps that
>> alert the user, should PDF creation fail, that they should remove emojis
>> from their text.  I have on my to-do list a workaround project that would
>> use imageSource to substitute for known emoji codes. So, while none of this
>> is of any help, I feel your pain :- )
>> 
>> --
>> Scott Morrow
>> 
>> Elementary Software
>> (Now with 20% less chalk dust!)
>> web   https://elementarysoftware.com/
>> email sc...@elementarysoftware.com
>> booth1-360-734-4701
>> --
>> 
>>> On Oct 25, 2020, at 2:34 PM, William de Smet via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>>> 
>>> Hi Richmond,
>>> 
>>> That’s the short version of the code.
>>> Like I said it works fine as long as it is text only. When an Emoji from
>> the iOS keyboard is added the Emoji is not printed in the PDF.
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>>> Op 25 okt. 2020 om 21:13 heeft Richmond via use-livecode <
>> use-livecode@lists.runrev.com> het volgende geschreven:
>>>> 
>>>> " 'export snapshot' to PDF as PNG" sounds a bit odd.
>>>> 
>>>>> On 25.10.20 21:47, William de Smet via use-livecode wrote:
>>>>> Hi there,
>>>>> 
>>>>> A simple iOS app in which the user chooses the iOS keyboard to add
>> text and
>>>>> an Emoji to a standard LC text field.
>>>>> I use 'export snapshot' to PDF as PNG to print to PDF.
>>>>> When there is only text in the field all text is printed to the PDF but
>>>>> when an Emoji is added the Emoji is not printed to the PDF.
>>>>> Am I missing something?
>>>>> Do I need to add some code?
>>>>> 
>>>>> iOS 13
>>>>> LC 9,6,1 Indy
>>>>> 
>>>>> 
>>>>> greetings,
>>>>> 
>>>>> William
>>>>> ___
>>>>> use-livecode mailing list
>>>>> use-livecode@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: iOS Emoji keyboard does not print to PDF?!

2020-10-26 Thread William de Smet via use-livecode
Thanks for answering Scott!
Not a big issue for me at the moment.

Greetings,

William


Op ma 26 okt. 2020 om 03:57 schreef scott--- via use-livecode <
use-livecode@lists.runrev.com>:

> I think that emojis not rendering to PDF has been a longstanding issue…
> and I thought that I had filed a bug report on this but looking at
> bugzilla, I failed to find it. (sigh). I have code in two of my apps that
> alert the user, should PDF creation fail, that they should remove emojis
> from their text.  I have on my to-do list a workaround project that would
> use imageSource to substitute for known emoji codes. So, while none of this
> is of any help, I feel your pain :- )
>
> --
> Scott Morrow
>
> Elementary Software
> (Now with 20% less chalk dust!)
> web   https://elementarysoftware.com/
> email sc...@elementarysoftware.com
> booth1-360-734-4701
> --
>
> > On Oct 25, 2020, at 2:34 PM, William de Smet via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > Hi Richmond,
> >
> > That’s the short version of the code.
> > Like I said it works fine as long as it is text only. When an Emoji from
> the iOS keyboard is added the Emoji is not printed in the PDF.
> >
> >
> >
> >
> >
> >
> >> Op 25 okt. 2020 om 21:13 heeft Richmond via use-livecode <
> use-livecode@lists.runrev.com> het volgende geschreven:
> >>
> >> " 'export snapshot' to PDF as PNG" sounds a bit odd.
> >>
> >>> On 25.10.20 21:47, William de Smet via use-livecode wrote:
> >>> Hi there,
> >>>
> >>> A simple iOS app in which the user chooses the iOS keyboard to add
> text and
> >>> an Emoji to a standard LC text field.
> >>> I use 'export snapshot' to PDF as PNG to print to PDF.
> >>> When there is only text in the field all text is printed to the PDF but
> >>> when an Emoji is added the Emoji is not printed to the PDF.
> >>> Am I missing something?
> >>> Do I need to add some code?
> >>>
> >>> iOS 13
> >>> LC 9,6,1 Indy
> >>>
> >>>
> >>> greetings,
> >>>
> >>> William
> >>> ___
> >>> use-livecode mailing list
> >>> use-livecode@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@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: iOS Emoji keyboard does not print to PDF?!

2020-10-25 Thread scott--- via use-livecode
I think that emojis not rendering to PDF has been a longstanding issue… and I 
thought that I had filed a bug report on this but looking at bugzilla, I failed 
to find it. (sigh). I have code in two of my apps that alert the user, should 
PDF creation fail, that they should remove emojis from their text.  I have on 
my to-do list a workaround project that would use imageSource to substitute for 
known emoji codes. So, while none of this is of any help, I feel your pain :- )

--
Scott Morrow

Elementary Software
(Now with 20% less chalk dust!)
web   https://elementarysoftware.com/
email sc...@elementarysoftware.com
booth1-360-734-4701
--

> On Oct 25, 2020, at 2:34 PM, William de Smet via use-livecode 
>  wrote:
> 
> Hi Richmond,
> 
> That’s the short version of the code.
> Like I said it works fine as long as it is text only. When an Emoji from the 
> iOS keyboard is added the Emoji is not printed in the PDF. 
> 
> 
> 
> 
> 
> 
>> Op 25 okt. 2020 om 21:13 heeft Richmond via use-livecode 
>>  het volgende geschreven:
>> 
>> " 'export snapshot' to PDF as PNG" sounds a bit odd.
>> 
>>> On 25.10.20 21:47, William de Smet via use-livecode wrote:
>>> Hi there,
>>> 
>>> A simple iOS app in which the user chooses the iOS keyboard to add text and
>>> an Emoji to a standard LC text field.
>>> I use 'export snapshot' to PDF as PNG to print to PDF.
>>> When there is only text in the field all text is printed to the PDF but
>>> when an Emoji is added the Emoji is not printed to the PDF.
>>> Am I missing something?
>>> Do I need to add some code?
>>> 
>>> iOS 13
>>> LC 9,6,1 Indy
>>> 
>>> 
>>> greetings,
>>> 
>>> William
>>> ___
>>> use-livecode mailing list
>>> use-livecode@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: iOS Emoji keyboard does not print to PDF?!

2020-10-25 Thread William de Smet via use-livecode
Hi Richmond,

That’s the short version of the code.
Like I said it works fine as long as it is text only. When an Emoji from the 
iOS keyboard is added the Emoji is not printed in the PDF. 






> Op 25 okt. 2020 om 21:13 heeft Richmond via use-livecode 
>  het volgende geschreven:
> 
> " 'export snapshot' to PDF as PNG" sounds a bit odd.
> 
>> On 25.10.20 21:47, William de Smet via use-livecode wrote:
>> Hi there,
>> 
>> A simple iOS app in which the user chooses the iOS keyboard to add text and
>> an Emoji to a standard LC text field.
>> I use 'export snapshot' to PDF as PNG to print to PDF.
>> When there is only text in the field all text is printed to the PDF but
>> when an Emoji is added the Emoji is not printed to the PDF.
>> Am I missing something?
>> Do I need to add some code?
>> 
>> iOS 13
>> LC 9,6,1 Indy
>> 
>> 
>> greetings,
>> 
>> William
>> ___
>> use-livecode mailing list
>> use-livecode@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@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: iOS Emoji keyboard does not print to PDF?!

2020-10-25 Thread Richmond via use-livecode

" 'export snapshot' to PDF as PNG" sounds a bit odd.

On 25.10.20 21:47, William de Smet via use-livecode wrote:

Hi there,

A simple iOS app in which the user chooses the iOS keyboard to add text and
an Emoji to a standard LC text field.
I use 'export snapshot' to PDF as PNG to print to PDF.
When there is only text in the field all text is printed to the PDF but
when an Emoji is added the Emoji is not printed to the PDF.
Am I missing something?
Do I need to add some code?

iOS 13
LC 9,6,1 Indy


greetings,

William
___
use-livecode mailing list
use-livecode@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


iOS Emoji keyboard does not print to PDF?!

2020-10-25 Thread William de Smet via use-livecode
Hi there,

A simple iOS app in which the user chooses the iOS keyboard to add text and
an Emoji to a standard LC text field.
I use 'export snapshot' to PDF as PNG to print to PDF.
When there is only text in the field all text is printed to the PDF but
when an Emoji is added the Emoji is not printed to the PDF.
Am I missing something?
Do I need to add some code?

iOS 13
LC 9,6,1 Indy


greetings,

William
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Print to pdf

2020-05-13 Thread GEORGE WOOD via use-livecode
Found my errors and it is working fine now. Thanks
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Print to pdf

2020-05-13 Thread panagiotis merakos via use-livecode
Hello George,

What LiveCode version are you using? In which platform?

Kind regards,
Panos
--

On Wed, 13 May 2020 at 02:12, GEORGE WOOD via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Is the "open printing to pdf filename" not working any longer? I have
> tried everything according to the dictionary, but it always fails with the
> result being "printing failed." Any usable workarounds? Thanks for any
> suggestions.
> ___
> use-livecode mailing list
> use-livecode@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Print to pdf

2020-05-12 Thread GEORGE WOOD via use-livecode
Is the "open printing to pdf filename" not working any longer? I have tried 
everything according to the dictionary, but it always fails with the result 
being "printing failed." Any usable workarounds? Thanks for any suggestions.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Fwd: Re: Print to PDF on Android?

2019-09-22 Thread JJS via use-livecode

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@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/
 >> emailsc...@elementarysoftware.com
 >> booth    1-800-615-0867
 >> --
 >>
 >>
 >>> On Sep 19, 2019, at 9:47 AM, Dan Friedman via use-livecode
 >>>  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!
 >&

Fwd: Re: Print to PDF on Android?

2019-09-22 Thread 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@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/
 >> emailsc...@elementarysoftware.com
 >> booth1-800-615-0867
 >> --
 >>
 >>
 >>> On Sep 19, 2019, at 9:47 AM, Dan Friedman via use-livecode
 >>>  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@lists.

Re: Print to PDF on Android?

2019-09-20 Thread Dan Friedman via use-livecode
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" 
 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!)
>> web   https://elementarysoftware.com/
>> email sc...@elementarysoftware.com
>> booth1-800-615-0867
>> --
>>
>>
>>> On Sep 19, 2019, at 9:47 AM, Dan Friedman via use-livecode 
>>>  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@lists.runrev.com> wrote:
>>>
>>> Hi Dan,
>>>
>>>> Am 19.09.2019 um 18:39 schrieb Dan Friedman via use-livecode 
>>>> :
>>>>
>>>> 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
>>> kl...@major-k.de
>>>
>>>
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your 
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>

Re: Print to PDF on Android?

2019-09-20 Thread JJS via use-livecode

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 sc...@elementarysoftware.com
booth    1-800-615-0867
--


On Sep 19, 2019, at 9:47 AM, Dan Friedman via use-livecode 
 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@lists.runrev.com> wrote:


    Hi Dan,

Am 19.09.2019 um 18:39 schrieb Dan Friedman via use-livecode 
:


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
    kl...@major-k.de


    ___
    use-livecode mailing list
    use-livecode@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@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@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Print to PDF on Android?

2019-09-20 Thread 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.  
  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 sc...@elementarysoftware.com
booth1-800-615-0867
--



On Sep 19, 2019, at 9:47 AM, Dan Friedman via use-livecode 
 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" 
 wrote:

Hi Dan,


Am 19.09.2019 um 18:39 schrieb Dan Friedman via use-livecode 
:

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
kl...@major-k.de


___
use-livecode mailing list
use-livecode@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@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Print to PDF on Android?

2019-09-19 Thread scott--- via use-livecode
Hello Dan,

Hello Dan,

For Android PDF creation I use Jan Schenkel’s  Quartum PDF  Library.  
  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 sc...@elementarysoftware.com
booth1-800-615-0867
--


> On Sep 19, 2019, at 9:47 AM, Dan Friedman via use-livecode 
>  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@lists.runrev.com> wrote:
> 
>Hi Dan,
> 
>> Am 19.09.2019 um 18:39 schrieb Dan Friedman via use-livecode 
>> :
>> 
>> 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
>kl...@major-k.de
> 
> 
>___
>use-livecode mailing list
>use-livecode@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Print to PDF on Android?

2019-09-19 Thread Klaus major-k via use-livecode
Hi all,

> Am 19.09.2019 um 19:43 schrieb JJS via use-livecode 
> :
> 
> You can't even print to paper, and i need that.
> It's 2019 and Android 9/10 and it was already possible(not lc) in Android 
> 4.4.2 if not earlier.
> Only direct solution now is recreate the app in Android Studio using Java or 
> Kotlin.
> For paper is a bug report available on the quality site.

same for print to PDF, it is from 2016 and its current status = HIBERNATED?
<https://quality.livecode.com/show_bug.cgi?id=19019>


Best

Klaus

--
Klaus Major
https://www.major-k.de
kl...@major-k.de


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Print to PDF on Android?

2019-09-19 Thread JJS via use-livecode

You can't even print to paper, and i need that.

It's 2019 and Android 9/10 and it was already possible(not lc) in 
Android 4.4.2 if not earlier.


Only direct solution now is recreate the app in Android Studio using 
Java or Kotlin.


For paper is a bug report available on the quality site.


Op 19-9-2019 om 18:47 schreef Dan Friedman via use-livecode:

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" 
 wrote:

 Hi Dan,
 
 > Am 19.09.2019 um 18:39 schrieb Dan Friedman via use-livecode :

 >
 > 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
 kl...@major-k.de
 
 
 ___

 use-livecode mailing list
 use-livecode@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@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Print to PDF on Android?

2019-09-19 Thread Dan Friedman via use-livecode
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"  wrote:

Hi Dan,

> Am 19.09.2019 um 18:39 schrieb Dan Friedman via use-livecode 
:
> 
> 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
kl...@major-k.de


___
use-livecode mailing list
use-livecode@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Print to PDF on Android?

2019-09-19 Thread Klaus major-k via use-livecode
Hi Dan,

> Am 19.09.2019 um 18:39 schrieb Dan Friedman via use-livecode 
> :
> 
> 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
kl...@major-k.de


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Print to PDF on Android?

2019-09-19 Thread Dan Friedman via use-livecode
I can't seem to find a way to generate a PDF on Android.  Is this really not 
possible?

Thanks!
-Dan

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Print to PDF needs extending

2018-01-04 Thread James At The Hale via use-livecode
“PDF (Portable Document Format) is a file format that has captured all the 
elements of a printed document as an electronic image that you can view, 
navigate, print, or forward to someone else.”

So if PDF is basically a representation of a printed doc, then a pdf of a text 
field doesn’t actually make sense, in that the text field does not represent 
what the printed document would like like.

But if you made a card as big as the page you want to print, layout the text 
field to suit, add anything else you wanted, that would work and make sense.

Hang on. That’s how it works now.





___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Print to PDF needs extending

2018-01-04 Thread Richmond Mathewson via use-livecode
I got a bit "Pee-Dee-Effed Off" when I realised that to print the 
contents of a field to PDF
one had to "fool around" with the field so that it fitted the dimensions 
of the card on which

the field resided; because Print to PDF can ONLY print a Card to PDF.

WHY is this?

I believe that a "Print to PDF" extension that allows printing of field 
contents as they are

in the field:

PseudoCode follows:

PrintToPDF field "XXX"

would be a really marvellous boon to everyone.

Richmond.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Print to PDF

2018-01-03 Thread Paul Hibbert via use-livecode
Richmond,

I tried using macOS High Siera version 10.13.2 (17C88) and your script writes a 
PDF in LC7.1.4 & LC8.2.0 (dp2), but in LC9.0.0 (dp11) it prints the card to my 
default printer, so it seems the ’to PDF’ part is being ignored.

Maybe time for a Bug Report. :)

Paul


> On Jan 3, 2018, at 1:25 PM, Richmond Mathewson via use-livecode 
>  wrote:
> 
> Dunno where all the spaces have gone: I copy-pasted from the 8.1.8 
> scriptEditor om Mac OS 10.7.5
> 
> Richmond.
> 
> On 3/1/2018 11:00 pm, Tom Glod via use-livecode wrote:
>> let me look up my pdf printing code.why are all the spaces gone from
>> your code?
>> 
>> On Wed, Jan 3, 2018 at 3:10 PM, Richmond Mathewson via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>> 
>>> I wonder why this doesn't work:
>>> 
>>> onmouseUp
>>> 
>>> setthelockScreentotrue
>>> 
>>> settheformatForPrintingofthis stack totrue
>>> 
>>> openprinting topdf "./sampleOutput"
>>> 
>>> setthewidthoffld "fff" tothewidthofstack "PDF Printer"
>>> 
>>> settheheightoffld "fff" totheheightofstack "PDF Printer"
>>> 
>>> printcard 1
>>> 
>>> setthewidthoffld "fff" to450
>>> 
>>> settheheightoffld "fff" to560
>>> 
>>> setthetopoffld "fff" to20
>>> 
>>> settheleftoffld "fff" to20
>>> 
>>> closeprinting
>>> 
>>> setthelockScreentofalse
>>> 
>>> endmouseUp
>>> 
>>> 
>>> Richmond.
>>> 
>>> ___
>>> use-livecode mailing list
>>> use-livecode@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@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@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Print to PDF

2018-01-03 Thread Richmond Mathewson via use-livecode
Dunno where all the spaces have gone: I copy-pasted from the 8.1.8 
scriptEditor om Mac OS 10.7.5


Richmond.

On 3/1/2018 11:00 pm, Tom Glod via use-livecode wrote:

let me look up my pdf printing code.why are all the spaces gone from
your code?

On Wed, Jan 3, 2018 at 3:10 PM, Richmond Mathewson via use-livecode <
use-livecode@lists.runrev.com> wrote:


I wonder why this doesn't work:

onmouseUp

setthelockScreentotrue

settheformatForPrintingofthis stack totrue

openprinting topdf "./sampleOutput"

setthewidthoffld "fff" tothewidthofstack "PDF Printer"

settheheightoffld "fff" totheheightofstack "PDF Printer"

printcard 1

setthewidthoffld "fff" to450

settheheightoffld "fff" to560

setthetopoffld "fff" to20

settheleftoffld "fff" to20

closeprinting

setthelockScreentofalse

endmouseUp


Richmond.

___
use-livecode mailing list
use-livecode@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@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Print to PDF

2018-01-03 Thread Tom Glod via use-livecode
let me look up my pdf printing code.why are all the spaces gone from
your code?

On Wed, Jan 3, 2018 at 3:10 PM, Richmond Mathewson via use-livecode <
use-livecode@lists.runrev.com> wrote:

> I wonder why this doesn't work:
>
> onmouseUp
>
> setthelockScreentotrue
>
> settheformatForPrintingofthis stack totrue
>
> openprinting topdf "./sampleOutput"
>
> setthewidthoffld "fff" tothewidthofstack "PDF Printer"
>
> settheheightoffld "fff" totheheightofstack "PDF Printer"
>
> printcard 1
>
> setthewidthoffld "fff" to450
>
> settheheightoffld "fff" to560
>
> setthetopoffld "fff" to20
>
> settheleftoffld "fff" to20
>
> closeprinting
>
> setthelockScreentofalse
>
> endmouseUp
>
>
> Richmond.
>
> ___
> use-livecode mailing list
> use-livecode@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Print to PDF

2018-01-03 Thread Richmond Mathewson via use-livecode

I wonder why this doesn't work:

onmouseUp

setthelockScreentotrue

settheformatForPrintingofthis stack totrue

openprinting topdf "./sampleOutput"

setthewidthoffld "fff" tothewidthofstack "PDF Printer"

settheheightoffld "fff" totheheightofstack "PDF Printer"

printcard 1

setthewidthoffld "fff" to450

settheheightoffld "fff" to560

setthetopoffld "fff" to20

settheleftoffld "fff" to20

closeprinting

setthelockScreentofalse

endmouseUp


Richmond.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Print to PDF output dodgy on Windows

2017-09-04 Thread Terry Judd via use-livecode
Thanks again Mark – it’s all printing nicely now without having to close and 
open the target stack.

Regards,

Terry...

 
On 4/09/2017 5:47 pm, "use-livecode on behalf of Mark Waddingham via 
use-livecode"  wrote:

On 2017-09-04 09:20, Terry Judd via use-livecode wrote:
> Thanks Mark - I wasn't aware of that setting. I'll try setting it to
> true before I print each report and see what happens. Based on the
> dictionary entry it sounds like I'll need to set it back to false
> again before my script updates all the report's various templates, and
> perhaps even close and reopen the stack before turning it back on and
> printing the next report?

The dictionary entry might need an update. Since we added 'fullscreen 
mode', I think the engine is a lot better at 'resetting things' when you 
toggle formatForPrinting on and off.

The 'formatForPrinting' changes the way fonts are handled on Windows to 
ensure that screen-specific hints and metric changes don't occur - 
'fullscreen mode' uses it implicitly internally on Windows too 
(otherwise fonts don't necessarily linearly scale with size, something 
which is quite important for printing!) so you should find you can just 
toggle it on and off.

Warmest Regards,

Mark.

-- 
Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/
LiveCode: Everyone can create apps

___
use-livecode mailing list
use-livecode@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Print to PDF output dodgy on Windows

2017-09-04 Thread Mark Waddingham via use-livecode

On 2017-09-04 09:20, Terry Judd via use-livecode wrote:

Thanks Mark - I wasn't aware of that setting. I'll try setting it to
true before I print each report and see what happens. Based on the
dictionary entry it sounds like I'll need to set it back to false
again before my script updates all the report's various templates, and
perhaps even close and reopen the stack before turning it back on and
printing the next report?


The dictionary entry might need an update. Since we added 'fullscreen 
mode', I think the engine is a lot better at 'resetting things' when you 
toggle formatForPrinting on and off.


The 'formatForPrinting' changes the way fonts are handled on Windows to 
ensure that screen-specific hints and metric changes don't occur - 
'fullscreen mode' uses it implicitly internally on Windows too 
(otherwise fonts don't necessarily linearly scale with size, something 
which is quite important for printing!) so you should find you can just 
toggle it on and off.


Warmest Regards,

Mark.

--
Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/
LiveCode: Everyone can create apps

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Print to PDF output dodgy on Windows

2017-09-04 Thread Terry Judd via use-livecode
Thanks Mark - I wasn't aware of that setting. I'll try setting it to true 
before I print each report and see what happens. Based on the dictionary entry 
it sounds like I'll need to set it back to false again before my script updates 
all the report's various templates, and perhaps even close and reopen the stack 
before turning it back on and printing the next report?

Terry...

Sent from my iPhone

> On 4 Sep 2017, at 4:20 pm, Mark Waddingham via use-livecode 
>  wrote:
> 
>> On 2017-09-04 06:43, Terry Judd via use-livecode wrote:
>> Before I bug report this, has anyone else had problems printing styled
>> text to PDF on Windows? I’ve been printing multipage reports (lots of
>> formatting, graphics etc) to PDF using LC on a Mac for ages without
>> any problems (well, not this particular problem at least). However,
>> when I try to do the same on Windows it screws up the text formatting
>> if any of the text within a field to be printed includes bolded or
>> italicised words, introducing adjacent non-existent spaces or (equally
>> bad) rending the styled text so that it overlaps the non-styled text
>> on either side of it. I’ve tried changing the font at the stack and
>> field level, thinking that might help but to no avail. If an entire
>> line or field has a style associated with it then there is no problem.
>> It’s only when styles are mixed within a field.
> 
> Do you have 'the formatForPrinting' of the stack set to true?
> 
> Warmest Regards,
> 
> Mark.
> 
> -- 
> Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/
> LiveCode: Everyone can create apps
> 
> ___
> use-livecode mailing list
> use-livecode@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Print to PDF output dodgy on Windows

2017-09-03 Thread Mark Waddingham via use-livecode

On 2017-09-04 06:43, Terry Judd via use-livecode wrote:

Before I bug report this, has anyone else had problems printing styled
text to PDF on Windows? I’ve been printing multipage reports (lots of
formatting, graphics etc) to PDF using LC on a Mac for ages without
any problems (well, not this particular problem at least). However,
when I try to do the same on Windows it screws up the text formatting
if any of the text within a field to be printed includes bolded or
italicised words, introducing adjacent non-existent spaces or (equally
bad) rending the styled text so that it overlaps the non-styled text
on either side of it. I’ve tried changing the font at the stack and
field level, thinking that might help but to no avail. If an entire
line or field has a style associated with it then there is no problem.
It’s only when styles are mixed within a field.


Do you have 'the formatForPrinting' of the stack set to true?

Warmest Regards,

Mark.

--
Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/
LiveCode: Everyone can create apps

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Print to PDF output dodgy on Windows

2017-09-03 Thread Terry Judd via use-livecode
Before I bug report this, has anyone else had problems printing styled text to 
PDF on Windows? I’ve been printing multipage reports (lots of formatting, 
graphics etc) to PDF using LC on a Mac for ages without any problems (well, not 
this particular problem at least). However, when I try to do the same on 
Windows it screws up the text formatting if any of the text within a field to 
be printed includes bolded or italicised words, introducing adjacent 
non-existent spaces or (equally bad) rending the styled text so that it 
overlaps the non-styled text on either side of it. I’ve tried changing the font 
at the stack and field level, thinking that might help but to no avail. If an 
entire line or field has a style associated with it then there is no problem. 
It’s only when styles are mixed within a field.

Terry...
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: [OT] Print to PDF

2015-01-14 Thread Kay C Lan
Thank you gentlemen. I had hoped that there would be a way with their set
up as is, these folks are old and techno-shy, but the Chrome or CutePDF +
ghostscript seems doable. I'll pass it on.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: [OT] Print to PDF

2015-01-14 Thread Roger Eller
Install CutePDF Writer.  (requires ghostscript)  Both are free, and links
are provided on this page:

http://www.cutepdf.com/Products/CutePDF/writer.asp

Afterwards, it will appear as a Windows printer.  I've used this for
decades.

Sent from my Android tablet
On Jan 12, 2015 6:53 PM, "Kay C Lan"  wrote:

> This is not LC related but as you are the largest group of varied OS users
> I thought I'd ask. I've just discovered that the very basic OS feature of
> being able to 'Print to PDF' may not be available on all OSs. On OS X it's
> a feature I use daily.
>
> Particularly in your web browser, if you choose Print, do you have an
> option to save to some kind of single file (pdf,doc,...) rather than send
> to a physical printer. Please advise the OS, web browser, the kind of file
> you can create and where that option is hidden.
>
> [This relates to some very elder gentlemen who I'm trying to help access
> some online pages, and then be able to save these pages to view whilst
> offline. The 3 web browsers I have all have the ability to Save as but
> the result is a folder full of media and a bunch of html files and if one
> or the other is moved then the document breaks. The structure takes up more
> space and it's also harder to clean up as it's more than just one file to
> Trash. To me, Print to PDF produces a much cleaner smaller document for
> storing, viewing offline and deleting. I was hoping to help them with a
> similar single file solution.]
>
> Thanks in advance
> ___
> use-livecode mailing list
> use-livecode@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: [OT] Print to PDF

2015-01-13 Thread Paul Hibbert
No sign of any way to Print To PDF with FF or IE on Win 7 (running under 
Parallels).

A quick check on Google and it seems this is still the case with Win 8, it 
looks like the only option is Chrome or third party software, unless somebody 
else knows different.

Paul

> On Jan 13, 2015, at 4:41 PM, Kay C Lan  wrote:
> 
> Gentlemen,
> 
> thank you very much, that is good news.
> 
> Anyone out there with Windows and Firefox and can confirm it has the 'Print
> to file' with the option to select pdf. The article Paul linked indicates
> Chrome is as Peter mentions for Debian, but doesn't mention Firefox; or IE.
> ___
> use-livecode mailing list
> use-livecode@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: [OT] Print to PDF

2015-01-13 Thread Kay C Lan
Gentlemen,

thank you very much, that is good news.

Anyone out there with Windows and Firefox and can confirm it has the 'Print
to file' with the option to select pdf. The article Paul linked indicates
Chrome is as Peter mentions for Debian, but doesn't mention Firefox; or IE.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: [OT] Print to PDF

2015-01-13 Thread Peter Alcibiades
Debian, both Firefox (aka Iceweasel) and Chrome do this.  Firefox is the
easiest, you just do print to file, select pdf and give it a name.  Chrome
its hidden in the far right drop down menu, but after you find 'print' it
gives you the option of PDF. It is much less intuitive.  I would just give
him Firefox and it should work fine.

Incidentally, if you want to give anyone a truly portable Linux, try
Porteus.  Brilliant, runs from stick, and configure it exactly how you want.

Peter



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/OT-Print-to-PDF-tp4687725p4687733.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: [OT] Print to PDF

2015-01-12 Thread Paul Hibbert
Maybe this could help…

http://www.howtogeek.com/150891/how-to-print-to-pdf-in-windows-4-tips-and-tricks/

Paul

> On Jan 12, 2015, at 3:53 PM, Kay C Lan  wrote:
> 
> This is not LC related but as you are the largest group of varied OS users
> I thought I'd ask. I've just discovered that the very basic OS feature of
> being able to 'Print to PDF' may not be available on all OSs. On OS X it's
> a feature I use daily.
> 
> Particularly in your web browser, if you choose Print, do you have an
> option to save to some kind of single file (pdf,doc,...) rather than send
> to a physical printer. Please advise the OS, web browser, the kind of file
> you can create and where that option is hidden.
> 
> [This relates to some very elder gentlemen who I'm trying to help access
> some online pages, and then be able to save these pages to view whilst
> offline. The 3 web browsers I have all have the ability to Save as but
> the result is a folder full of media and a bunch of html files and if one
> or the other is moved then the document breaks. The structure takes up more
> space and it's also harder to clean up as it's more than just one file to
> Trash. To me, Print to PDF produces a much cleaner smaller document for
> storing, viewing offline and deleting. I was hoping to help them with a
> similar single file solution.]
> 
> Thanks in advance
> ___
> use-livecode mailing list
> use-livecode@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

[OT] Print to PDF

2015-01-12 Thread Kay C Lan
This is not LC related but as you are the largest group of varied OS users
I thought I'd ask. I've just discovered that the very basic OS feature of
being able to 'Print to PDF' may not be available on all OSs. On OS X it's
a feature I use daily.

Particularly in your web browser, if you choose Print, do you have an
option to save to some kind of single file (pdf,doc,...) rather than send
to a physical printer. Please advise the OS, web browser, the kind of file
you can create and where that option is hidden.

[This relates to some very elder gentlemen who I'm trying to help access
some online pages, and then be able to save these pages to view whilst
offline. The 3 web browsers I have all have the ability to Save as but
the result is a folder full of media and a bunch of html files and if one
or the other is moved then the document breaks. The structure takes up more
space and it's also harder to clean up as it's more than just one file to
Trash. To me, Print to PDF produces a much cleaner smaller document for
storing, viewing offline and deleting. I was hoping to help them with a
similar single file solution.]

Thanks in advance
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: iOS: print to pdf crashing app, please help

2012-05-31 Thread Chris Sheffield
Thanks, William.

Turns out there's something on my card that the print command doesn't like. 
When I created a new clean stack with nothing but a single button and a single 
field on the card, it worked just fine. But with my regular stack, it crashes. 
I'll submit a report to RunRev and send them a sample stack that causes the 
crash. Thanks for the help.

Chris


On May 31, 2012, at 8:23 AM, William de Smet wrote:

> Hi Chris,
> 
> This is my code:
> lock screen
>   put specialFolderPath("documents") & "/screenshot.pdf" into tPDFPath
>   open printing to pdf tPDFPath
>   print this card from 13,6 to 750,753 into 13,6,600,600
>close printing
>   unlock screen
> 
> Hope this works for you now.
> 
> greetings,
> 
> William
> 
> 
> 2012/5/31 Chris Sheffield :
>> William,
>> 
>> I've tried different paths as well, including documents. Doesn't seem to 
>> make a difference in this case. Every time my handler hits the "print this 
>> card" line the app crashes. Are you able to successfully print a pdf into 
>> the documents folder?
>> 
>> Thanks,
>> Chris
>> 
>> 
>> On May 31, 2012, at 4:45 AM, William de Smet wrote:
>> 
>>> Hi there,
>>> 
>>> I use 'put specialFolderPath("documents") & "/screenshot.pdf" into tPDFPath'
>>> This works fine with me.
>>> I don't use 'temporary folder'.
>>> 
>>> greetings,
>>> 
>>> William
>>> 
>>> 
>>> 2012/5/31 Thomas McGrath III :
 I could not get this to work for me either.
 
 
 -- Tom McGrath III
 http://lazyriver.on-rev.com
 3mcgr...@comcast.net
 
 On May 30, 2012, at 4:45 PM, Chris Sheffield wrote:
 
> So I simply need to print a card to a pdf file. I've looked at the docs, 
> and even viewed Kevin's very handy video from the Small Business Academy. 
> No matter what I try, my app crashes when I try to print the card. Here's 
> my code:
> 
> put the temporary folder & "/summary.pdf" into tDocPath
> open printing to PDF tDocPath
> print this card into the printRectangle
> close printing
> 
> All goes well until the third line. Am I doing something wrong, or have I 
> found a nasty bug? Anyone else out there printing to pdf files under iOS?
> 
> Thanks,
> Chris
> 
> 
> --
> Chris Sheffield
> Read Naturally, Inc.
> www.readnaturally.com
> 
> ___
> use-livecode mailing list
> use-livecode@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@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@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@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@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: iOS: print to pdf crashing app, please help

2012-05-31 Thread William de Smet
Hi Chris,

This is my code:
 lock screen
   put specialFolderPath("documents") & "/screenshot.pdf" into tPDFPath
   open printing to pdf tPDFPath
   print this card from 13,6 to 750,753 into 13,6,600,600
   close printing
   unlock screen

Hope this works for you now.

greetings,

William


2012/5/31 Chris Sheffield :
> William,
>
> I've tried different paths as well, including documents. Doesn't seem to make 
> a difference in this case. Every time my handler hits the "print this card" 
> line the app crashes. Are you able to successfully print a pdf into the 
> documents folder?
>
> Thanks,
> Chris
>
>
> On May 31, 2012, at 4:45 AM, William de Smet wrote:
>
>> Hi there,
>>
>> I use 'put specialFolderPath("documents") & "/screenshot.pdf" into tPDFPath'
>> This works fine with me.
>> I don't use 'temporary folder'.
>>
>> greetings,
>>
>> William
>>
>>
>> 2012/5/31 Thomas McGrath III :
>>> I could not get this to work for me either.
>>>
>>>
>>> -- Tom McGrath III
>>> http://lazyriver.on-rev.com
>>> 3mcgr...@comcast.net
>>>
>>> On May 30, 2012, at 4:45 PM, Chris Sheffield wrote:
>>>
 So I simply need to print a card to a pdf file. I've looked at the docs, 
 and even viewed Kevin's very handy video from the Small Business Academy. 
 No matter what I try, my app crashes when I try to print the card. Here's 
 my code:

 put the temporary folder & "/summary.pdf" into tDocPath
 open printing to PDF tDocPath
 print this card into the printRectangle
 close printing

 All goes well until the third line. Am I doing something wrong, or have I 
 found a nasty bug? Anyone else out there printing to pdf files under iOS?

 Thanks,
 Chris


 --
 Chris Sheffield
 Read Naturally, Inc.
 www.readnaturally.com

 ___
 use-livecode mailing list
 use-livecode@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@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@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@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: iOS: print to pdf crashing app, please help

2012-05-31 Thread Chris Sheffield
William,

I've tried different paths as well, including documents. Doesn't seem to make a 
difference in this case. Every time my handler hits the "print this card" line 
the app crashes. Are you able to successfully print a pdf into the documents 
folder?

Thanks,
Chris


On May 31, 2012, at 4:45 AM, William de Smet wrote:

> Hi there,
> 
> I use 'put specialFolderPath("documents") & "/screenshot.pdf" into tPDFPath'
> This works fine with me.
> I don't use 'temporary folder'.
> 
> greetings,
> 
> William
> 
> 
> 2012/5/31 Thomas McGrath III :
>> I could not get this to work for me either.
>> 
>> 
>> -- Tom McGrath III
>> http://lazyriver.on-rev.com
>> 3mcgr...@comcast.net
>> 
>> On May 30, 2012, at 4:45 PM, Chris Sheffield wrote:
>> 
>>> So I simply need to print a card to a pdf file. I've looked at the docs, 
>>> and even viewed Kevin's very handy video from the Small Business Academy. 
>>> No matter what I try, my app crashes when I try to print the card. Here's 
>>> my code:
>>> 
>>> put the temporary folder & "/summary.pdf" into tDocPath
>>> open printing to PDF tDocPath
>>> print this card into the printRectangle
>>> close printing
>>> 
>>> All goes well until the third line. Am I doing something wrong, or have I 
>>> found a nasty bug? Anyone else out there printing to pdf files under iOS?
>>> 
>>> Thanks,
>>> Chris
>>> 
>>> 
>>> --
>>> Chris Sheffield
>>> Read Naturally, Inc.
>>> www.readnaturally.com
>>> 
>>> ___
>>> use-livecode mailing list
>>> use-livecode@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@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@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: iOS: print to pdf crashing app, please help

2012-05-31 Thread William de Smet
Hi there,

I use 'put specialFolderPath("documents") & "/screenshot.pdf" into tPDFPath'
This works fine with me.
I don't use 'temporary folder'.

greetings,

William


2012/5/31 Thomas McGrath III :
> I could not get this to work for me either.
>
>
> -- Tom McGrath III
> http://lazyriver.on-rev.com
> 3mcgr...@comcast.net
>
> On May 30, 2012, at 4:45 PM, Chris Sheffield wrote:
>
>> So I simply need to print a card to a pdf file. I've looked at the docs, and 
>> even viewed Kevin's very handy video from the Small Business Academy. No 
>> matter what I try, my app crashes when I try to print the card. Here's my 
>> code:
>>
>> put the temporary folder & "/summary.pdf" into tDocPath
>> open printing to PDF tDocPath
>> print this card into the printRectangle
>> close printing
>>
>> All goes well until the third line. Am I doing something wrong, or have I 
>> found a nasty bug? Anyone else out there printing to pdf files under iOS?
>>
>> Thanks,
>> Chris
>>
>>
>> --
>> Chris Sheffield
>> Read Naturally, Inc.
>> www.readnaturally.com
>>
>> ___
>> use-livecode mailing list
>> use-livecode@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@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: iOS: print to pdf crashing app, please help

2012-05-30 Thread Thomas McGrath III
I could not get this to work for me either.


-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.net

On May 30, 2012, at 4:45 PM, Chris Sheffield wrote:

> So I simply need to print a card to a pdf file. I've looked at the docs, and 
> even viewed Kevin's very handy video from the Small Business Academy. No 
> matter what I try, my app crashes when I try to print the card. Here's my 
> code:
> 
> put the temporary folder & "/summary.pdf" into tDocPath
> open printing to PDF tDocPath
> print this card into the printRectangle
> close printing
> 
> All goes well until the third line. Am I doing something wrong, or have I 
> found a nasty bug? Anyone else out there printing to pdf files under iOS?
> 
> Thanks,
> Chris
> 
> 
> --
> Chris Sheffield
> Read Naturally, Inc.
> www.readnaturally.com
> 
> ___
> use-livecode mailing list
> use-livecode@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


iOS: print to pdf crashing app, please help

2012-05-30 Thread Chris Sheffield
So I simply need to print a card to a pdf file. I've looked at the docs, and 
even viewed Kevin's very handy video from the Small Business Academy. No matter 
what I try, my app crashes when I try to print the card. Here's my code:

put the temporary folder & "/summary.pdf" into tDocPath
open printing to PDF tDocPath
print this card into the printRectangle
close printing

All goes well until the third line. Am I doing something wrong, or have I found 
a nasty bug? Anyone else out there printing to pdf files under iOS?

Thanks,
Chris


--
Chris Sheffield
Read Naturally, Inc.
www.readnaturally.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode