Yes, I have... It's a little bit of a pain, but it's working quite well! You
have to use the "rrehardcopy" external. It's provided in the "LiveCodeSDK-R10"
package (http://www.runrev.com/developers/documentation/externals-sdk/).
Include it in your iOS standalone and it will popup the standard choose printer
panel.
What you do is first print whatever you want the user to print to a pdf file.
Then call this:
on printIt tPDFFile,tPrintJob
-- tPDFFile = the path to the pdf file
-- specialFolderPath("Documents") & "/printTemp.pdf" for example
--tPrintJob = the name of the print job as seen by the user
if not rreHardcopyIsAvailable() then
answer "Printing is not available at this time." titled "Whoops"
exit to top
end if
rreHardcopyPrintPDF tPDFFile, tPrintJob
if the result = "printing cancelled" then
exit to top
end if
end printIt
Hope that helps!
-Dan
On Jan 2, 2012, at 10:00 AM, [email protected] wrote:
> Date: Sun, 1 Jan 2012 22:20:51 -0800
> From: <[email protected]>
> To: [email protected]
> Subject: Printing from iOS
> Message-ID: <20120102012051.CGW4D.507523.imail@fed1rmwml213>
> Content-Type: text/plain; charset=utf-8
>
> Has anyone found or created a way to achieve "print card" from iOS on an
> iPhone or iPad to an Air Print enabled wireless printer?
_______________________________________________
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