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 <[email protected]>:
>> I could not get this to work for me either.
>> 
>> 
>> -- Tom McGrath III
>> http://lazyriver.on-rev.com
>> [email protected]
>> 
>> 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
>>> [email protected]
>>> Please visit this url to subscribe, unsubscribe and manage your 
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> 
>> _______________________________________________
>> use-livecode mailing list
>> [email protected]
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> _______________________________________________
> use-livecode mailing list
> [email protected]
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to