Community mailing list archives

community@mail.odoo.com

Re: Printing on a printer next to a workstation ...

by
OpenERP Master
- 04/24/2015 17:13:05
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 <gamarino@numaes.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 configuration


Gustavo Adrian Marino

 

Mobile:  +54 911 5498 2515

Email: gamarino@numaes.com

Skype: gustavo.adrian.marino

 

<img border="0" width="213" height="94" src="cid:image001.jpg@01CC37F5.99B4CD20" alt="Descripción: Numa Logo V 1-0">



2015-04-24 16:02 GMT-03:00 OpenERP Master <openerpmaster@gmail.com>:
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 request

On Fri, Apr 24, 2015 at 1:22 PM, Carlos Liébana <carlos.liebana@factorlibre.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 <peter.langenberg@bubbles-it.be>:
Hi,

With the module

https://github.com/OCA/report-print-send

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 ?

Peter Langenberg
Zaakvoerder

Bezoek onze website : www.bubbles-it.be
Volg op twitter via : @mylbco
Adres : Luikstraat 67, 9160 Lokeren

“If you think a professional is expensive, wait till you try an amateur.”

Paul "Red" Adair


_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe




--
--------------------------

CARLOS LIÉBANA ANERO
Director | factorlibre.com
+34 635 86 67 92
@carlosliebana

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe


_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe


_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe