Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I am currently using report_to_printer module for printing my invoices to my dot-matrix printer by just clicking print button. Module sends a copy of the report to the cups server and cups prints the report from a network attached printer.
This scenario works well on our local network with openerp 6.1. Now I want to upgrade to the 7.0 and I also would like to be able to send reports directly to the printer from clients on both local network and Internet.
With 6.1 GTK client we had opportunity to define a processor and send some of the file formats directly to the printer on the client side.
My question is: Is there a method for 7.0 to send a reports directly to the printer easily from client side?
Additional Info: I find an open source java project named jzebra http://code.google.com/p/jzebra/ for sending documents directly to the printer from web based applications. Can this integrated into openerp?
Additional Info 2: There is an another project for firefox to turn print dialog on and off. AttendPrint Not what I am looking for but an additional information for printing.
The module base_report_to_printer works fine with V 7.0 and 8.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).
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.
There is a module from 6.1 that doesn't need that much customization to work in 7.0
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.
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.
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.
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 2/13/13, 12:27 PM|
|Seen: 18636 times|
|Last updated: 1/26/16, 12:30 PM|