|
|
 |
Syntax of the printTemplate variable of the Print method

bstrPrintTemplate argument of the IGeneralCreditRequestManager::Print is either empty or of the general form given below.
If the bstrPrintTemplate variable is empty then the default print template (using the data language as language switch - see below) is used.
However, bstrPrintTemplate can be used to change the normal printing behavior or changing printing objects dynamically.
The following syntax is used as content of the bstrPrintTemplate variable:
[logTpl][(objectName1=text;...)][=printTemplateFile][#INIPATH=inipath]
where a [] pair defines an optional part. The commands are case insensitive.
Here are some usage examples:
- bstrPrintTemplate: "" or bstrPrintTemplate: Detail
denotes a standard printing situation.
- bstrPrintTemplate: (DOCUMENT_TITLE=Alternate title for the credit;)
prints a substituted title as given above.
- bstrPrintTemplate: detail=C:\myForms\myPrintForm.vps
uses the print template "C:\myForms\myPrintForm.vps". An optional INI file with the name "C:\myForms\myPrintForm.vpd" is searched under this condition.
- bstrPrintTemplate: #INIPATH=\\host1\\myForms\
the default path for the ini files (place of the installed component) is changed to "\\host1\\myForms\". If "\\host1\\myForms\" is accessible
by all hosts of the LAN then the same INI settings can be used.
|