iPhone和打印机集成用于自定义应用程序开发的示例代码/ API [英] iPhone and printer integration Sample code/API for custom App development

查看:162
本文介绍了iPhone和打印机集成用于自定义应用程序开发的示例代码/ API的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近的订婚要求使用iPhone进行打印机集成。该应用程序将

My recent engagement demands a printer integration using iPhone. The app will

•使用收集的数据生成PDF
•当用户点击打印按钮时打印相同

• Generate a PDF with the collected data • Print the same when user clicks print button

我是iPhone开发的新手。几乎没有任何参考和示例代码支持打印功能,但市场上有很多应用程序可以从iPhone打印!

I am fairly new in iPhone development. There are hardly any reference and sample codes to support the printing feature , however there are quite a few apps available in the market to print from iPhone!

请帮我参考或示例代码,以实现我们正在构建的自定义应用程序中的功能。

Please help me with reference or sample code to realize the feature from within the custom app we are building.

非常感谢
-Jet

Many Thanks -Jeet

推荐答案

Apple提供官方打印API。这仅支持iOS 4.2及更高版本:

There is official printing API from Apple. This only support for iOS 4.2 and above though:

http://developer.apple.com/library/ios/#documentation/2DDrawing/Conceptual/DrawingPrintingiOS/Printing/Printing.html

这篇关于iPhone和打印机集成用于自定义应用程序开发的示例代码/ API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