Search completed in 1.22 seconds.
10 results for "npfullprint":
NPFullPrint - 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 full-page mode printing. 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. false: (Default) Plug-in renders its area of the page only (for embedded plug-in). printOne Not currently in use. Should always be false. tr...
...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. If you want an embedded plug-in to simply render its area of th...
NPP_Print - Archive of obsolete content
page it occupies, and the browser handles everything else, including displaying print dialog boxes, getting the printer device context, and any other tasks involved in printing, as well as printing the rest of the page. For an embedded plug-in, set the printInfo field to NPEmbedPrint. A full-page plug-in handles all aspects of printing itself. For a full-page plug-in, set the printInfo field to
NPFullPrint or null. For information 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...
... 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 ...
NPPrint - Archive of obsolete content
<< Gecko Plugin API Reference << Plug-in Side Plug-in API Summary Contains information the plug-in needs to print itself in full-page or embedded mode. Syntax typedef struct _NPPrint { uint16 mode; /* NP_FULL or NP_EMBED */ union {
NPFullPrint fullPrint; /* if mode is NP_FULL */ NPEmbedPrint embedPrint; /* if mode is NP_EMBED */ } print; } NPPrint; Fields The data structure has the following fields: mode Determines whether plug-in prints in full-page 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 un...
...EMBED: Pointer to NPEmbedPrint structure. ...
Index - Archive of obsolete content
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, Plugins NPIdentifier is an opaque type used for method and property identifiers, such as strings or integers. NPIdentifiers are unique, in that for any given string or integer, there is only one NPIdentifier. The lifetime o...
Index of archived content - Archive of obsolete content
ing Multi-Process Plugins Monitoring plugins Multi-process plugin architecture NPAPI plugin developer guide NPAPI plugin reference Browser-side plug-in API NPAPI plug-in side API NPAnyCallbackStruct NPByteRange NPClass NPEmbedPrint NPEvent
NPFullPrint NPIdentifier NPN NewStream NPNVariable NPN_CreateObject NPN_DestroyStream NPN_Enumerate NPN_Evaluate NPN_ForceRedraw NPN_GetAuthenticationInfo NPN_GetIntIdentifier NPN_GetProperty NPN_GetStringIdentifier NPN_GetStringIdentifiers NP...
NPAPI plugin reference - Archive of obsolete content
nts 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. NPIdentifiers are unique, in that for any given string or integer, there is only one NPIdentifier. The lifetime of NPIdentifiers is controlled by the browser. NPN NewStream R...
Drawing and Event Handling - Plugins
n shares printing with the browser. 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...
Structures - Plugins
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 field of an NPWindow structure. NPPrint Contains information the plug-in needs to print itself in full-page or embedded mode. NPPrintCallbackStruct...
Gecko Plugin API Reference - Plugins
NPN_IntFromIdentifier 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 ...