2020-07-05 22:00:43 +03: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 22:59:26 +03:00
|
|
|
#include "nsIPaper.idl"
|
2020-07-05 22:00:43 +03: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 22:59:26 +03:00
|
|
|
|
|
|
|
/**
|
|
|
|
* The list of available paper sizes.
|
|
|
|
*/
|
|
|
|
readonly attribute Array<nsIPaper> paperList;
|
2020-07-05 22:00:43 +03:00
|
|
|
};
|