{"id":1303,"date":"2015-07-07T16:46:57","date_gmt":"2015-07-07T23:46:57","guid":{"rendered":"http:\/\/jim-zimmerman.com\/?p=1303"},"modified":"2015-07-07T16:46:57","modified_gmt":"2015-07-07T23:46:57","slug":"initiate-printer-creation-from-command-line-in-windows","status":"publish","type":"post","link":"https:\/\/jim-zimmerman.com\/?p=1303","title":{"rendered":"Initiate Printer Creation From Command Line in Windows"},"content":{"rendered":"<p>To setup a network printer that is created and shared on SERVERNAME:<\/p>\n<blockquote><p>RUNDLL32.EXE printui.dll,PrintUIEntry \/in \/n\\\\<em>SERVERNAME<\/em>\\<em>PRINTERSHARENAME<\/em><\/p><\/blockquote>\n<p>To set that printer as the default printer:<\/p>\n<blockquote><p>RUNDLL32.EXE printui.dll,PrintUIEntry \/y \/n\\\\<em>SERVERNAME<\/em>\\<em>PRINTERSHARENAME<\/em><\/p><\/blockquote>\n<p>This can be useful to help somebody get a printer connected easily using a script.<\/p>\n<p>More info: <a href=\"https:\/\/technet.microsoft.com\/en-us\/library\/ee624057.aspx\" target=\"_blank\">https:\/\/technet.microsoft.com\/en-us\/library\/ee624057.aspx<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>To setup a network printer that is created and shared on SERVERNAME: RUNDLL32.EXE printui.dll,PrintUIEntry \/in \/n\\\\SERVERNAME\\PRINTERSHARENAME To set that printer as the default printer: RUNDLL32.EXE printui.dll,PrintUIEntry \/y \/n\\\\SERVERNAME\\PRINTERSHARENAME This can be useful to help somebody get a printer connected easily using a script. More info: https:\/\/technet.microsoft.com\/en-us\/library\/ee624057.aspx<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[145,276,36],"class_list":["post-1303","post","type-post","status-publish","format-standard","hentry","category-documentation","tag-command-line","tag-printer","tag-windows"],"share_on_mastodon":{"url":"","error":""},"_links":{"self":[{"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/posts\/1303","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1303"}],"version-history":[{"count":1,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/posts\/1303\/revisions"}],"predecessor-version":[{"id":1304,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/posts\/1303\/revisions\/1304"}],"wp:attachment":[{"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1303"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1303"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1303"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}