summaryrefslogtreecommitdiffstats
path: root/perl-install/printer.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/printer.pm')
-rw-r--r--perl-install/printer.pm6
1 files changed, 6 insertions, 0 deletions
diff --git a/perl-install/printer.pm b/perl-install/printer.pm
index d5bc1e22b..fc2e0bc6f 100644
--- a/perl-install/printer.pm
+++ b/perl-install/printer.pm
@@ -2569,6 +2569,12 @@ sub makeopenofficeprinterentry {
my $default = "0";
if ($queue eq $printer->{DEFAULT}) {
$default = "1";
+ # "DefaultPrinter=0" for the "Generic Printer"
+ $configfile = removeentry("Generic Printer", "DefaultPrinter=",
+ $configfile);
+ $configfile = addentry("Generic Printer",
+ "DefaultPrinter=0",
+ $configfile);
}
$configfile = addentry($queue,
"DefaultPrinter=$default",