{"provider_url":"https://hatena.blog","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/B/BG1/20200715/20200715025744.png","blog_title":"\u8eca\u8f2a\u306ex\u767a\u660e ~B.G's Blog~","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbg1.hatenablog.com%2Fentry%2F2021%2F02%2F02%2F210000\" title=\"SetPrinter - \u8eca\u8f2a\u306ex\u767a\u660e ~B.G&#39;s Blog~\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","type":"rich","author_url":"https://blog.hatena.ne.jp/BG1/","provider_name":"Hatena Blog","title":"SetPrinter","published":"2021-02-02 21:00:00","height":"190","author_name":"BG1","blog_url":"https://bg1.hatenablog.com/","url":"https://bg1.hatenablog.com/entry/2021/02/02/210000","version":"1.0","categories":["WindowsAPI"],"description":"SetPrinter\u3067\u3001\u30d7\u30ea\u30f3\u30bf\u306e\u8a2d\u5b9a\u3092\u3059\u308b\u3002SetPrinter function (WinSpool.h) - Win32 apps | Microsoft Docs https://support.microsoft.com/ja-jp/help/140285/how-to-modify-printer-settings-by-using-setprinter\u3053\u308c\u3067\u3001\u30d7\u30ea\u30f3\u30bf\u8a2d\u5b9a\u306e\u5909\u66f4\u304c\u5b8c\u4e86\u3059\u308b\u3002 // \u30d7\u30ea\u30f3\u30bf\u3092\u958b\u304f. pd.DesiredAccess = PRINTER_ACCESS_USE; // \u30e6\u30fc\u30b6\u6a29\u9650. bOpen = OpenPrinter(ptszBuf, &hPrin\u2026","width":"100%"}