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
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/
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
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
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 Sma
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 print