From 3c6366df1961522739942ada1030ea9b85f56a2b Mon Sep 17 00:00:00 2001 From: Till Kamppeter Date: Tue, 26 Aug 2003 00:32:42 +0000 Subject: 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. --- perl-install/printer/main.pm | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'perl-install/printer') 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:/) { -- cgit v1.2.1