mozilla
Your Search Results

    NPAnyCallbackStruct

    This article is in need of a technical review.

    « Gecko Plugin API Reference « Plug-in Side Plug-in API

    Summary

    Note: This structure is only used on Unix platforms.

    Contains information required during embedded mode printing.

    Syntax

    typedef struct
    {
        int32 type;
    } NPAnyCallbackStruct;
    

    Fields

    The data structure has the following field:

    type
    Always contains NP_PRINT.

    Description

    Callback structures are used to pass platform-specific information. The NPAnyCallbackStruct structure contains information required by the platformPrint field of the NPEmbedPrint structure during embedded mode printing.

    During printing in embedded mode, the platformPrint field of the NPEmbedPrint structure points to an NPAnyCallbackStruct. This structure contains the file pointer to which the plug-in should write its PostScript data. At the time the plug-in is called, the browser has already opened the file and written PostScript for other parts of the page. When the plug-in is done, it should leave the file open, as the browser can continue to write additional PostScript data to the file.

    See also

    Document Tags and Contributors

    Contributors to this page: Pmash, Sheppy, kscarfone
    Last updated by: kscarfone,