发送到打印机(Windows版)
 
应用简介
允许用户通过服务器直接连接的打印机进行打印。除了直接打印,一共有两种方式:报表以PDF格式发送至客户端,或直接打印至预选的打印机。
分类标签
详细信息
技术名称:base_report_to_printer_win
支持版本:10.0
开发者名称:Luca Vercelli - Finsoft srl
模块下载
 
License: AGPL-3

Report To Printer - Windows version

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

You must install:

Configuration

After installing enable the "Printing / Print User" option under access rights to give users the ability to view the print menu.

You must fix Ghostscript and GSView paths in "System parameters" menu (this should be improved in future).

If you are running Odoo as a service (as you should do), GSView may have issues finding printer: "Couldn't open Windows GDI printer driver". You can fix it this way: open a command prompt as administrator, then type and run:

reg copy "HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Devices" "HKEY_USERS\.DEFAULT\Software\Microsoft\Windows NT\CurrentVersion\Devices" /f

That way, all printers of current Windows user will be also available to all other Windows users.

More details in this post: http://pages.cs.wisc.edu/~ghost/redmon/muir.htm .

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

This module is not currently maintained by the OCA, but it could be.