Odoo Help

25
4
Avatar

Med Said BARA

--Med Said BARA--

2789
| 5 5 7
Algeria
--Med Said BARA--
Med Said BARA
On 3/15/14, 7:52 PM

Hi;

The module base_report_to_printer works fine with V 7.0 and 8.0

base_report_to_printer for V7.0

base_report_to_printer for V8.0

In the same repo, the module printer_tray allows to choose the tray of the printer.

And if you are using Aeroo Reports, you can use report_aeroo_direct_print (from Alistek).

But this module is not working for the openerp client which has been accessed the server remotely, I could not detect the printers using the button Update Printers from Cups, with the printer connected. Can you suggest a way to resolve this?

Abhishek H Menon
on 7/27/16, 11:17 AM
6
Avatar

Nicolas Bessi

--Nicolas Bessi--

1620
| 5 7 8
Lausanne, Switzerland
--Nicolas Bessi--
Nicolas Bessi
On 2/14/13, 9:16 AM

Hello,

It will be possible to integrate jzebra into OpenERP. You will need to (optionally) redefine the print controller in Python and a part of Javascript in webclient.

The main concern here is that jzebar use a Java Applet, so you will have all the trouble related to this technology. You have to authorize the applet, it may have security issues, Applet may be deactivated by default etc.

Not all of the terminals will have this applet running, just the ones with an attached invoice or label printer and java authorization can be done while printer setup.

Altınkaya Elektronik Cihaz Kutuları imalat Ticaret ltd sti, Ahmet Altinisik
on 2/14/13, 6:54 PM

Jzebra might not be the definitive method for printing POS receipts directly on a dot-matrix printer rapidly when the customer has finished his(her) shopping. However I understand it is possible to implement JZEBRA as an alternative to a fully integrated option in OpenERP. I would like more information to redefine the printer controller in Python and if necessary the related part of Javascript in webclient;

AD LIBITOM, michel Guénard
on 2/25/13, 6:37 PM

Can javascript send commands to the printer ?

Altınkaya Elektronik Cihaz Kutuları imalat Ticaret ltd sti, Ahmet Altinisik
on 2/25/13, 7:24 PM

Yes I can; and Jzebra was able to print its tests. Now there remains how to integrate Jzebra with OpenErp, if I understood correctly your comments. Would you add some direction in order to make such implementation for V7 Online. AttendPrint tried: does'nt succeed printing the Pos receipt in a decent format.

AD LIBITOM, michel Guénard
on 3/6/13, 8:40 AM
0
Juan Pizarro
On 3/15/14, 5:07 PM

Hello,

Some time ago I made a proof of concept with jzebra and OpenERP. You can see a video in www.youtube.com/watch?v=-NrwpS9Cy1s www.youtube.com/watch?v=GjVpjfWkUVQ

The source code is in github.com/jpizarrom/OpenERP-jZebra

0
Avatar

Nicolas Bessi

--Nicolas Bessi--

1620
| 5 7 8
Lausanne, Switzerland
--Nicolas Bessi--
Nicolas Bessi
On 2/14/13, 9:05 AM

Hello,

There is an addon in community branches https://launchpad.net/report-print-send base_report_to_printer. It seems that it as not be ported to version 7.0 yet.

Regards

0
Egor Tsinko
On 2/25/13, 6:20 PM

Hi, Here is solution we use. No python code required! You can install base_report_to_printer module which lets send any report in a pdf file to a CUPS server. And you can connect ZPL and EPL Zebra printers to CUPS. All you need to do is to install both CUPS and base_report_to_printer, connect your printers to CUPS (we use ZebraLink to connect printers to a local network) and set to which printers reports will be sent.

0
Avatar

Andreas Maertens

--Andreas Maertens--
1017
| 6 6 7
Finsterwalde, Germany
--Andreas Maertens--

I develop odoo8.0 modules

Andreas Maertens
On 5/27/13, 10:38 AM

There is a module from 6.1 that doesn't need that much customization to work in 7.0

http://v6apps.openerp.com/addon/8736

The only customization it really need to work in 7.0 is in the views to remove: <field name="type"> and to add: <form version="7.0"> The code itselfs works fine with mine.

Btw: It works with CUPS in Linux servers.

0
Branimir
On 3/14/13, 5:34 AM

Hi, in our company we were just working around this problem. We have little Okipos ticket printer connected to a Windows 7 machine. As a workaround we are using:

  • AttendPrint plugin for Firefox to avoid the popup print dialog
  • Bullzip PDF Printer set up to create pdf in a dedicated folder (you can disable configuration popups from the settings menu)
  • FolderActions - a little program that listens to the dedicated folder and runs a custom action
  • pdftotext from Xpdf for windows - to convert the created pdf to text file
  • the action in FolderActions is something like

    pdftotext.exe -layout -enc UTF-8 output.pdf output.txt

    notepad /p output.txt

I have the driver for the printer installed and I use the notepad approach to send it through the driver, print file.txt does not produce the best output. Maybe there is much simpler solution but this is what I made it work with. I tried Report-Designer plugin for OpenOffice but without success. Don't really know how to use it. I'm sure that there is a way better way though.

Greetings

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

12 follower(s)

Stats

Asked: 2/13/13, 12:27 PM
Seen: 21158 times
Last updated: 1/26/16, 12:30 PM