diff options
author | Till Kamppeter <tkamppeter@mandriva.com> | 2001-08-15 22:48:13 +0000 |
---|---|---|
committer | Till Kamppeter <tkamppeter@mandriva.com> | 2001-08-15 22:48:13 +0000 |
commit | e192b0985a1cfaa8b270e6142b99797ad3cf756d (patch) | |
tree | 658f510f09f14171812f7273c5699fbfed2bf878 /perl-install/printer.pm | |
parent | 157996b04d563708e044f449e87c0a0087532c75 (diff) | |
download | drakx-e192b0985a1cfaa8b270e6142b99797ad3cf756d.tar drakx-e192b0985a1cfaa8b270e6142b99797ad3cf756d.tar.gz drakx-e192b0985a1cfaa8b270e6142b99797ad3cf756d.tar.bz2 drakx-e192b0985a1cfaa8b270e6142b99797ad3cf756d.tar.xz drakx-e192b0985a1cfaa8b270e6142b99797ad3cf756d.zip |
Let the "Options" button only appear when the queue is Foomatic or with PPD (CUPS)
Diffstat (limited to 'perl-install/printer.pm')
-rw-r--r-- | perl-install/printer.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/printer.pm b/perl-install/printer.pm index 28c30da4e..e7ddcea46 100644 --- a/perl-install/printer.pm +++ b/perl-install/printer.pm @@ -554,7 +554,8 @@ 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->{OLD_QUEUE}.ppd" or return "OTHERS|Generic PostScript printer|PostScript (en)"; + local *F; open F, "$prefix/etc/cups/ppd/$printer->{OLD_QUEUE}.ppd" or return "|" . _("Unknown model"); + # "OTHERS|Generic PostScript printer|PostScript (en)"; local $_; while (<F>) { /^\*([^\s:]*)\s*:\s*\"([^\"]*)\"/ and do { $ppd{$1} = $2; next }; |