|
|
 |
bstrPrintTemplate path of the print command
Beginning with Build 002 the bstrPrintTemplate argument of the IMDInvoiceResponse::Print have been patched.
bstrPrintTemplate is either empty or of the general form actionKey[(objectName1=text;objectName2=text2;...)][=printTemplateFile][#INIPATH=inipath)
- actionKey is (calledIn|modified|pending|reject|resend) for the invoice reponse page.
Please note that depending on the reponse type the correct form is automatically choosen if printTemplateFile is empty.
- objectName1=text; is an optional static text substitution enclosed in braces () where objectName1 is the object name
(cf. inside the print template for the names) and text is the substitution. The substitution can be empty as well!
- printTemplateFile is an
optional external print template file name (full path!)
- inipath is an optional path the print template's INI file.
The report engine uses this path to find an ini file with the same name as the print template but with an extension of .vpd.
This allows for global settings of a print template in a LAN.
Here are some usage examples:
- bstrPrintTemplate: ""
denotes a standard printing situation for printing the reponse on an A4 page depending on the response type. - bstrPrintTemplate:
calledIn(DOCUMENT_TITLE=Alternate title;)
prints a calledIn response type on A4 with an alternate title "alternate title"
- bstrPrintTemplate: resend=C:\myForms\myPrintForm.vps
uses the print template "C:\myForms\myPrintForm.vps" as a resend response type template. Please note the license restriction below! 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.
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 licence. By using the mdInvoiceManager you implicitly agree upon this restriction!!!
|