summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTill Kamppeter <tkamppeter@mandriva.com>2003-08-26 00:32:42 +0000
committerTill Kamppeter <tkamppeter@mandriva.com>2003-08-26 00:32:42 +0000
commit3c6366df1961522739942ada1030ea9b85f56a2b (patch)
tree9d91f93ba2608a36e4a4cc193164838dea765538
parent56fb9ae3ca7ec6aa792068bd82e97bb198092299 (diff)
downloaddrakx-3c6366df1961522739942ada1030ea9b85f56a2b.tar
drakx-3c6366df1961522739942ada1030ea9b85f56a2b.tar.gz
drakx-3c6366df1961522739942ada1030ea9b85f56a2b.tar.bz2
drakx-3c6366df1961522739942ada1030ea9b85f56a2b.tar.xz
drakx-3c6366df1961522739942ada1030ea9b85f56a2b.zip
If an HPOJ-controlled HP MF device on a parallel port has an URI with
model reference (and not port number) tell at least in the menues that it is on a parallel port.
-rw-r--r--perl-install/printer/main.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/perl-install/printer/main.pm b/perl-install/printer/main.pm
index e6567c8cb..1c9790be4 100644
--- a/perl-install/printer/main.pm
+++ b/perl-install/printer/main.pm
@@ -338,6 +338,8 @@ sub make_menuentry {
my $number = $1;
$connection = N(", multi-function device on parallel port #%s",
$number);
+ } elsif ($ptaldevice =~ /^mlc:par:/) {
+ $connection = N(", multi-function device on a parallel port");
} elsif ($ptaldevice =~ /^mlc:usb:/) {
$connection = N(", multi-function device on USB");
} elsif ($ptaldevice =~ /^hpjd:/) {
@@ -387,6 +389,8 @@ sub connectionstr {
my $number = $1;
$connection = N("Multi-function device on parallel port #%s",
$number);
+ } elsif ($ptaldevice =~ /^mlc:par:/) {
+ $connection = N("Multi-function device on a parallel port");
} elsif ($ptaldevice =~ /^mlc:usb:/) {
$connection = N("Multi-function device on USB");
} elsif ($ptaldevice =~ /^hpjd:/) {