mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-06 17:16:12 +00:00
Bug 308173 Printing reverts to default printer every time a page is printed r+sr=neil
This commit is contained in:
parent
f1522f36af
commit
168a19a301
@ -145,7 +145,10 @@ function NSPrint()
|
||||
if (gPrintSettingsAreGlobal && gSavePrintSettings) {
|
||||
var psService = Components.classes["@mozilla.org/gfx/printsettings-service;1"]
|
||||
.getService(Components.interfaces.nsIPrintSettingsService);
|
||||
psService.savePrintSettingsToPrefs(gPrintSettings, true, gPrintSettings.kInitSaveAll);
|
||||
psService.savePrintSettingsToPrefs(gPrintSettings, true,
|
||||
gPrintSettings.kInitSaveAll);
|
||||
psService.savePrintSettingsToPrefs(gPrintSettings, false,
|
||||
gPrintSettings.kInitSavePrinterName);
|
||||
}
|
||||
}
|
||||
} catch (e) {
|
||||
|
Loading…
Reference in New Issue
Block a user