The generalCreditRequest ATL COM module for
generating electronic and paper based credit requests
generating electronic and paper based credit requests
Syntax of the printTemplate variable of the Print method
bstrPrintTemplate argument of the IGeneralCreditRequestManager::Print is either empty or of the general form defined below. In the case of an empty bstrPrintTemplate variable, no print variables are changed/substituted and the default print templates are used according to the defined language, law and tiers type.[logTpl][(objectName1=text;...)][=printTemplateFile][#INIPATH=inipath]
where a [] pair defines an optional part. The commands are case insensitive and have the following meaning:
Here are some usage examples:
bstrPrintTemplate argument of the IGeneralCreditRequestManager::Print is either empty or of the general form defined below. In the case of an empty bstrPrintTemplate variable, no print variables are changed/substituted and the default print templates are used according to the defined language, law and tiers type.
However, bstrPrintTemplate can be used to change the normal printing behavior or changing the content of printing objects dynamically. The following syntax is used as content of the bstrPrintTemplate variable:
where a [] pair defines an optional part. The commands are case insensitive and have the following meaning:
- logTpl: is the logical template name. Currently there is only one template name defined: { detail }.
- The variant with the 'fee' tag produces fee notes/reminders (with the law=enORG), while the other variant provides the healthcare-defined invoices/reminders (with the law<>enORG).
- objectName1=text; does control a substitution of the content of the print object objectName.
- printTemplateFile defines an external print template file name (full path + name!).
- #INIPATH=inipath defines a fully qualified path to a directory where the report engine searches the corresponding .vpd
print template INI file.
- This allows for global settings of a print template in a LAN. The default inipath is the install directory of the Dll
Here are some usage examples:
- bstrPrintTemplate: "" or bstrPrintTemplate: Detail
denotes a standard printing situation.
- bstrPrintTemplate: detail(DOCUMENT_TITLE_DETAIL=Alternate title for the care title;)
prints a substituted title onto the standard print output.
- bstrPrintTemplate: detail=C:\myForms\myPrintForm.vps
uses the print template "C:\myForms\myPrintForm.vps" instead of the default one in the installation directory. An optional INI file with the name "C:\myForms\myPrintForm.vpd" is searched under this condition at the same directory.
- 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 settings (printer/printing settings) can be used.