iOS Printing Duplex without PrintInteractionController

I want the user to be able to always print the document double-sided without displaying the UIPrintInteractionController. (Quick Print) I setup the printerInfo as follows and then have them select the printer.

Code Block
let printerInfo = UIPrintInfo(dictionary: nil)
printerInfo.outputType = .general
printerInfo.orientation = .portrait
printerInfo.duplex = .longEdge


The problems is that it does not always print "duplex" or double-sided if another app has changed the double sided print setting via the UIPrintInteractionController -OR- if a print error occurs, even though I specify duplex int he printerInfo.
Is this a bug or a feature? Can I create my own "Printer" locally that only my app uses by duplicating the UIPrinter?

Why don't you do this AFTER selecting the printer ?
iOS Printing Duplex without PrintInteractionController
 
 
Q