summaryrefslogtreecommitdiffstats
path: root/perl-install/printer.pm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2001-04-09 08:33:33 +0000
committerFrancois Pons <fpons@mandriva.com>2001-04-09 08:33:33 +0000
commit60c13854e2373c0df499112b991c4173f162ec25 (patch)
tree283dd33c63fb5a2708c48c6a3a6f1f5581d669c0 /perl-install/printer.pm
parentc55391127e07c23479a2d006b54a0695e5858bd6 (diff)
downloaddrakx-backup-do-not-use-60c13854e2373c0df499112b991c4173f162ec25.tar
drakx-backup-do-not-use-60c13854e2373c0df499112b991c4173f162ec25.tar.gz
drakx-backup-do-not-use-60c13854e2373c0df499112b991c4173f162ec25.tar.bz2
drakx-backup-do-not-use-60c13854e2373c0df499112b991c4173f162ec25.tar.xz
drakx-backup-do-not-use-60c13854e2373c0df499112b991c4173f162ec25.zip
added Till patch for printer (raw queue and PostScript queue).
Diffstat (limited to 'perl-install/printer.pm')
-rw-r--r--perl-install/printer.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/printer.pm b/perl-install/printer.pm
index 313df7806..4006dc446 100644
--- a/perl-install/printer.pm
+++ b/perl-install/printer.pm
@@ -381,7 +381,7 @@ sub get_descr_from_ppd {
my %ppd;
#- if there is no ppd, this means this is the PostScript generic filter.
- local *F; open F, "$prefix/etc/cups/ppd/$printer->{QUEUE}.ppd" or return "Generic PostScript";
+ local *F; open F, "$prefix/etc/cups/ppd/$printer->{QUEUE}.ppd" or return "POSTSCRIPT|Generic PostScript printer (en)";
local $_;
while (<F>) {
/^\*([^\s:]*)\s*:\s*\"([^\"]*)\"/ and do { $ppd{$1} = $2; next };
@@ -417,7 +417,7 @@ sub poll_ppd_base {
scalar(keys %descr_to_ppd) > 5 or die "unable to connect to cups server";
#- assume a default printer not using any ppd at all.
- $descr_to_ppd{"Generic PostScript"} = '';
+ $descr_to_ppd{"No driver (raw queue)"} = '';
}
#-******************************************************************************