mozilla
Your Search Results

    NPPrintCallbackStruct

    この記事はまだ日本語に翻訳されていません。MDN の翻訳はボランティアによって行われています。是非 MDN に登録し、私たちの力になって下さい。

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

    Summary

    Contains information required by the platformPrint field of the NPEmbedPrint structure during embedded mode printing on Unix systems.

    This structure is only used on Unix.

    Syntax

    typedef struct
    {
        int32  type;
        FILE*  fp;
    } NPPrintCallbackStruct;
    

    Fields

    The data structure has the following fields:

    type
    Always contains NP_PRINT.
    fp
    Pointer to the file to which the plug-in should write its PostScript data.

    Description

    Callback structures are used to pass platform-specific information. The NPPrintCallbackStruct structure contains the file pointer to which the plug-in should write its PostScript data. This information is required by the platformPrint field of the NPEmbedPrint structure during embedded mode printing.

    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, so the browser can continue to write additional PostScript data to the file.

    See Also

    NPP_Print, NPEmbedPrint, NPSetWindowCallbackStruct, NPAnyCallbackStruct

    ドキュメントのタグと貢献者

    タグ: 
    Contributors to this page: Pmash, Sheppy
    最終更新者: Sheppy,