I've developing an iPad/iPhone application that requires that I print out a receipt on a network printer when I finish a transaction. I've managed to get airprint functionality working to some extent in that I can get the UIPrintInteractionController popover to appear appropriately, click the "Print" button and then view the results in the Printer Simulator. Because of the requirements of my application, I'm hoping to skip the popover step and automatically print the receipt when I close the transaction. In other words, is it possible to send a print job to a pre-specified network printer without having to add the extra button click? Do I need to try to extend the UIPrintInteractionController class? If so, has anyone had luck with this approach?
Any other alternate recommendations would be great as well.
There is no way to do this using the UIPrintInteractionController
class, it is designed to present the user with standard print options, and there is no app store safe way of getting around this.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With