diff options
Diffstat (limited to 'perl-install/printer/main.pm')
-rw-r--r-- | perl-install/printer/main.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/printer/main.pm b/perl-install/printer/main.pm index 87b5b0c6f..0a3750b95 100644 --- a/perl-install/printer/main.pm +++ b/perl-install/printer/main.pm @@ -357,7 +357,7 @@ sub make_menuentry { } elsif ($connect =~ m!^file:(.+)$!) { $connection = N(", printing to %s", $1); } elsif ($connect =~ m!^lpd://([^/]+)/([^/]+)/?$!) { - $connection = N(" on LPD server \"%s\", printer \"%s\"", $2, $1); + $connection = N(" on LPD server \"%s\", printer \"%s\"", $1, $2); } elsif ($connect =~ m!^socket://([^/:]+):([^/:]+)/?$!) { $connection = N(", TCP/IP host \"%s\", port %s", $1, $2); } elsif ($connect =~ m!^smb://([^/\@]+)/([^/\@]+)/?$! || @@ -408,7 +408,7 @@ sub connectionstr { } elsif ($connect =~ m!^file:(.+)$!) { $connection = N("Prints into %s", $1); } elsif ($connect =~ m!^lpd://([^/]+)/([^/]+)/?$!) { - $connection = N("LPD server \"%s\", printer \"%s\"", $2, $1); + $connection = N("LPD server \"%s\", printer \"%s\"", $1, $2); } elsif ($connect =~ m!^socket://([^/:]+):([^/:]+)/?$!) { $connection = N("TCP/IP host \"%s\", port %s", $1, $2); } elsif ($connect =~ m!^smb://([^/\@]+)/([^/\@]+)/?$! || |