Community mailing list archives
Re: Printing on a printer next to a workstation ...by
The problem the person is reporting is that the OCA module defines a printer on a per user basis, and that they want to print a report to a printer based on the persons location regardless of what user is logged into the system.Also, I wouldnt say that anyone "must" use an OCA module.
On Fri, Apr 24, 2015 at 2:12 PM, Gustavo Marino <email@example.com> wrote:
Hi,I think something is not clear.If you need a report to be sent to a local attached printer, the way to go is the normal Odoo report generation that downloads a file to User Interface, which can be printed to the local printer, wathever the printer is a laser, a pdf file or a serially attached unit.If you want reports sent to well known printers, you must implement de OCA module that defines network printers, accessible from the server to be defined for a report. In this case the report is not sent to the user interface, but goes directly from server to network printer (or directly attached device)Thus, I see no fundamental problem with current configuration2015-04-24 16:02 GMT-03:00 OpenERP Master <firstname.lastname@example.org>:You have a fundamental problem. Odoo needs to know the difference... Odoo needs to know what workstation you are at. How would it know this? An option we decided to go with was to override the report class and add a parameter that contains the ip address of the workstation. When the report is generated we can use this variable to send an LPR command to a printer. I do not think any such module exists that can do this requestOn Fri, Apr 24, 2015 at 1:22 PM, Carlos Liébana <email@example.com> wrote:Hello Peter,Nice question. I think you can try https://github.com/ryepdx/printer_proxy_server but some tweaks will be needed to make it work.Best regards.--2015-04-24 16:12 GMT+02:00 Peter Langenberg <firstname.lastname@example.org>:Hi,With the module
It's possible to connect a printer to a user / report ...
But I need to connect a networkprinter not to a user but to a workstation ... so I can print barcode labels on the network printer next to the workstation (there are multiple workstations) indepedent of the user ...Somebody has another module or any suggestions ?