How to test printing from iPhone App if we do not have AirPrint enabled Printers?
Asked Answered
Q

4

27

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.

Quiddity answered 27/1, 2012 at 4:5 Comment(2)
Buy a printer? They can be had fairly cheaply and you'd be crazy not to test on a real device.Thibaud
Agreed. But what can we do if its urgent to test? Is there a way out?Quiddity
M
51

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.

Martensite answered 27/1, 2012 at 4:26 Comment(4)
In the iOS simulator, file menu, Open print simulator.Gilford
You can also find it from xcode directly in the Xcode menu-> Open Developer Tool->Printer SimulatorSole
@sosborn: This option doesn't show in xcode6 with ios7 or ios8 simulator!!! Is there any other way for this?Newsdealer
Xcode 6: #26031202Tee
D
8

In the iOS simulator look under the File menu. You'll find "Open Printer Simulator". This will provide several different simulated printers.

Demount answered 27/1, 2012 at 5:0 Comment(0)
L
6

Since Xcode 6 you have to download it separately: Hardware IO Tools

This package includes additional hardware i/o tools formerly bundled in the Xcode installer. These tools include: Apple Bluetooth Guidelines Validation, Bluetooth Explorer, HomeKit Accessory Simulator, IO Registry Explorer, Network Link Conditioner.prefpane, PacketLogger and Printer Simulator. These graphic tools support running on OS X 10.10 and OS X 10.9.

Luck answered 27/11, 2014 at 7:31 Comment(0)
A
4

You can also do some setup to share any conventional printer as if it were a real AirPrint printer.

Abutting answered 15/2, 2012 at 19:43 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.