How to print webstamps onto a invoice/reminder request

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


     BSTR bstrPrintTemplate = "(WEBSTAMP="+bstrBMPFile+";)";
	 
     IGeneralInvoiceRequestManager::Print(bstrPrintTemplate,...);                            
    
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.

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!

Boundary conditions:

  • No error propagation
  • The supplied BMP webstamp must exist