【发布时间】:2014-03-05 10:29:49
【问题描述】:
我的 livecode 项目中需要一个打印按钮。(为 ipad ios 7 开发)。 请帮帮我
【问题讨论】:
标签: ios ipad livecode airprint
我的 livecode 项目中需要一个打印按钮。(为 ipad ios 7 开发)。 请帮帮我
【问题讨论】:
标签: ios ipad livecode airprint
我刚刚使用 SDK 提供的示例代码测试了 rreHardCopy 外部,打印弹出窗口按预期显示-
on mouseUp
local tPDFFile
put specialFolderPath("Documents") & slash & "test.pdf" into tPDFFile
delete file tPDFFile
open printing to pdf tPDFFile
print this card
close printing
rreHardcopyPrintPDF tPDFFile, "Test PDF Print"
answer "PrintPDF returned" && the result
end mouseUp
这已在模拟器和物理设备上进行了测试。
可以在这里找到我制作的外部版本的链接-
http://techsupport.on-rev.com/sostacks/rrehardcopy%20DEVICE.zip
http://techsupport.on-rev.com/sostacks/rrehardcopy%20SIMULATOR.zip
【讨论】:
如果您已编译外部并将其包含到您的项目中,这应该可以工作:
on mouseUp
rreHardcopyPrintPDF
end mouseUp
如果您在编译或包含外部时遇到问题,请明确说明您到目前为止所做的工作。
【讨论】: