summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/printer/main.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/printer/main.pm b/perl-install/printer/main.pm
index fbbdd28c3..8f8a4671c 100644
--- a/perl-install/printer/main.pm
+++ b/perl-install/printer/main.pm
@@ -2357,6 +2357,9 @@ sub read_hplip_db {
and $entry->{deviddesc} = $2;
$idstr =~ m!(CMD|COMMAND\s*SET):([^;]+);!i
and $entry->{devidcmdset} = $2;
+ } elsif (m!^\s*<tech type="(\d+)"/>\s*$!) {
+ # Printing technology
+ $entry->{tech} = $1;
} elsif (m!^\s*<align type="(\d+)"/>\s*$!) {
# Head alignment type
$entry->{align} = $1;