如果我们没有启用 AirPrint 的打印机,如何测试从 iPhone 应用程序的打印?
如果我们没有启用 AirPrint 的打印机,是否有方法测试是否通过 iPhone 应用程序打印正确的页面?
请告诉我。
Is there a way to test whether correct pages are being passed for printing from iPhone App if we do not have AirPrint enabled printers?
Please let me know.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
您实际上可以在模拟器中测试打印,在设置中的某个位置(抱歉,目前不在我的计算机附近)有一个打开打印服务器的选项。当你测试时它会输出一个PDF。
You can actually test printing in the simulator, somewhere in the setting (sorry, not near my computer at the moment) there is an option to turn on the print server. When you test it will output a PDF.
在 iOS 模拟器中,查看“文件”菜单下的内容。您会找到“打开打印机模拟器”。这将提供几种不同的模拟打印机。
In the iOS simulator look under the File menu. You'll find "Open Printer Simulator". This will provide several different simulated printers.
从 Xcode 6 开始,您必须单独下载它:
硬件 IO 工具
Since Xcode 6 you have to download it separately:
Hardware IO Tools
您还可以进行一些设置来共享任何传统打印机就像真正的 AirPrint 打印机一样。
You can also do some setup to share any conventional printer as if it were a real AirPrint printer.