@@ -185,6 +185,10 @@ class KMPrintWindowController: KMBaseWindowController, NetServiceBrowserDelegate
return
}
+ if inputDocument != nil {
+ guard let pdfDocument = PDFDocument(url: inputDocument!.documentURL) else { return }
+ }
+
let printWindowController: KMPrintWindowController = KMPrintWindowController.init(windowNibName: "KMPrintWindowController")
printWindowController.printType = printType