{"id":72,"date":"2009-07-09T13:04:12","date_gmt":"2009-07-09T20:04:12","guid":{"rendered":"http:\/\/www.steveneppler.com\/blog\/?p=72"},"modified":"2009-07-09T13:04:12","modified_gmt":"2009-07-09T20:04:12","slug":"adding-printers-to-os-x-from-the-command-line","status":"publish","type":"post","link":"https:\/\/steveneppler.com\/blog\/2009\/07\/09\/adding-printers-to-os-x-from-the-command-line","title":{"rendered":"Adding Printers to OS X from the Command Line"},"content":{"rendered":"<p>After a little searching, I found out you can add printers to OS X from the command line using this syntax:<br \/>\n<code><br \/>\nlpadmin -p Printer_Name -L \"Printer Location\" -E -v lpd:\/\/x.x.x.x -P \/Library\/Printers\/PPDs\/Contents\/Resources\/en.lproj\/Printer_Driver.gz<br \/>\n<\/code><\/p>\n<p>If you don&#8217;t specify the -P option, it will not show up in your Print or Printer Setup dialogs.  If you want to include the generic PPD, it is located here:<\/p>\n<p><code>\/System\/Library\/Frameworks\/ApplicationServices.framework\/Versions \\ \/A\/Frameworks\/PrintCore.framework\/Versions\/A\/Resources\/Generic.ppd<\/code><\/p>\n<p>That path is all one line, with no spaces.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>After a little searching, I found out you can add printers to OS X from the command line using this syntax: lpadmin -p Printer_Name -L &#8220;Printer Location&#8221; -E -v lpd:\/\/x.x.x.x -P \/Library\/Printers\/PPDs\/Contents\/Resources\/en.lproj\/Printer_Driver.gz If you don&#8217;t specify the -P option, it will not show up in your Print or Printer Setup dialogs. If you want to &#8230; <a title=\"Adding Printers to OS X from the Command Line\" class=\"read-more\" href=\"https:\/\/steveneppler.com\/blog\/2009\/07\/09\/adding-printers-to-os-x-from-the-command-line\" aria-label=\"Read more about Adding Printers to OS X from the Command Line\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7,4],"tags":[],"class_list":["post-72","post","type-post","status-publish","format-standard","hentry","category-mac-os-x","category-on-the-job"],"_links":{"self":[{"href":"https:\/\/steveneppler.com\/blog\/wp-json\/wp\/v2\/posts\/72","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/steveneppler.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/steveneppler.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/steveneppler.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/steveneppler.com\/blog\/wp-json\/wp\/v2\/comments?post=72"}],"version-history":[{"count":4,"href":"https:\/\/steveneppler.com\/blog\/wp-json\/wp\/v2\/posts\/72\/revisions"}],"predecessor-version":[{"id":76,"href":"https:\/\/steveneppler.com\/blog\/wp-json\/wp\/v2\/posts\/72\/revisions\/76"}],"wp:attachment":[{"href":"https:\/\/steveneppler.com\/blog\/wp-json\/wp\/v2\/media?parent=72"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/steveneppler.com\/blog\/wp-json\/wp\/v2\/categories?post=72"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/steveneppler.com\/blog\/wp-json\/wp\/v2\/tags?post=72"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}