The generalCreditResponse ATL COM module is capable of
analyzing electronic responses to credit requests
analyzing electronic responses to credit requests
How to generate PDF archive files of a credit response
To generate PDF archive files of a credit response in the generalCreditResponseManager use the special print object name
To generate PDF archive files of a credit response in the generalCreditResponseManager use the special print object name
(PDF=PDF_file_to_generate;)as a print object name on the printTemplate variable of the Print method.
or
(PDF_NOPRINT=PDF_file_to_generate;)
The "PDF" token means to print the response and generate the PDF files, whereas the "PDF_NOPRINT" token only generates the PDF file without
physical printing.
This object definition is only used while printing and is ignored in the preview mode!
In its simplest form this means
BSTR bstrPrintTemplate = "(PDF="+bstrPDFFile+";)";
IGeneralInvoiceResponseManager::Print(bstrPrintTemplate,...);
in order to generate a PDF archive file of response.
Since the PDF generation is not the main 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 to 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