diff options
author | Till Kamppeter <tkamppeter@mandriva.com> | 2005-02-09 20:55:16 +0000 |
---|---|---|
committer | Till Kamppeter <tkamppeter@mandriva.com> | 2005-02-09 20:55:16 +0000 |
commit | fb5d8ebc42b9de72e529c27a70f4c466cccfbb1b (patch) | |
tree | 21a59196687adeef7c861b3d18a4f2b2e7a6a296 /perl-install | |
parent | 0dfdc92f6e13ba4709257ed85cfb40966c30ea36 (diff) | |
download | drakx-backup-do-not-use-fb5d8ebc42b9de72e529c27a70f4c466cccfbb1b.tar drakx-backup-do-not-use-fb5d8ebc42b9de72e529c27a70f4c466cccfbb1b.tar.gz drakx-backup-do-not-use-fb5d8ebc42b9de72e529c27a70f4c466cccfbb1b.tar.bz2 drakx-backup-do-not-use-fb5d8ebc42b9de72e529c27a70f4c466cccfbb1b.tar.xz drakx-backup-do-not-use-fb5d8ebc42b9de72e529c27a70f4c466cccfbb1b.zip |
Added reading the printing technology type in the HPLIP model database.
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/printer/main.pm | 3 |
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; |