Direct Print to Dot Matrix Printer

by
Odoo

116.70

v 13.0 Third Party 86
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Discuss (mail)
Inventory (stock)
Invoicing (account)
Purchase (purchase)
Lines of code 365
Technical Name vit_dotmatrix
LicenseOPL-1
Websitehttp://www.vitraining.com
Versions 14.0 15.0 16.0 8.0 12.0 13.0 10.0 11.0
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Discuss (mail)
Inventory (stock)
Invoicing (account)
Purchase (purchase)
Lines of code 365
Technical Name vit_dotmatrix
LicenseOPL-1
Websitehttp://www.vitraining.com
Versions 14.0 15.0 16.0 8.0 12.0 13.0 10.0 11.0

DEMO

CLICK HERE FOR DEMO

username demo. password demo.

  • To run the demo, you need to install the Proxy Printer Server on your local computer attached to the printer. Go to the installation section below to install the proxy.
  • You can access the Sales, Purchase, Invoice, and Picking menu and open a document to print
  • Find the Dotmatrix Tab on each document, click the Refresh Printer Data to load the dotmatrix data
  • Click the Dot Matrix printer button on the header of each document to send the data to dot matrix printer

Introduction

  • this is modul is used to print PO, SO, Picking, Invoice directly to dot matrix printer
  • no special hardware needed
  • using python flask based printer proxy script
  • adds printer_data field on account.move, sale.order, purchase.order, stock.picking
  • uses printer template data from email.template named "Dot Matrix *"
  • you can easily modify the template to adjust your printed documents

One of the biggest challange in implementing Odoo in some companies especially Indonesia which already have so many daily transactions (like thousands of invoices per day), is printing to Dot Matrix Printer!

Yes, it is common in Indonesia's big trading companies to use Dot Matrix printer to print PO, SO, Invoices, Picking List to efficiently print using continuous and carbonized forms so they can print 3-4 document at once. Printing PDF file to dot matrix printers that can take the whole day just to print :(

This can be a big issue in Odoo standard, because it uses PDF for every document printing. The print result is good when printed at deskjet/ laserjet printers, but when it comes to dotmatrix, the font is broken and almost unreadable. This is because the dot per inch is too small. We can set it up bigger, but it will take some more time to print to dot matrix printer. It is impractical when it comes to print like 5000 invoices daily!

The solution is to use a proxy printing techniques. We make a small web server application at the client computer that is connected to the printer. That small application listen at a specific HTTP port and ready to receive request from Odoo's web browser client. At server side, we add an add-on that will send the raw data to print to that local application via HTTP post. The raw data is automatically composed based on the document to print using template.

The result is: AMAZING! printing is now direct to dot matrix printer with it's super fast speed and perfect printing result!

Proxy Installation on Linux/Mac/Raspberry Pi

  • copy the proxy python script from the folder vit_dotmatrix/static/py-printer-linux.zip to you local computer
  • for demo purpose, you can download it from here
  • unzip into any folder on your local client computer where the printer is connected
  • install the required Python modules: flask and flask-cors, you can use pip install -r requirements.txt command
  • follow the INSTALL.TXT instruction on how to install and run the script
  • you can then print Invoice, SO, PO directly to local dotmatrix printer

Proxy Installation on Windows with Python

  • copy the proxy python script from the folder vit_dotmatrix/static/py-printer-win.zip to you local computer
  • for demo purpose, you can download it from here
  • unzip into any folder on your local computer where the printer is connected
  • install python on your windows computer by downloading the executable from http://python.org
  • install the required Python modules: flask and flask-cors, you can use pip install -r requirements.txt command
  • install py32win from https://github.com/mhammond/pywin32/releases
  • you can then print Invoice, SO, PO directly to local dotmatrix printer

Determining which printer to use

Edit the file /py-printer-win/printer.py. At line 1: change PRINTER_NAME value to the exact printer name detected on your local computer. You can find this name from Windows Printer Device Manager control panel.

For Linux/Mac/Raspi it uses the default printer as assinged by the LPR printer system.

Detailed technical information

Want to customize more and get the detailed technical information? How to modify the template, add more features on other Odoo object? We have a Udemy course for this particular topic.

Click here to go to the Udemy course now!

Find our other interesting modules that can make your life easier: https://www.odoo.com/apps/modules/browse?search=vitraining

Contact and Support

