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

Report behaviour is defined by settings.

Settings can be configured:

  • globaly
  • 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 python-dev OR sudo apt-get install python3-dev
sudo easy_install pycups OR 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 show all available printers for your server, use the Settings/Configuration/Printing/Update Printers from CUPS wizard.

Then go to the user profile and set the users printing action and default printer.

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

Known issues / Roadmap

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.

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.
There are no ratings yet!
Stopped working!
by
Austin
on 2/5/21, 6:29 AM

Hi, we have been using the report_to_printer app without any issues on our odoo 10 CE hosted on Ubuntu 16 server. 

We are able to add a new printer on CUPS server and are able to share ait and print via other windows PCs on our lan.

However,  we noted that none of the printers no longer show up in Odoo 10 when we click on the Setting>Printing>Update printers from cups .

Further, we noted that when we install cups on a raspberry pi and install cups, we are able to print to the same printers on other windows PCs.  

We tried to reinstall CUPS and also dependancies as below;

sudo apt-get install cups
sudo apt-get install libcups2-dev
sudo apt-get install python-dev OR sudo apt-get install python3-dev
sudo easy_install pycups OR sudo pip install pycup


Kindly help...


by
Lynn Hodges
on 11/7/17, 12:22 PM

Will this work on Enterprise versions? I don't find the printer configuration in enterprise.


Pycups in windows
by
Ravikumar Vetrivel
on 7/7/17, 7:32 AM

#pycups any assistance for installing pycups in Windows, would greatly help. Thanks