Reports and Certificates¶
calServer creates standards-compliant calibration certificates, test reports, and other documents via an integrated reporting system. The report generation uses two engines: JasperReports for complex reports and mPDF for simple PDF outputs.
Report Types¶
calServer supports various report types:
| Report Type | Description |
|---|---|
| Calibration Certificates | Standards-compliant documentation of calibrations according to DIN EN ISO/IEC 17025 |
| Test Reports | Detailed result reports for test procedures with measured values and tolerances |
| Inventory Reports | Overview of the device inventory with status information |
| QR Code Reports | Reports with QR codes for quick device identification |
| Digital Calibration Certificates (DCC) | XML-based calibration certificates according to PTB standard |
| Labels | Print templates for device labels and calibration stickers |
Report Generation¶
Reports can be generated from various modules:
- From the inventory list -- Via the action menu of an inventory entry
- From the calibration list -- Directly from a calibration process
- Via the reports section -- Central report management in the main menu
When creating a report, the appropriate template is automatically assigned based on the device type and calibration type. The user can specify parameters such as language, format, and level of detail before generation.
JasperReports¶
JasperReports is the primary report engine for complex reports. Templates are created in JasperSoft Studio and deployed on the report server (JasperReports Server). Templates contain placeholders that are populated at runtime with data from the calServer database.
Typical applications:
- Multi-page calibration certificates with headers and footers
- Tabular measurement results with charts
- Reports with embedded logos and signature fields
mPDF¶
For simpler PDF outputs, calServer uses the PHP library mPDF. This is suitable for:
- Quick individual reports without complex layout
- Label printing
- Simple list exports
Digital Calibration Certificates (DCC)¶
The DCC export generates XML files in the Digital Calibration Certificate format according to PTB standard. DCC files contain machine-readable calibration data and can be imported into other systems.
The export is available via the action menu of a calibration process or as a bulk export from the calibration list.
Report Templates¶
Report templates define the layout and data fields of a report. They are configured per device type or calibration type and can be customized per tenant.
A template contains:
- Page layout (header, footer, margins)
- Data fields with mapping to database fields
- Calculation formulas for derived values
- Conditional formatting and visibility rules
Administration
The configuration of report templates and report servers is done in the administration area. There, templates are uploaded, assignments to device types are defined, and server connections are configured.