From 4e04c64b2a426b027f1af69c0188082c035bb382 Mon Sep 17 00:00:00 2001 From: Till Kamppeter Date: Fri, 2 Sep 2005 12:31:26 +0000 Subject: - Use printer name determined by HPLIP to auto-select PPD file of a network printer where the model name was not determined by SNMP. --- perl-install/printer/printerdrake.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'perl-install') diff --git a/perl-install/printer/printerdrake.pm b/perl-install/printer/printerdrake.pm index 46e5a2fdf..7fd9d5496 100644 --- a/perl-install/printer/printerdrake.pm +++ b/perl-install/printer/printerdrake.pm @@ -2522,7 +2522,8 @@ sub setup_common { printer::main::hplip_device_entry_from_uri ($hplipdevice); } - if ($makemodel !~ /\S/) { + if (($makemodel !~ /\S/) || + ($makemodel =~ /$searchunknown/)) { $makemodel = $hplipentry->{model}; $makemodel =~ s/_/ /g; $makemodel = "HP " . $makemodel -- cgit v1.2.1