Skip to Content
Menu

Report to printer - Windows Version

by
Odoo
v 10.0 Third Party 389
Download for v 10.0 Deploy on Odoo.sh
Availability
Odoo Online
Odoo.sh
On Premise
Technical Name base_report_to_printer_win
LicenseAGPL-3
Websitehttp://www.agilebg.com
You bought this module and need support? Click here!

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:

  • subprocess32 Python module
  • GSView at http://pages.cs.wisc.edu/~ghost/gsview/get50.htm
  • Ghostscript at https://ghostscript.com

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.

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!
is it working ?
by
zahid
on 1/8/18, 5:09 PM

Hi guys , i didn't succed to make this addon work on windows no matter what i try. Is it really operational ? or it is WIP ? Or may be i missed something ? Can someone tell me if he got it work on a windows server. Regards