Contact Us: info[at]vitraining.com
Facebook : www.facebook.com/trainingOdoo
YouTube: www.youtube.com/channel/UCfLiSpb5nKcurnRIZse8zgA
Web: shop.vitraining.com

Odoo Proprietary License v1.0

This software and associated files (the "Software") may only be used (executed,
modified, executed after modifications) if you have purchased a valid license
from the authors, typically via Odoo Apps, or if you have received a written
agreement from the authors of the Software (see the COPYRIGHT file).

You may develop Odoo modules that use the Software as a library (typically
by depending on it, importing it and using its resources), but without copying
any source code or material from the Software. You may distribute those
modules under the license of your choice, provided that this license is
compatible with the terms of the Odoo Proprietary License (For example:
LGPL, MIT, or proprietary licenses similar to this one).

It is forbidden to publish, distribute, sublicense, or sell copies of the Software
or modified copies of the Software.

The above copyright notice and this permission notice must be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.

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 or have a question related to your purchase, please use the support page.
by
Oscar Mojica
on 10/5/22, 1:28 PM

Hi! We got some problems with configuration. "Dotmatrix Print Failed. Please check the Printer Proxy running" On support page you can contact us. https://apps.odoo.com/apps/support/77498


Purchase v.15, but can only print for Invoice
by
Joe M. Munardi
on 9/14/23, 12:35 AM

We purchased this app for v.15, but only can print for Invoice. The details on this app claims to print to PO, SO, Picking, Invoice. We have contacted vitraining customer sales officer to complain about this since 11 Sep. 2023, but until today do not get the complete app of the dot matrix. We hope somebody in vitraining can assist on this issue.


QR code print
by
Fahadrm
on 7/12/23, 7:28 AM



I need to print a QR code in my invoice , is it possible to do using your module ?


by
Oscar Mojica
on 10/4/22, 8:41 AM Confirmed Purchase

Hi!

We got some problems with configuration. 

"Dotmatrix Print Failed. Please check the Printer Proxy running"

On support page you can contact us.

https://apps.odoo.com/apps/support/77498




by
Joe M. Munardi
on 9/30/22, 2:55 AM

Yth. Vitraining,

Kami membeli module Dot Matrix v. 15. Di panduan instalasi disebutkan sbb:

• install the required Python modules: flask and flask-cors, you can use pip install -r requirements.txt command

Mohon panduan untuk instalasi  flask and flask-cors, menggunakan: pip install -r requirements.txt command.
Terima kasih.


by
Joe M. Munardi
on 8/19/22, 10:37 AM

Apakah v.15 ready?


by
Joe M. Munardi
on 8/15/22, 8:48 AM

Apakah ada untuk versi odoo 15 nya?


by
Zone4erp Solutions
on 1/19/22, 3:34 AM

Hi ,

Can i have a demo link..?

To test and buy this module.

Thanks,

Zoneerp


by
Kanjana Kanpai
on 1/6/22, 11:23 PM

I need version 14. Do you have any plan to upgrade this app?


v.14
by
Felix Asenji
on 8/1/21, 11:36 PM

When are you planning to release v.14?


Direct Print to Dot Matrix Printer V14 ?
by
Eduardo Chavez
on 1/26/21, 12:03 PM

Hello,


Do you have any plan to upgrade this app to Odoo version 14.


Thanks in advance,

Eduardo



by
Robin Ellis
on 11/1/20, 8:04 PM

akhmad,  I have emailed you recently regarding getting out invoice done for the dot matrix as per our emails but have not had any response.  Are you getting my emails?


robin@wmssoft.com.au    -    wmssoft.


v13 and Epson lq680 printer
by
Robin Ellis
on 10/13/20, 1:24 AM

Hi, we are an odoo implementer in Australia (wmssoft.com.au).  We have been trying to print invoice in user format to Epson lq680printer.   we have had some success but still not perfect with a blank line every 27 lines or so.

we would like to trial your dot matrix option with customer v13 (they are on .sh) to see if we can have a good result.   do you provide support for this and can help us implement and at what cost?  does it use the normal invoice template or how do we/you go about creating the template to use?


please can you correspond with me direct to my email on robin@wmssoft.com.au or via skype on ricgrob1



Re: v13 and Epson lq680 printer
by
Akhmad Daniel Sembiring
on 10/13/20, 6:00 AM Author

hi

will be in touch by email 

thanks