Search completed in 1.32 seconds.
13 results for "npprint":
NPPrint - Archive of obsolete content
Values: NP_FULL: Pointer to NPFullPrint structure. Plug-in can optionally print in full-page mode. ...
...Values: NP_FULL: Pointer to NPFullPrint structure. Plug-in can optionally print in full-page mode. ...
... or embedded mode. Values: NP_FULL: Pointer to NPFullPrint structure. Plug-in can optionally print in full-page mode. The fullPrint field of the union is valid. See NPFullPrint and NPP_Print. NP_EMBED: Pointer to NPEmbedPrint structure. Plug-in should print in embedded mode. The embedPrint field of the union is valid. See NPEmbedPrint. Description The NPP_Print function passes a pointer to an
NPPrint object (previously allocated by the browser) to the plug-in. The pointer and fields within the
NPPrint structure are valid only for the duration of the NPP_Print call. See Also NPP_Print, NPFullPrint, NPEmbedPrint ...
NPPrintCallbackStruct - Archive of obsolete content
<< 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.
NPFullPrint - Archive of obsolete content
Syntax typedef struct _NPFullPrint { NPBool pluginPrinted; /* true: print fullscreen */ NPBool printOne; /* true: print one copy */ /* to default printer */ void* platformPrint; /* Platform-specific */ } NPFullPrint; Fields The data structure has the following fields: pluginPrinted Determines whether the plug-in prints in full-page mode. Values: true: Plug-in takes complete control of the printing process and prints full-page. ...
... only (for embedded plug-in). printOne Not currently in use. Should always be false. true: Print single copy of page to the default printer. false: Display print dialogs so user can choose printer, other options. platformPrint Platform-specific printing information. Mac OS: THPrint MS Windows: Printer's device context Description The NPP_Print function passes the plug-in a pointer to an
NPPrint object (previously allocated by the browser). The NPFullPrint structure is used when the mode field of
NPPrint is set to NP_Full. The pluginPrinted field of this structure determines whether the plug-in prints in full-page mode or not. If you want the plug-in to take complete control of the printing process, it should print the full page and set the field pluginPrinted to true before returning. I...
...he plug-in prints in full-page mode or not. ...
... mode or not. ...
NPEmbedPrint - Archive of obsolete content
<< Gecko Plugin API Reference << Plug-in Side Plug-in API Summary Substructure of
NPPrint that contains platform-specific information used during embedded mode printing. Syntax typedef struct _NPEmbedPrint { NPWindow window; void* platformPrint; /* Platform-specific */ } NPEmbedPrint; Fields The data structure has the following fields: window The NPWindow the plug-in should use for printing. platformPrint Additional platform-specific printing information. Mac OS: THPrint Unix: Pointer to a
NPPrintCallbackStruct. Description The NPP_Print function passes a pointer to an
NPPrint object (previously allocated by the browser) to the plug-in. The NPEmbedPrint structure is used when the mode field of
NPPrint is set to NP_EMBED. Unix The plug-in location and size in the NP...
... Description The NPP_Print function passes a pointer to an
NPPrint object (previously allocated by the browser) to the plug-in. The NPEmbedPrint structure is used when the mode field of
NPPrint is set to NP_EMBED. Unix The plug-in location and size in the NPWindow are in page coordinates (720/ inch), but the printer requires point coordinates (72/inch). ...
...ion The NPP_Print function passes a pointer to an
NPPrint object (previously allocated by the browser) to the plug-in. The NPEmbedPrint structure is used when the mode field of
NPPrint is set to NP_EMBED. Unix The plug-in location and size in the NPWindow are in page coordinates (720/ inch), but the printer requires point coordinates (72/inch). ...
Index - Archive of obsolete content
ed during embedded mode printing. 3624 NPByteRange NPAPI, Plugins Represents a particular range of bytes from a stream. 3625 NPClass NPAPI, Plugins NPClass is a structure that holds a set of pointers to functions that make up the behavior of an instance of an NPClass (i.e. an NPObject). 3626 NPEmbedPrint NPAPI, Plugins Substructure of
NPPrint that contains platform-specific information used during embedded mode printing. 3627 NPEvent NPAPI, Plugins Represents an event passed by NPP_HandleEvent() to a windowless plug-in. 3628 NPFullPrint NPAPI, Plugins Substructure of
NPPrint that contains platform-specific information used during full-page mode printing. 3629 NPIdentifier NPAPI,...
...y NPAPI, Plugins Notifies the plug-in instance of the completion of a URL request. 3689 NPP_Write NPAPI, Plugins Delivers data to a plug-in instance. (Remark: Hence the name "NPP_Write" is misleading - just think of:"Data_Arrived") 3690 NPP_WriteReady NPAPI, Plugins Determines maximum number of bytes that the plug-in can consume. 3691
NPPrint NPAPI, Plugins Contains information the plug-in needs to print itself in full-page or embedded mode. 3692
NPPrintCallbackStruct NPAPI, Plugins Contains information required by the platformPrint field of the NPEmbedPrint structure during embedded mode printing on Unix systems. 3693 NPRect NPAPI, Plugins Represents a rectangular area of a plug-in'...
NPP_Print - Archive of obsolete content
<< Gecko Plugin API Reference << Plug-in Side Plug-in API Summary Requests a platform-specific print operation for an embedded or full-screen plug-in. Syntax #include <npapi.h> void NPP_Print(NPP instance,
NPPrint* PrintInfo); Parameters The function has the following parameters: instance Pointer to the current plug-in instance. Must be embedded or full-screen. printInfo Pointer to
NPPrint structure. Description NPP_Print is called when the user requests printing for a web page that contains a visible plug-in (either embedded or full-page). It uses the print mode set in the
NPPrint structure in its printInfo parameter to determine whether the plug-in should print as an embedded plug-in or as a full-page plug-in. An embedded plug-in shares printing with the browser; ...
...formation about printing on your platform, see your platform documentation. MS Windows On MS Windows printInfo->print.embedPrint.platformPrint is the device context (DC) handle. Be sure to cast this to type HDC. The coordinates for the window rectangle are in TWIPS format. This means that you need to convert the x-y coordinates using the Windows API call DPtoLP when you output text. See Also
NPPrint, NPFullPrint, NPEmbedPrint ...
NPAPI plugin reference - Archive of obsolete content
ct with the browser. The names of all of these methods begin with NPP_ to indicate that they are implemented by the plug-in and called by the browser. NPByteRange Represents a particular range of bytes from a stream. NPClass NPClass is a structure that holds a set of pointers to functions that make up the behavior of an instance of an NPClass (i.e. an NPObject). NPEmbedPrint Substructure of
NPPrint that contains platform-specific information used during embedded mode printing. NPEvent Represents an event passed by NPP_HandleEvent() to a windowless plug-in. NPFullPrint Substructure of
NPPrint that contains platform-specific information used during full-page mode printing. NPIdentifier NPIdentifier is an opaque type used for method and property identifiers, such as strings or integers. ...
..., moved, sized, or destroyed. NPP_StreamAsFile Provides a local file name for the data from a stream. NPP_URLNotify Notifies the plug-in instance of the completion of a URL request. NPP_Write Delivers data to a plug-in instance. (Remark: Hence the name "NPP_Write" is misleading - just think of:"Data_Arrived") NPP_WriteReady Determines maximum number of bytes that the plug-in can consume.
NPPrint Contains information the plug-in needs to print itself in full-page or embedded mode.
NPPrintCallbackStruct Contains information required by the platformPrint field of the NPEmbedPrint structure during embedded mode printing on Unix systems. NPPVariable See NPN_SetValue. NPRect Represents a rectangular area of a plug-in's content area. NPRegion Represents a platform-defined region of a p...
Drawing and Event Handling - Plugins
NPN_ForceRedraw: Force a paint message to a windowless plug-in. NPN_InvalidateRect: Invalidate an area in a windowless plug-in before repainting or refreshing. NPN_InvalidateRegion: Invalidate a region in a windowless plug-in before repainting or refreshing. Printing the Plug-in The browser calls the NPP_Print method to ask the plug-in instance to print itself. void NPP_Print(NPP instance,
NPPrint *printInfo); The instance parameter represents the current plug-in. The PrintInfo parameter determines the print mode. It is set to either NP_FULL to indicate full-page plug-in printing, or NP_EMBED if this is an embedded plug-in printed as part of the window in which it is embedded. An embedded plug-in shares printing with the browser. The plug-in prints the part of the page it occupies, a...
...er. The plug-in prints the part of the page it occupies, and the browser handles the rest of the printing process, including displaying print dialog boxes, getting the printer device context, and, of course, printing the rest of the page. An embedded plug-in can set the pluginPrinted field in its PrintInfo parameter to false (the default). This is a field of the _NPFullPrint substructure of the
NPPrint structure. The browser displays the necessary print dialog boxes and calls NPP_Print again. This time, PrintInfo->mode should be set to NP_EMBED. A full-page plug-in handles the print dialog boxes and printing process as it sees fit. In this case, before the browser displays any print dialog boxes, NPP_Print is called with PrintInfo->mode equal to NP_FULL. On Mac OS, full-page printing require...
Structures - Plugins
<< PreviousNext >> This chapter describes the data structures that are used to represent the various objects in the plug-in API. Structure Summary NPAnyCallbackStruct Contains information required during embedded mode printing. NPByteRange Represents a particular range of bytes from a stream. NPEmbedPrint Substructure of
NPPrint that contains platform-specific information used during embedded mode printing. NPEvent Represents an event passed by NPP_HandleEvent to a windowless plug-in. NPFullPrint Substructure of
NPPrint that contains platform-specific information used during full-page mode printing. NPP Represents a single instance of a plug-in. NP_Port Contains information required by the window...
... mode printing. NPEvent Represents an event passed by NPP_HandleEvent to a windowless plug-in. NPFullPrint Substructure of
NPPrint that contains platform-specific information used during full-page mode printing. NPP Represents a single instance of a plug-in. NP_Port Contains information required by the window field of an NPWindow structure.
NPPrint Contains information the plug-in needs to print itself in full-page or embedded mode.
NPPrintCallbackStruct Contains information required by the platformPrint field of the NPEmbedPrint during embedded mode printing. NPRect Represents a rectangular area of a page. NPRegion Represents a platform-defined region of a page. NPSavedData Block of instan...
Index of archived content - Archive of obsolete content
NPObject NPP NPPVariable NPP_Destroy NPP_DestroyStream NPP_GetValue NPP_HandleEvent NPP_New NPP_NewStream NPP_Print NPP_SetValue NPP_SetWindow NPP_StreamAsFile NPP_URLNotify NPP_Write NPP_WriteReady
NPPrint NPPrintCallbackStruct NPRect NPRegion NPSavedData NPSetWindowCallbackStruct NPStream NPString NPUTF8 NPVariant NPVariantType NPWindow NP_GetMIMEDescription NP_GetValue NP_Initialize NP_Port NP_Shutdown ...
NPAnyCallbackStruct - Archive of obsolete content
s 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 NPP_Print() NPEmbedPrint NPSetWindowCallbackStruct
NPPrintCallbackStruct ...
Gecko Plugin API Reference - Plugins
NPObject NPN_CreateObject NPN_RetainObject NPN_ReleaseObject NPN_Invoke NPN_InvokeDefault NPN_Evaluate NPN_GetProperty NPN_SetProperty NPN_RemoveProperty NPN_HasProperty NPN_HasMethod NPN_SetException NPClass Structures NPAnyCallbackStruct NPByteRange NPEmbedPrint NPEvent NPFullPrint NPP NP_Port
NPPrint NPPrintCallbackStruct NPRect NPRegion NPSavedData NPSetWindowCallbackStruct NPStream NPWindow Constants Error Codes Result Codes Plug-in Version Constants Version Feature Constants External resources External projects and articles for plugin creation Original document information Copyright Information: Netscape Communication ...