2020-07-05 19:00:43 +00:00
|
|
|
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
|
2020-07-13 19:59:26 +00:00
|
|
|
#include "nsIPaper.idl"
|
2020-07-05 19:00:43 +00:00
|
|
|
#include "nsISupports.idl"
|
|
|
|
|
|
|
|
[scriptable, uuid(d2dde9bb-df86-469c-bfcc-fd95a44b1db8)]
|
|
|
|
interface nsIPrinter : nsISupports
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* The name of the printer.
|
|
|
|
*/
|
|
|
|
readonly attribute AString name;
|
2020-07-13 19:59:26 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* The list of available paper sizes.
|
|
|
|
*/
|
|
|
|
readonly attribute Array<nsIPaper> paperList;
|
2020-07-24 18:02:22 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Whether this printer supports duplex printing.
|
|
|
|
*/
|
|
|
|
readonly attribute boolean supportsDuplex;
|
2020-07-05 19:00:43 +00:00
|
|
|
};
|