Readonly
doingReturns whether it is in Print mode
Readonly
doingReturns whether it is in Print Preview mode
Readonly
printThis returns the number of the page which is currently in the Print Preview viewport
XXXdholbert Consider renaming this? (similar to printPreviewNumPages above) Strictly speaking, this is the number of the sheet which is currently in the print preview viewport. Fix in bug 1669762.
Readonly
printThis returns the total number of pages for the Print Preview
XXXdholbert Consider renaming this? Strictly speaking, this is the number of sheets (which is the same as the number of pages in the default configuration of one page per sheet). Fix in bug 1669762.
Readonly
rawThis represents the "raw" total number of pages, where "raw" means that this value is not amended to account for reductions from pages-per-sheet or page ranges (unlike other APIs on this interface).
So e.g. for a 20-page document, this attribute will be 20, regardless of whether the user has chosen a smaller page range, and regardless of whether the user is using pages-per-sheet to reduce the number of sheets.
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.
Print the specified DOM window
void
To cancel, close the window of the document that is being printed.
Printer Settings for the print job, if aThePrintSettings is null then the global PS will be used.
is updated during the print
Print Preview the specified DOM window
void
To cancel, close the print preview document's window.
Printer Settings for the print preview, if aThePrintSettings is null then the global PS will be used.
is updated during the printpreview
Generated using TypeDoc
nsIWebBrowserPrint corresponds to the main interface for printing an embedded Gecko web browser window/document