Report to printer
Project description
Report To Printer
This module allows users to send reports to a printer attached to the server.
It adds an optional behaviour on reports to send it directly to a printer.
Send to Client is the default behaviour providing you a downloadable PDF
Send to Printer prints the report on selected printer
It detects trays on printers installation plus permits to select the paper source on which you want to print directly.
Report behaviour is defined by settings.
You will find this option on default user config, on default report config and on specific config per user per report.
This allows you to dedicate a specific paper source for example for preprinted paper such as payment slip.
Settings can be configured:
globally
per user
per report
per user and report
Installation
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
After installing enable the “Printing / Print User” option under access rights to give users the ability to view the print menu.
Usage
To update the CUPS printers in Settings > Printing > Update Printers from CUPS
If you want to print a report on a specific printer or tray, you can change these in Settings > Printing > Reports to define default behaviour.
If you want 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.
Caveat
The notification when a report is sent to a printer will not be displayed for the deprecated report types (RML, Webkit, …).
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
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>
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_base_report_to_printer-11.0.2.0.0.99.dev12-py2.py3-none-any.whl
.
File metadata
- Download URL: odoo11_addon_base_report_to_printer-11.0.2.0.0.99.dev12-py2.py3-none-any.whl
- Upload date:
- Size: 116.1 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e09fbfb96addfbe2ca54cb677b724c9482b4934892ed77fd56c1a6ba15033796 |
|
MD5 | d4c908631d17d4d44a530f1147ff0652 |
|
BLAKE2b-256 | 3594f036382e741db50ce13857b1e56965a5cb8b3ad1a66065e370a529a7fa37 |