Re: Printing from iOS

2012-01-02 Thread Dan Friedman
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, use-livecode-requ...@lists.runrev.com wrote:

 Date: Sun, 1 Jan 2012 22:20:51 -0800
 From: gwendalw...@cox.net
 To: use-livecode@lists.runrev.com
 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
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


Printing from iOS

2012-01-01 Thread gwendalwood
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
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