Dot Matrix Printing - Dot Matrix Invoice, Raw Text Printing, ESC/P Printer, Continuous Paper and Multi Part Form
by Modvanta https://modvantaapps.tech/odoo-apps/dot-matrix-print/$ 24.93
In-App Purchases
Print invoices, orders and delivery slips on dot matrix printers at full speed - as text, not as slow PDF pictures
Odoo prints every document as a PDF. A dot matrix printer prints a PDF as a picture: slowly, grey, and often unreadable on carbon copies. This module sends plain text with Epson ESC/P codes instead, laid out in fixed columns for your continuous, pre-printed and multi-part forms.
Written and supported by Modvanta - modvantaapps@gmail.com
What it does
You write a text template for each document: a header, a line section that repeats for every invoice or order line, and a footer. Placeholders such as {{ object.partner_id.name | ljust:40 }} or {{ line.price_subtotal | money | rjust:12 }} put each value in its exact column. Six templates come ready: invoice, sales order, purchase order, delivery slip, POS receipt and payment receipt.
The module turns the template into printer bytes: initialize, pitch (10, 12, 15 cpi or condensed), draft or NLQ, line spacing, page length, perforation skip, left margin and character table, all from the Epson ESC/P reference. Long documents run over several pages with the header repeated, a "continued" line, and the totals at the bottom of the last form.
Then it prints the way your office works: through Modvanta's own small print agent, included with the module, on the computer with the USB or parallel printer, straight to a network printer on port 9100, as a plain text page from the browser, or as a .prn file you download. Every print is logged and can be printed again.
Who it is for
Distributors and wholesalers Hundreds of invoices and delivery notes a day on 3-part carbon forms, printed in seconds each. | Shops and counters A dot matrix receipt from the POS receipt screen, on continuous roll paper. | Pre-printed stationery Fill company forms that already carry the logo and boxes: fixed lines and columns, footer pinned to the total box. |
Warehouses Delivery slips and picking lists on 5.5 inch forms, sent to a network printer on the dock. | Accounts departments Payment receipts with the amount in words, invoice copies labelled ORIGINAL, DUPLICATE, TRIPLICATE. | Implementers One template engine for any Odoo document, with a live preview while you edit. |
Key features
| Dot matrix invoice, sales order, purchase order, delivery slip, POS receipt and payment receipt templates included | |
| Template for any Odoo model, added to its Print / Action menu with one click | |
| Header, line section and footer with safe {{ }} placeholders and filters: ljust, rjust, center, trunc, num, int, money, words, date, upper, lower, title, line, nl2sp, default | |
| Page length in lines, columns, top and bottom margins, repeated header, page numbers, continued line, footer at the bottom | |
| Form feed after each page, or fill with line feeds, or continuous text for roll paper | |
| Copies with labels (ORIGINAL / DUPLICATE / TRIPLICATE) for printers without carbon paper | |
| Epson ESC/P and ESC/P 2: ESC @, ESC P / M / g, SI condensed, ESC x draft or NLQ, ESC 0 / 2 / 3, ESC C, ESC N, ESC l, ESC ( t character tables, extra hex codes | |
| Inline bold, italic, underline, double width and double height codes that take no column width | |
| Character tables PC437, PC850, PC852, PC857, PC860, PC863, PC865, PC866, ISO 8859-1 and more, with accents replaced when the table lacks them | |
| Print through the local print agent, raw TCP 9100, browser text print, or download .prn and .txt | |
| Print button on invoices, payments, sales orders, purchase orders, transfers and POS orders; batch print from lists | |
| Dot Matrix Receipt button on the POS receipt screen | |
| Live preview with a column ruler; print job log with reprint, errors and the printed text |
See it working
A Dot Matrix button on every document
Invoices, payments, sales orders, purchase orders, transfers and POS orders get a Dot Matrix button.

Preview before you print
Choose the template, printer and copies. The preview shows the exact layout with a column ruler.

Printed through the local print agent
The browser hands the job to the print agent on this computer, which writes it to the USB printer queue in raw mode.

Batch print from the list
Select many invoices and print them in one job; every document starts on a new form.

Delivery slip to a network printer
A 5.5 inch delivery slip sent by the Odoo server straight to a dot matrix printer on port 9100.

Editable text templates
Header, line section and footer, with placeholders and printer codes.

Live preview while editing
Pick a sample record and see the result at once, page breaks included.

ESC/P printer setup
Pitch, quality, line spacing, page length, perforation skip, left margin and character table.

Printers and connection test
Local agent, network, file or browser printers per company, each with a connection test.

Set up the print agent in a minute
Each user generates a personal key and downloads agent.ini and the agent script.

Every print is logged
Who printed what, where, how many pages and whether it worked - with Print Again and .prn / .txt download.

Dot matrix POS receipt
A Dot Matrix Receipt button on the POS receipt screen prints the ticket on continuous roll paper.

How it works
1. Add your printer Dot Matrix > Configuration > Printers: local agent, network IP and port, file or browser. | 2. Start the agent My Print Agent > Generate Key and Files, then run "python3 mdv_dotmatrix_agent.py --config agent.ini" on the printer computer. | 3. Print Open an invoice, order or delivery and click Dot Matrix - or select many in the list. |
Settings
Templates (Dot Matrix > Configuration > Templates): document model, lines field, header / line / footer, columns, page length, margins, page end, copies and labels, and the ESC/P codes.
Printers (Dot Matrix > Configuration > Printers): connection type, agent address and printer queue name, or IP address, port and timeout; one default printer per company.
Point of Sale (Point of Sale > Configuration > Settings > Bills and Receipts): Dot Matrix Receipt, its template and printer.
Access: "User: print documents" prints and sees their own jobs; "Administrator: templates and printers" manages the setup and sees every job.
FAQ
Compatibility
Fast, readable dot matrix printing from Odoo
One module for invoices, orders, delivery slips, payments and POS receipts.
Buy Now - $25Hire Us for Odoo Work| EMAIL modvantaapps@gmail.com | AUTHOR Modvanta | INCLUDED 6 templates + Modvanta print agent |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Discuss (mail)
• Inventory (stock) • Invoicing (account) • Point of Sale (point_of_sale) • Purchase (purchase) |
| Lines of code | 2629 |
| Technical Name |
mdv_dot_matrix_print |
| License | OPL-1 |
| Website | https://modvantaapps.tech/odoo-apps/dot-matrix-print/ |
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