From 843c8e008f30143d928aef1fc41f6fa6499c277c Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Sat, 14 Jul 2007 22:43:55 +0000 Subject: Make sure postscript printing is enabled, and the printer list empty (so 2007-07-15 Christian Persch * embed/mozilla/mozilla-embed-single.cpp: Make sure postscript printing is enabled, and the printer list empty (so we only get the PostScript/default printer). svn path=/trunk/; revision=7165 --- embed/mozilla/mozilla-embed-single.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'embed/mozilla/mozilla-embed-single.cpp') diff --git a/embed/mozilla/mozilla-embed-single.cpp b/embed/mozilla/mozilla-embed-single.cpp index 9bc622688..529ed1886 100644 --- a/embed/mozilla/mozilla-embed-single.cpp +++ b/embed/mozilla/mozilla-embed-single.cpp @@ -641,6 +641,9 @@ impl_init (EphyEmbedSingle *esingle) { MozillaEmbedSingle *single = MOZILLA_EMBED_SINGLE (esingle); + g_setenv ("MOZILLA_POSTSCRIPT_ENABLED", "1", TRUE); + g_unsetenv ("MOZILLA_POSTSCRIPT_PRINTER_LIST"); + #ifdef MOZ_ENABLE_XPRINT /* XPrint? No, thanks! */ g_unsetenv ("XPSERVERLIST"); -- cgit v1.2.3