发送到打印机
 
应用简介
允许用户通过服务器直接连接的打印机进行打印。除了直接打印,一共有两种方式:报表以PDF格式发送至客户端,或直接打印至预选的打印机。
分类标签
详细信息
技术名称:base_report_to_printer
支持版本:6.0, 6.1, 7.0, 8.0, 9.0, 10.0
开发者名称:Agile Business Group & Domsense
模块下载
 
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

Report behaviour is defined by settings.

Settings can be configured:

  • globaly
  • per user
  • per report
  • per user and report

Installation

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.