Report to printer CUPS
Project description
Report to printer CUPS
This module extends base_report_to_printer to add support for printing reports through a CUPS server.
It allows users to configure one or more CUPS servers, automatically fetch available printers and trays, and send reports directly to them instead of downloading a PDF.
Main features:
Manage CUPS servers from the Odoo backend.
Synchronize available printers and trays with CUPS.
Define default printing behavior globally, per user, per report, or per user and report.
Test printer connectivity with a Print Test Page action.
Typical usage:
Send reports directly to CUPS printers.
Configure dedicated trays for pre-printed forms such as payment slips.
Allow each user to define their own default printer preferences.
Table of contents
Installation
To install this module, you need to:
Install PyCups - https://pypi.python.org/pypi/pycups
sudo apt-get install cups
sudo apt-get install libcups2-dev
sudo apt-get install python3-dev
sudo pip install pycups
Configuration
Configure base_report_to_printer_cups
Go to Settings > Printing > Servers and create a record for your CUPS server (hostname, port, credentials if needed).
Click Update Printers on the server form to load available printers from CUPS.
Set default printers or trays:
Globally in Settings > Printing > Reports
Per user in User Preferences
Per report in Reports configuration
Per user and report in Specific report actions per user
Use Print Test Page on a printer form to check connectivity and configuration.
Usage
Guidelines for use:
To update the CUPS printers in Settings > Printing > Update Printers from CUPS
To print a report on a specific printer or tray, you can change these in Settings > Printing > Reports to define default behaviour.
To print a report on a specific printer and/or tray for a user, you can change these in Settings > Printing > Reports in Specific actions per user
Users may also select a default action, printer or tray in their preferences.
When no tray is configured for a report and a user, the default tray setup on the CUPS server is used.
Known issues / Roadmap
With threaded printing there’s no download fallback when the issue isn’t detected by the CUPS Odoo backend. To able to do it, we would need to notify the bus or use web_notify for it.
Changelog
13.0.1.0.0 (2019-09-30)
[RELEASE] Port from V12.
12.0.1.0.0 (2018-02-04)
[RELEASE] Port from V11.
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 to smash it by providing a detailed and welcomed feedback.
Do not contact contributors directly about support or help with technical issues.
Credits
Contributors
Ferran Pegueroles <ferran@pegueroles.com>
Albert Cervera i Areny <albert@nan-tic.com>
Davide Corio <davide.corio@agilebg.com>
Lorenzo Battistini <lorenzo.battistini@agilebg.com>
Yannick Vaucher <yannick.vaucher@camptocamp.com>
Lionel Sausin <ls@numerigraphe.com>
Guewen Baconnier <guewen.baconnier@camptocamp.com>
Dave Lasley <dave@laslabs.com>
Sylvain Garancher <sylvain.garancher@syleam.fr>
Jairo Llopis <jairo.llopis@tecnativa.com>
Graeme Gellatly <graeme@o4sb.com>
Rod Schouteden <rod@schout-it.be>
Alexandre Fayolle <alexandre.fayolle@camptocamp.com>
Matias Peralta <mnp@adhoc.com.ar>
Hughes Damry <hughes.damry@acsone.eu>
Akim Juillerat <akim.juillerat@camptocamp.com>
Jacques-Etienne Baudoux (BCIM) <je@bcim.be>
Tris Doan <tridm@trobz.com>
Miquel Alzanillas <miquel.alzanillas@nagarro.com>
Other credits
Maintainers
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.
This module is part of the OCA/report-print-send project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file odoo_addon_base_report_to_printer_cups-19.0.0.1.0.3-py3-none-any.whl.
File metadata
- Download URL: odoo_addon_base_report_to_printer_cups-19.0.0.1.0.3-py3-none-any.whl
- Upload date:
- Size: 149.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
093be7524ad2518cdfd1afb516b13505802b5b708e7a3502fbba92ade824c750
|
|
| MD5 |
7189120d6e89e18ac16b9cf0ffdb0db6
|
|
| BLAKE2b-256 |
bd7f194f04fa77fde12eb34250ae031ef54b12c243ddc3fe251bab31b60eec99
|