Raport PRN - Zebra Browser Print
by Terrabit https://www.terrabit.ro , Dorin Hongu https://www.terrabit.roRaport PRN - Zebra Browser Print

Adds Zebra Browser Print as a transport for the PRN/ZPL labels rendered by deltatech_report_prn. This module owns the whole Browser Print feature; the public deltatech_report_prn module only renders the labels and handles the legacy .prn download.
What it provides:
- The proprietary Zebra Browser Print SDK, loaded through web.assets_backend as the global window.BrowserPrint. The SDK is distributed by Zebra on a by-request basis under its own license, so it cannot live in the public AGPL deltatech repository.
- The enable switch in Settings → General Settings → Integrations → Zebra Browser Print (off by default).
- A report handler (registered with a lower sequence than the legacy one) that, when enabled, sends the rendered ZPL directly to the printer on the workstation (USB or network), with success/error notifications. The printer is resolved per workstation (localStorage → machine default device → single printer).
When the switch is off, this module is not installed, the Browser Print service is unreachable, or no printer can be resolved, printing falls back to the legacy .prn download handled by deltatech_report_prn.
Install this module on the instances that print Zebra labels through Browser Print, then enable the setting.
Table of contents
Changelog
18.0.1.1.0
- Add an OWL printer-picker dialog: when several Zebra printers are discovered and none is saved on the workstation or set as the Browser Print default, the user is asked which one to use. The choice is remembered per workstation (localStorage) after the first successful print. Cancelling the dialog aborts the print without falling back to the .prn download.
18.0.1.0.0
- Initial release. Owns the whole Zebra Browser Print feature on top of
deltatech_report_prn:
- Bundles the Zebra Browser Print SDK (BrowserPrint.min.js and BrowserPrint-Zebra.min.js) and loads it via web.assets_backend as window.BrowserPrint.
- Adds the enable switch in General Settings → Integrations.
- Registers a qweb-prn report handler (lower sequence) that prints the rendered ZPL through Browser Print and falls back to the legacy .prn download when disabled or unavailable.
Bug Tracker
Bugs are tracked on Terrabit Issues. In case of trouble, please check there if your issue has already been reported.
Do not contact contributors directly about support or help with technical issues.
Credits
Authors
- Terrabit
- Dorin Hongu
Maintainers
Current maintainer:

This module is part of the dhongu/deltatech project on GitHub.
You are welcome to contribute.
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Community Apps Dependencies | Show |
| Lines of code | 366 |
| Technical Name |
deltatech_report_prn_zebra_sdk |
| License | OPL-1 |
| Website | https://www.terrabit.ro |
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module