projects
/
mw2txt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8347c6
)
Explain the two `-E` options in the lpadmin printer add command.
author
W. Trevor King
<wking@drexel.edu>
Wed, 7 Mar 2012 10:50:01 +0000
(
05:50
-0500)
committer
W. Trevor King
<wking@drexel.edu>
Wed, 7 Mar 2012 10:50:01 +0000
(
05:50
-0500)
posts/Adding_a_network_printer_with_lpadmin.mdwn
patch
|
blob
|
history
diff --git
a/posts/Adding_a_network_printer_with_lpadmin.mdwn
b/posts/Adding_a_network_printer_with_lpadmin.mdwn
index ae332ec5ad95edf1b69424a786d3ad91bace005e..be08bfb7ba27224c9d090743aeb6c1d38e5e722a 100644
(file)
--- 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