diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2000-09-05 14:21:48 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2000-09-05 14:21:48 +0000 |
commit | 44b596453c50044debba901575eb015045ae845d (patch) | |
tree | 478ad04ac879df73742947911a123b2e7bd82652 /perl-install/printerdrake.pm | |
parent | 25365fea641e9e5bcec2372695c9438d099b78eb (diff) | |
download | drakx-44b596453c50044debba901575eb015045ae845d.tar drakx-44b596453c50044debba901575eb015045ae845d.tar.gz drakx-44b596453c50044debba901575eb015045ae845d.tar.bz2 drakx-44b596453c50044debba901575eb015045ae845d.tar.xz drakx-44b596453c50044debba901575eb015045ae845d.zip |
no_comment
Diffstat (limited to 'perl-install/printerdrake.pm')
-rw-r--r-- | perl-install/printerdrake.pm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/perl-install/printerdrake.pm b/perl-install/printerdrake.pm index 0570bd693..ddc3ba945 100644 --- a/perl-install/printerdrake.pm +++ b/perl-install/printerdrake.pm @@ -274,8 +274,8 @@ _("Eject page after job?") => { val => \$printer->{AUTOSENDEOF}, type => 'bool' _("Resolution") => { val => \$printer->{RESOLUTION}, type => 'list', not_edit => !$::expert, list => \@res } ) : (), @list_col > 1 ? ( $is_uniprint ? ( -_("Uniprint driver options") => { val => \$printer->{BITSPERPIXEL}, type => 'list', not_edit => 1, list => \@col } ) : ( -_("Color depth options") => { val => \$printer->{BITSPERPIXEL}, type => 'list', not_edit => 1, list => \@col } ), ) : (), +_("Uniprint driver options") => { val => \$printer->{BITSPERPIXEL}, type => 'list', list => \@col } ) : ( +_("Color depth options") => { val => \$printer->{BITSPERPIXEL}, type => 'list', list => \@col } ), ) : (), $db_entry{GSDRIVER} ne 'TEXT' && $db_entry{GSDRIVER} ne 'POSTSCRIPT' && $db_entry{GSDRIVER} ne 'ppa' ? ( _("Print text as PostScript?") => { val => \$printer->{ASCII_TO_PS}, type => 'bool' }, ) : (), #+_("Reverse page order") => { val => \$printer->{REVERSE_ORDER}, type => 'bool' }, @@ -388,7 +388,7 @@ how is the printer connected?"), [ _("Name of printer") => { val => \$printer->{QUEUE} }, _("Description") => { val => \$printer->{Info} }, _("Location") => { val => \$printer->{Location} }, -_("Printer Connection") => { val => \$printer->{str_type}, not_edit => 1, list => [ printer::printer_type($printer) ] }, +_("Printer Connection") => { val => \$printer->{str_type}, list => [ printer::printer_type($printer) ] }, ], ) or printer::remove_queue($printer), $continue = 1, last; } else { @@ -398,7 +398,7 @@ name (often lp) and a spool directory associated with it. What name and directory should be used for this queue and how is the printer connected?"), [ _("Name of queue") => { val => \$printer->{QUEUE} }, _("Spool directory") => { val => \$printer->{SPOOLDIR} }, -_("Printer Connection") => { val => \$printer->{str_type}, not_edit => 1, list => [ printer::printer_type($printer) ] }, +_("Printer Connection") => { val => \$printer->{str_type}, list => [ printer::printer_type($printer) ] }, ], changed => sub { $printer->{SPOOLDIR} = printer::default_spooldir($printer) unless $_[0]; |