Skip to main content
License: AGPL-3

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

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, …).

Try me on Runbot

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

Maintainer

Odoo Community Association

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.

Release files for odoo11-addon-base-report-to-printer 11.0.2.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for odoo11-addon-base-report-to-printer 11.0.2.3.1
File Interpreter ABI Platform
odoo11_addon_base_report_to_printer-11.0.2.3.1-py2.py3-none-any.whl Python 3, Python 2 none any Details

Release files / odoo11_addon_base_report_to_printer-11.0.2.3.1-py2.py3-none-any.whl

Download URL odoo11_addon_base_report_to_printer-11.0.2.3.1-py2.py3-none-any.whl
Size 128.7 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
15a3d4b66c4ef4194171cf6245e75f7b30fff851c4059e666a3ce111485a2dc7
BLAKE2b-256 checksum
How to use checksums
9fbebf61dc5c10d937547f7eed78789720ae15bce1345144e9dde3f77e0187e1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/57.4.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.8.5
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page