Printer ZPL II
Project description
ZPL II Label printing
This module extends the Report to printer (base_report_to_printer) module to add a ZPL II label printing feature.
This module is meant to be used as a base for module development, and does not provide a GUI on its own. See below for more details.
Installation
Nothing special, just install the module.
Configuration
To configure this module, you need to:
Go to Settings > Printing > Labels > ZPL II
Create new labels
Import ZPL2 code
Use the Test Mode tab during the creation
It’s also possible to add a label printing wizard on any model by creating a new ir.actions.act_window record. For example, to add the printing wizard on the product.product model :
<act_window id="action_wizard_purchase"
name="Print Label"
src_model="product.product"
res_model="wizard.print.record.label"
view_mode="form"
target="new"
key2="client_action_multi"/>
Usage
To print a label, you need to call use the label printing method from anywhere (other modules, server actions, etc.).
# Example : Print the label of a product
self.env['printing.label.zpl2'].browse(label_id).print_label(
self.env['printing.printer'].browse(printer_id),
self.env['product.product'].browse(product_id))
You can also use the generic label printing wizard, if added on some models.
Known issues / Roadmap
Develop a “Designer” view in a separate module, to allow drawing labels with simple mouse clicks/drags
Bug Tracker
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback.
Credits
Images
Odoo Community Association: Icon.
Contributors
Sylvain Garancher <sylvain.garancher@syleam.fr>
Florent de Labarre
Jos De Graeve <Jos.DeGraeve@apertoso.be>
Maintainer
This module is maintained by the OCA.
OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.
To contribute to this module, please visit https://odoo-community.org.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file odoo11_addon_printer_zpl2-11.0.1.0.1-py2.py3-none-any.whl
.
File metadata
- Download URL: odoo11_addon_printer_zpl2-11.0.1.0.1-py2.py3-none-any.whl
- Upload date:
- Size: 123.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/30.4.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.5.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 51c4381bf45bda5aad853f676b4fcc826577e4f2251288d7dca9c58012d929b0 |
|
MD5 | 7aec37f9be3c72ca09546faf90b16b8a |
|
BLAKE2b-256 | fcff19a3bb137f4f9142eaab8a21e569cb0b2b42605871fe7ee9420c65fa3871 |