From 38aeb4c9490678ca92f2c47531fb1298733e34b4 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Wed, 7 Mar 2012 05:50:01 -0500 Subject: [PATCH] Explain the two `-E` options in the lpadmin printer add command. --- posts/Adding_a_network_printer_with_lpadmin.mdwn | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.26.2