From: W. Trevor King Date: Wed, 7 Mar 2012 10:50:01 +0000 (-0500) Subject: Explain the two `-E` options in the lpadmin printer add command. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=38aeb4c9490678ca92f2c47531fb1298733e34b4;p=mw2txt.git Explain the two `-E` options in the lpadmin printer add command. --- diff --git a/posts/Adding_a_network_printer_with_lpadmin.mdwn b/posts/Adding_a_network_printer_with_lpadmin.mdwn index ae332ec..be08bfb 100644 --- a/posts/Adding_a_network_printer_with_lpadmin.mdwn +++ b/posts/Adding_a_network_printer_with_lpadmin.mdwn @@ -47,6 +47,10 @@ Putting it all together, add and enable the new printer: $ lpadmin -E -p afmlab -v socket://123.45.67.89 -m gutenprint.5.2://hp-lj_4240/expert -L "LaserJet 4042, Disque 927" -E +Note the two `-E` options. The first one (before `-p`) forces +encryption when connecting to the server. The last one enables the +destination and starts accepting jobs. + You'll probably also want to make the new printer the default: $ lpadmin -d afmlab