Bug 1477919 [wpt PR 12154] - url: DecodeURLEscapeSequences() should not apply UTF...
[gecko.git] / widget / nsIPrinterEnumerator.idl
blobb5dde214d3f67a9b5c7586fff38d4067a67691fe
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6 #include "nsISupports.idl"
7 #include "nsIPrintSettings.idl"
9 interface nsIStringEnumerator;
11 [scriptable, uuid(5e738fff-404c-4c94-9189-e8f2cce93e94)]
13 interface nsIPrinterEnumerator : nsISupports
15 /**
16 * The name of the system default printer. This name should also be
17 * present in printerNameList below. This is not necessarily gecko's
18 * default printer; see nsIPrintSettingsService.defaultPrinterName
19 * for that.
21 readonly attribute AString defaultPrinterName;
23 /**
24 * Initializes certain settings from the native printer into the PrintSettings
25 * These settings include, but are not limited to:
26 * Page Orientation
27 * Page Size
28 * Number of Copies
30 void initPrintSettingsFromPrinter(in AString aPrinterName,
31 in nsIPrintSettings aPrintSettings);
33 /**
34 * The list of printer names
36 readonly attribute nsIStringEnumerator printerNameList;