API browser of generalnotification430 COM module


/images/arrow_right.png IGeneralNotificationManager::Print method
The Print method is a visualization aid to preview/print the currently loaded data on screen or the local printer. However, the generalNotification paradigm in its core is an electronic message exchange system. Thus, at the very end an XML infoset must be generated and sent to the recipient.

Note: the usage of the SetReply method defines a singularity in the data space and the semantic interpretation of the data. As a consequence the print output differs before and after SetReply!

IMPORTANT LICENSE NOTE The report engine used is Hexatech's ViewPro (www.hexatech.com). If you supply your own template files then you must have your own ViewPro license. By using this COM module you implicitly agree upon this restriction!

space
 
/images/arrow_right.png C/C++ calling syntax
HRESULT Print( BSTR
YesNoType
VARIANT_BOOL
bstrPrintTemplate,
ePrintPreview,
*pbStatus);
 
/images/arrow_right.png Calling argument description
[in] BSTR bstrPrintTemplate The bstrPrintTemplate is either empty or built as defined in "Syntax of the printTemplate variable".

If bstrPrintTemplate is empty then the default print template of the supplied data language (IGeneralNotificationRequest::Initialize method) is used.

[in] YesNoType ePrintPreview A Boolean that defines if print preview is used (enYes) or printing is done (enNo)
[out, retval] VARIANT_BOOL *pbStatus Return status of the method. If pbStatus is VARIANT_FALSE then an error occurred and GetAbortInfo should be called to retrieve the error string.
 
/images/arrow_right.png C/C++ return value
S_OK This value is returned if the function call was successful or if the return value of a boolean method signalling a true value. In this case the VARIANT_BOOL is set to VARIANT_TRUE.
S_FALSE This is the return value of a boolean method signalling a false return value. In this case the VARIANT_BOOL is set to VARIANT_FALSE.
E_name This value is returned if the function call was unsuccessful and an error exception was generated. Note that if you are using SmartPointers an exception is thrown under these conditions.