Projects:Print PDF From POS/Functional Specification
Print PDF from POS - Functional Specifications
Openbravo XML documents managed by HW Manager are oriented to receipt printers and customer displays, and it is very tied to the ESC/POS protocol used in the receipt printers supported by the HW Manager. This means that Openbravo XML documents have a very limited range of functionalities to layout text and images in a document. With this functionality we will offer a new mechanism to allow printing rich reports in PDF format using the HW Manager.
This functionality is designed only for regular printers connected to the HW Manager. To generate reports in PDF format the Jasper Reports engine is used, the same engine used for reports in Openbravo.
This functionality is divided in two parts:
- The HW Manager extension that allows printing reports generated using the Jasper Reports engine. This extension will be exposed as a new HTTP service in the HW Manager application and will require the report definition, in JRXML format, the parameters of the report, and the printer to use.
- A Retail Configuration extension needed to define whether a document template is a Jasper Report or not, the main report definition file, and the subreport definition files.
- Feature request in mantis: https://issues.openbravo.com/view.php?id=26017