printer_zpl2
This module extends the base_report_to_printer module to add ZPL II label printing functionality for Odoo.
Key Features
- printing.label.zpl2: Define ZPL2 labels with configurable width, height, origin, and components for printing.
- printing.label.zpl2.component: Create label components including text, various barcode types (Code 11, Interleaved 2 of 5, Code 39, Code 49, PDF417, EAN-8, UPC-E, Code 128, EAN-13, QR Code), graphics, shapes (rectangles, circles, diagonals), sublabels, and raw ZPL2 code.
- printing.label.zpl2.component: Position components with X/Y coordinates, repeat components with offsets, and configure fonts, orientations, colors, and thicknesses.
- printing.label.zpl2: Generate ZPL2 data from labels and records using Python expressions for dynamic content.
- printing.label.zpl2: Print labels directly to configured printers for specific records.
- wizard.print.record.label: Provide a wizard to select printer and label for printing multiple records.
- wizard.import.zpl2: Import existing ZPL2 code into label components for easy migration.
- printing.label.zpl2: Support test mode with Labelary API for previewing label designs as images.
- printing.label.zpl2: Add print label actions to any model for integrated label printing.
- printing.label.zpl2: Handle graphics by uploading images or generating from data with resizing and inversion options.