.. image:: https://odoo-community.org/readme-banner-image
:target: https://odoo-community.org/get-involved?utm_source=readme
:alt: Odoo Community Association
=================
Report to printer
=================
..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:82e0e261b432c8449e6ffd16b4e0481bd35757832a6d5645176291d5be78d502
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Freport--print--send-lightgray.png?logo=github
:target: https://github.com/OCA/report-print-send/tree/14.0/base_report_to_printer
:alt: OCA/report-print-send
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/report-print-send-14-0/report-print-send-14-0-base_report_to_printer
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/report-print-send&target_branch=14.0
:alt: Try me on Runboat
|badge1| |badge2| |badge3| |badge4| |badge5|
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
**Table of contents**
.. contents::
:local:
Installation
============
To install this module, you need to:
#. Install PyCups - https://pypi.python.org/pypi/pycups
.. code-block:: bash
sudo apt-get install cups
sudo apt-get install libcups2-dev
sudo apt-get install python3-dev
sudo pip install pycups
Configuration
=============
To configure this module, you need to:
#. Enable the "Printing / Print User" option under access
rights to give users the ability to view the print menu.
The jobs will be sent to the printer with a name matching the print_report_name
of the report (truncated at 80 characters). By default this will not be
displayed by CUPS web interface or in Odoo. To see this information, you need
to change the configuration of your CUPS server and set the JobPrivateValue
directive to "none" (or some other list of values which does not include
"job-name") , and reload the server. See `cupsd.conf(5)
<https://www.cups.org/doc/man-cupsd.conf.html>` for details.
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.
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 <https://github.com/OCA/report-print-send/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 <https://github.com/OCA/report-print-send/issues/new?body=module:%20base_report_to_printer%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
Do not contact contributors directly about support or help with technical issues.
Credits
=======
Authors
~~~~~~~
* Agile Business Group & Domsense
* Pegueroles SCP
* NaN
* LasLabs
* Camptocamp
* Open for Small Business Ltd
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>
* Akim Juillerat <akim.juillerat@camptocamp.com>
Maintainers
~~~~~~~~~~~
This module is maintained by the OCA.
.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org
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 <https://github.com/OCA/report-print-send/tree/14.0/base_report_to_printer>`_ project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Raw data
{
"_id": null,
"home_page": "https://github.com/OCA/report-print-send",
"name": "odoo14-addon-base-report-to-printer",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": null,
"keywords": null,
"author": "Agile Business Group & Domsense, Pegueroles SCP, NaN, LasLabs, Camptocamp, Odoo Community Association (OCA), Open for Small Business Ltd",
"author_email": "support@odoo-community.org",
"download_url": null,
"platform": null,
"description": ".. image:: https://odoo-community.org/readme-banner-image\n :target: https://odoo-community.org/get-involved?utm_source=readme\n :alt: Odoo Community Association\n\n=================\nReport to printer\n=================\n\n.. \n !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n !! This file is generated by oca-gen-addon-readme !!\n !! changes will be overwritten. !!\n !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n !! source digest: sha256:82e0e261b432c8449e6ffd16b4e0481bd35757832a6d5645176291d5be78d502\n !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n\n.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png\n :target: https://odoo-community.org/page/development-status\n :alt: Beta\n.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png\n :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html\n :alt: License: AGPL-3\n.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Freport--print--send-lightgray.png?logo=github\n :target: https://github.com/OCA/report-print-send/tree/14.0/base_report_to_printer\n :alt: OCA/report-print-send\n.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png\n :target: https://translation.odoo-community.org/projects/report-print-send-14-0/report-print-send-14-0-base_report_to_printer\n :alt: Translate me on Weblate\n.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png\n :target: https://runboat.odoo-community.org/builds?repo=OCA/report-print-send&target_branch=14.0\n :alt: Try me on Runboat\n\n|badge1| |badge2| |badge3| |badge4| |badge5|\n\nThis module allows users to send reports to a printer attached to the server.\n\nIt adds an optional behaviour on reports to send it directly to a printer.\n\n* `Send to Client` is the default behaviour providing you a downloadable PDF\n* `Send to Printer` prints the report on selected printer\n\nIt detects trays on printers installation plus permits to select the\npaper source on which you want to print directly.\n\nReport behaviour is defined by settings.\n\nYou will find this option on default user config, on default report\nconfig and on specific config per user per report.\n\nThis allows you to dedicate a specific paper source for example for\npreprinted paper such as payment slip.\n\nSettings can be configured:\n\n* globally\n* per user\n* per report\n* per user and report\n\n**Table of contents**\n\n.. contents::\n :local:\n\nInstallation\n============\n\nTo install this module, you need to:\n\n#. Install PyCups - https://pypi.python.org/pypi/pycups\n\n.. code-block:: bash\n\n sudo apt-get install cups\n sudo apt-get install libcups2-dev\n sudo apt-get install python3-dev\n sudo pip install pycups\n\nConfiguration\n=============\n\nTo configure this module, you need to:\n\n#. Enable the \"Printing / Print User\" option under access\n rights to give users the ability to view the print menu.\n\n\nThe jobs will be sent to the printer with a name matching the print_report_name\nof the report (truncated at 80 characters). By default this will not be\ndisplayed by CUPS web interface or in Odoo. To see this information, you need\nto change the configuration of your CUPS server and set the JobPrivateValue\ndirective to \"none\" (or some other list of values which does not include\n\"job-name\") , and reload the server. See `cupsd.conf(5)\n<https://www.cups.org/doc/man-cupsd.conf.html>` for details.\n\nUsage\n=====\n\nGuidelines for use:\n\n * To update the CUPS printers in *Settings > Printing > Update Printers\n from CUPS*\n * To print a report on a specific printer or tray, you can change\n these in *Settings > Printing > Reports* to define default behaviour.\n * To print a report on a specific printer and/or tray for a user, you can\n change these in *Settings > Printing > Reports* in\n *Specific actions per user*\n * Users may also select a default action, printer or tray in their preferences.\n\nWhen no tray is configured for a report and a user, the\ndefault tray setup on the CUPS server is used.\n\nChangelog\n=========\n\n13.0.1.0.0 (2019-09-30)\n~~~~~~~~~~~~~~~~~~~~~~~\n\n* [RELEASE] Port from V12.\n\n12.0.1.0.0 (2018-02-04)\n~~~~~~~~~~~~~~~~~~~~~~~\n\n* [RELEASE] Port from V11.\n\nBug Tracker\n===========\n\nBugs are tracked on `GitHub Issues <https://github.com/OCA/report-print-send/issues>`_.\nIn case of trouble, please check there if your issue has already been reported.\nIf you spotted it first, help us to smash it by providing a detailed and welcomed\n`feedback <https://github.com/OCA/report-print-send/issues/new?body=module:%20base_report_to_printer%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.\n\nDo not contact contributors directly about support or help with technical issues.\n\nCredits\n=======\n\nAuthors\n~~~~~~~\n\n* Agile Business Group & Domsense\n* Pegueroles SCP\n* NaN\n* LasLabs\n* Camptocamp\n* Open for Small Business Ltd\n\nContributors\n~~~~~~~~~~~~\n\n* Ferran Pegueroles <ferran@pegueroles.com>\n* Albert Cervera i Areny <albert@nan-tic.com>\n* Davide Corio <davide.corio@agilebg.com>\n* Lorenzo Battistini <lorenzo.battistini@agilebg.com>\n* Yannick Vaucher <yannick.vaucher@camptocamp.com>\n* Lionel Sausin <ls@numerigraphe.com>\n* Guewen Baconnier <guewen.baconnier@camptocamp.com>\n* Dave Lasley <dave@laslabs.com>\n* Sylvain Garancher <sylvain.garancher@syleam.fr>\n* Jairo Llopis <jairo.llopis@tecnativa.com>\n* Graeme Gellatly <graeme@o4sb.com>\n* Rod Schouteden <rod@schout-it.be>\n* Alexandre Fayolle <alexandre.fayolle@camptocamp.com>\n* Akim Juillerat <akim.juillerat@camptocamp.com>\n\nMaintainers\n~~~~~~~~~~~\n\nThis module is maintained by the OCA.\n\n.. image:: https://odoo-community.org/logo.png\n :alt: Odoo Community Association\n :target: https://odoo-community.org\n\nOCA, or the Odoo Community Association, is a nonprofit organization whose\nmission is to support the collaborative development of Odoo features and\npromote its widespread use.\n\nThis module is part of the `OCA/report-print-send <https://github.com/OCA/report-print-send/tree/14.0/base_report_to_printer>`_ project on GitHub.\n\nYou are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.\n",
"bugtrack_url": null,
"license": "AGPL-3",
"summary": "Report to printer",
"version": "14.0.2.0.2",
"project_urls": {
"Homepage": "https://github.com/OCA/report-print-send"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "58110e51860097c41274b9dc5ad993b87e8c3fa9d45e1029023c8b449dcaa3b3",
"md5": "9bb6835644569d290d54631d775a83c4",
"sha256": "5d673328e750ec33a1b2aeecd7b33d4f402107ab9bae82c8ae9727a93846538e"
},
"downloads": -1,
"filename": "odoo14_addon_base_report_to_printer-14.0.2.0.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "9bb6835644569d290d54631d775a83c4",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 173530,
"upload_time": "2025-07-11T14:45:39",
"upload_time_iso_8601": "2025-07-11T14:45:39.849519Z",
"url": "https://files.pythonhosted.org/packages/58/11/0e51860097c41274b9dc5ad993b87e8c3fa9d45e1029023c8b449dcaa3b3/odoo14_addon_base_report_to_printer-14.0.2.0.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-07-11 14:45:39",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "OCA",
"github_project": "report-print-send",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [
{
"name": "pycups",
"specs": []
}
],
"lcname": "odoo14-addon-base-report-to-printer"
}