summaryrefslogtreecommitdiff
path: root/psprint/source/printer
diff options
context:
space:
mode:
authorPhilipp Lohmann <pl@openoffice.org>2001-08-06 12:46:21 +0000
committerPhilipp Lohmann <pl@openoffice.org>2001-08-06 12:46:21 +0000
commit24b167b2b60a86fd85426a0a77331d3f714aca8e (patch)
tree9fafb61a96b5c6b9f28d674cd52318420711e2b1 /psprint/source/printer
parente34e34d7006505a52bbe0f677d3b602fa71c4c36 (diff)
#90518# set locale for lpstat
Diffstat (limited to 'psprint/source/printer')
-rw-r--r--psprint/source/printer/printerinfomanager.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/psprint/source/printer/printerinfomanager.cxx b/psprint/source/printer/printerinfomanager.cxx
index 7679f0d1a94e..aeb625a5b9d9 100644
--- a/psprint/source/printer/printerinfomanager.cxx
+++ b/psprint/source/printer/printerinfomanager.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: printerinfomanager.cxx,v $
*
- * $Revision: 1.10 $
+ * $Revision: 1.11 $
*
- * last change: $Author: pl $ $Date: 2001-07-27 07:58:33 $
+ * last change: $Author: pl $ $Date: 2001-08-06 13:46:21 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -886,9 +886,9 @@ static const struct SystemCommandParameters aParms[] =
#ifdef LINUX
{ "/usr/sbin/lpc status", "lpr -P (PRINTER)", "", ":", 0 },
{ "lpc status", "lpr -P (PRINTER)", "", ":", 0 },
- { "lpstat -s", "lp -d (PRINTER)", "system for ", ": ", 1 }
+ { "LANG=C;LC_ALL=C;export LANG LC_ALL;lpstat -s", "lp -d (PRINTER)", "system for ", ": ", 1 }
#else
- { "lpstat -s", "lp -d (PRINTER)", "system for ", ": ", 1 },
+ { "LANG=C;LC_ALL=C;export LANG LC_ALL;lpstat -s", "lp -d (PRINTER)", "system for ", ": ", 1 },
{ "/usr/sbin/lpc status", "lpr -P (PRINTER)", "", ":", 0 },
{ "lpc status", "lpr -P (PRINTER)", "", ":", 0 }
#endif