How to generate PDF archive files of a nursing care credit request

To generate PDF archive files of a nursing care credit request in the generalCreditRequestManager use
(PDF=PDF_file_to_generate;)
or
(PDF_NOPRINT=PDF_file_to_generate;)
as a print object name in the Print method (cf. "Syntax of the printTemplate variable" for an overview about print object names). The "PDF" token means to print the care credit object and generate the PDF files, whereas the "PDF_NOPRINT" token only generates the PDF files without physical printing.
The above print object definition is ignored in the print preview mode!

In its simplest form the IGeneralCreditRequestManager::Print method looks like:


     BSTR bstrPrintTemplate = "(PDF="+bstrPDFFile+";)";
	 
     IGeneralCreditRequestManager::Print(bstrPrintTemplate,...);                            
    
in order to generate a PDF archive file of the "Bedarfsmeldung".


Since the PDF generation is not the primary purpose of the Print method this PDF feature has NO error propagation. The generation is done on a best effort basis, errors are only dumped into the log file!
Boundary conditions:
  • Only active in printing mode
  • No error propagation
  • The supplied PDF archive name must not exist
  • The directory where the PDF is stored must be writable (EMF files are temporarily generated and delete there.)