generating electronic and printed invoices & reminders
To print a webstamp onto a invoice/reminder request in the generalInvoiceRequestManager use a special print object name (cf. Syntax of the printTemplate variable for an overview).
(WEBSTAMP=file_path_of_BMP_file;)as a print object name on the printTemplate variable of the Print method.
In its simplest form e.g. in the GeneralInvoiceRequestManager code this means
in order to print a webstamp onto the first page that is onto "TP Rechnung" in the TP case or onto "Patienten-Rechnung" in the TG case.
BSTR bstrPrintTemplate = "(WEBSTAMP="+bstrBMPFile+";)"; IGeneralInvoiceRequestManager::Print(bstrPrintTemplate,...);
If a webstamp should be printed on all first pages in the TG case ("Patienten-Rechnung" and "Rückerstattungsbeleg") then produce a comma separated list of BMP stamp files e.g.
BSTR bstrPrintTemplate = "(WEBSTAMP="+bstrBMPFile1+","+file_path_of_BMP_file2+";)"; IGeneralInvoiceRequestManager::Print(bstrPrintTemplate,...);
Since the webstamp printing is not the main purpose of the Print method this feature has NO error propagation. The generation is done on a best effort basis, errors are only dumped to the log file!
- No error propagation
- The supplied BMP webstamp must exist