Readonly
fallbackReadonly
printersReturns a promise that resolves to an array of printers.
Readonly
systemThe system default printer name. This is not necessarily gecko's default printer; see nsIPrintSettingsService.lastUsedPrinterName for that.
Optional
aInstancePtr: objectA run time mechanism for interface discovery.
NS_OK if the interface is supported by the associated instance, NS_NOINTERFACE if it is not.
aInstancePtr must not be null.
[in] A requested interface IID
[out] A pointer to an interface pointer to receive the result.
Returns a promise that resolves to the printer of a given system name, or is rejected if there is no such printer. This may be more efficient than using getNamedPrinter, but requires the caller to know the system name of the printer they want to find.
Initializes certain settings from the native printer into the PrintSettings These settings include, but are not limited to: Page Orientation Page Size Number of Copies
Generated using TypeDoc
Returns a Promise that resolves to an array of nsIPaper instances for common paper sizes suitable to be supported for Save to PDF.