From fdb2cbbdd60bd79d67cdb900a86533786267d510 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Thu, 10 May 2012 12:47:28 -0400 Subject: [PATCH] Fix LaserJet 4042 -> 4240 typos in lpadmin post. --- posts/Adding_a_network_printer_with_lpadmin.mdwn | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/posts/Adding_a_network_printer_with_lpadmin.mdwn b/posts/Adding_a_network_printer_with_lpadmin.mdwn index be08bfb..69791ad 100644 --- a/posts/Adding_a_network_printer_with_lpadmin.mdwn +++ b/posts/Adding_a_network_printer_with_lpadmin.mdwn @@ -31,7 +31,7 @@ knows about with [lpinfo][]: Finally, you'll need to figure out which `model` (driver) to use. `lpinfo` leys you search through available drivers by make and model: - $ lpinfo --make-and-model 'LaserJet 4042' -m + $ lpinfo --make-and-model 'LaserJet 4240' -m gutenprint.5.2://hp-lj_4240/expert HP LaserJet 4240 - CUPS+Gutenprint v5.2.5 gutenprint.5.2://hp-lj_4240/simple HP LaserJet 4240 - CUPS+Gutenprint v5.2.5 Simplified foomatic:HP-LaserJet_4240-Postscript.ppd HP LaserJet 4240 Foomatic/Postscript @@ -45,7 +45,7 @@ If it doesn't work, you can reconfigure with a better driver later. 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 + $ lpadmin -E -p afmlab -v socket://123.45.67.89 -m gutenprint.5.2://hp-lj_4240/expert -L "LaserJet 4240, 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 -- 2.26.2