try this on windows
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 25 Jul 2005 12:32:58 +0000 (12:32 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 25 Jul 2005 12:32:58 +0000 (12:32 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@1411 dcc99617-32d9-48b4-a31d-7c20da2025e4

Evergreen/staff_client/chrome/content/evergreen/util/print.js

index 4d30be5..029460b 100644 (file)
@@ -202,19 +202,19 @@ function NSPrint(w)
                        .getInterface(Components.interfaces.nsIWebBrowserPrint);
                if (webBrowserPrint) {
                        var gPrintSettings = GetPrintSettings();
-                       /*
                        gPrintSettings.printSilent = true;
+                       /*
                         gPrintSettings.marginTop = 0;
                         gPrintSettings.marginLeft = 0;
                         gPrintSettings.marginBottom = 0;
                         gPrintSettings.marginRight = 0;
+                       */
                         gPrintSettings.headerStrLeft = '';
                         gPrintSettings.headerStrCenter = '';
                         gPrintSettings.headerStrRight = '';
                         gPrintSettings.footerStrLeft = '';
                         gPrintSettings.footerStrCenter = '';
                         gPrintSettings.footerStrRight = '';
-                       */
                        webBrowserPrint.print(gPrintSettings, null);
                        //alert('Should be printing\n');
                } else {