{"height":"190","url":"https://cocoaapi.hatenablog.com/entry/00000228/recID37387","type":"rich","image_url":null,"width":"100%","provider_url":"https://hatena.blog","provider_name":"Hatena Blog","version":"1.0","blog_url":"https://cocoaapi.hatenablog.com/","blog_title":"macOS/iOS API\u89e3\u8aac","description":"\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30d7\u30ea\u30f3\u30bf\u30fc\u3092\u8fd4\u3057\u307e\u3059 \u89e3\u8aac \u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30d7\u30ea\u30f3\u30bf\u30fc\u3092\u8fd4\u3057\u307e\u3059\u3002 \u30d7\u30ea\u30f3\u30bf\u30fc\u304c\u898b\u3064\u3051\u3089\u308c\u306a\u304b\u3063\u305f\u3089nil\u3092\u8fd4\u3057\u307e\u3059\u3002 \u8fd4\u308a\u5024 ( NSPrinter * ) \u30d7\u30ea\u30f3\u30bf \u5f15\u6570 \u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af ApplicationKit \u30af\u30e9\u30b9 NSPrintInfo Class Methods \u4f7f\u7528\u53ef\u80fd 10.0 \u53c2\u7167 + setDefaultPrinter: \u4f8b\u6587 #import \"Controller.h\" @implementation Controller - (IBAction)pushButton:(id)sender { NSLog([[NSPrintInfo defaultPrint\u2026","categories":["ApplicationKit","NSPrintInfo","10.0-"],"published":"0000-02-28 00:00:03","title":"defaultPrinter","author_url":"https://blog.hatena.ne.jp/jjj777/","author_name":"jjj777","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcocoaapi.hatenablog.com%2Fentry%2F00000228%2FrecID37387\" title=\"defaultPrinter - macOS/iOS API\u89e3\u8aac\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>"}