Sales and invoicing

Direct printing

dolixprint · version 1.0.0

Print invoices, proposals, orders, shipments and TakePOS receipts on the shop printer, without a print dialog, even with a Dolibarr hosted online.

Price
€79 excl. VAT
Dolibarr
19.0 minimum
Version
1.0.0
Licence
GPL v3+
Languages
French, English

€79 excl. VAT.

Direct purchase for businesses and associations in any country: immediate download, invoice by email.

Buy now

Or the 4 till modules with the TakePOS Till Pack, €149 instead of €226. Or every module with the Dolix Pass, €249 a year.

The card of a validated invoice: the "Imprimer" (Print) button added by the module, and the message after the click: the invoice has gone to the shop printer, without a print dialog.
The card of a validated invoice: the "Imprimer" (Print) button added by the module, and the message after the click: the invoice has gone to the shop printer, without a print dialog. Screenshot of the French-language interface.
01

What the module does

  • "Print" button on invoices, proposals, orders and shipments: the PDF goes straight to the chosen printer.
  • Automatic printing on validation, to be chosen for each type of document. Nothing is printed when the PDF is simply regenerated, and a missing printer never blocks the validation.
  • In TakePOS: a "Direct receipt" button for the receipt of the current sale, a "Drawer" button to open the cash drawer, an "open the drawer with each receipt" option.
  • Works with a Dolibarr hosted online: printing goes through PrintNode, whose software is installed on the computer connected to the printer (Windows, macOS, Linux, Raspberry Pi).
  • PrintNode key checked before saving, then encrypted; list of the printers and of their status in the settings.
02

Who it is for

With a Dolibarr hosted online, the printer is in the shop and the server somewhere else: the "Receipt printers" method cannot see it, Google Cloud Print closed in 2020, and every invoice or receipt needs a print dialog.

With a Dolibarr hosted online, the printer is in the shop and the server somewhere else:

  • Dolibarr’s “Receipt printers” method cannot see the printer;
  • Google Cloud Print closed in 2020;
  • every invoice or receipt has to go through a print dialog, and the cash drawer does not open.

Who it is for: Shops, stores and businesses that use a Dolibarr hosted online and want to print invoices, delivery notes and checkout receipts on their printer without a print dialog.

03

What the module does not do

This section appears on all 30 module pages, without exception.

  • A PrintNode account and its software on the computer connected to the printer are required.
  • Receipts and drawer not yet tested on a real thermal printer.
  • Interface in French and English.
04

How it works

A “Print” button on your documents

On the invoice, proposal, order and shipment cards, the module adds a “Print” button. One click, and the document’s PDF goes straight to the printer chosen in the settings, without a print dialog. A message confirms it was sent: “FA2611-0001 sent to the printer (PrintNode job …)”.

The button is greyed out, with an explanation, as long as the document’s PDF has not been generated or no printer is chosen.

Automatic printing on validation

To be chosen for each type of document (invoices, proposals, orders, shipments): as soon as the document is validated, its PDF goes to the printer, with no further click.

  • Nothing is printed when the PDF is simply regenerated.
  • A missing printer or a printing error never blocks the validation: the document is validated, and a message reports that printing failed.

In TakePOS: direct receipt and cash drawer

As soon as a receipt printer is chosen in the settings, TakePOS shows two buttons:

  • “Direct receipt”: the receipt of the current sale goes to the receipt printer (ESC/POS commands);
  • “Drawer”: opens the cash drawer connected to the receipt printer.

An option “open the cash drawer with each receipt” adds the drawer opening to every receipt.

The receipt is built by Dolibarr’s own code, with a Dolix receipt template: company, reference, date, lines, VAT, total, payments, cut. This template works around two Dolibarr defects: the standard template of Dolibarr 24 contains tags that its own code does not know, and an empty company detail (company ID, VAT number…) makes it crash under PHP 8.

Through the PrintNode service, even when hosted

Printing goes through PrintNode: a small piece of software, installed on the computer connected to the printer (Windows, macOS, Linux, Raspberry Pi), receives the documents and prints them at once. The Dolibarr server can therefore be anywhere.

  • The PrintNode API key is checked with PrintNode before it is saved, then encrypted.
  • The settings list the printers of your PrintNode account, with their computer and their status.

The card of a validated invoice: the “Imprimer” (Print) button added by the module, and the message after the click: the invoice has gone to the shop printer, without a print dialog.

Automatic printing: as soon as an invoice is validated, its PDF goes to the printer, with no further click.

In TakePOS: the “Ticket direct” (Direct receipt) and “Tiroir” (Drawer) buttons, and the confirmation that the receipt of the current sale was sent.

Automatic printing: as soon as an invoice is validated, its PDF goes to the printer, with no further click.
Automatic printing: as soon as an invoice is validated, its PDF goes to the printer, with no further click. Screenshot of the French-language interface.
In TakePOS: the "Ticket direct" (Direct receipt) and "Tiroir" (Drawer) buttons, and the confirmation that the receipt of the current sale was sent.
In TakePOS: the "Ticket direct" (Direct receipt) and "Tiroir" (Drawer) buttons, and the confirmation that the receipt of the current sale was sent. Screenshot of the French-language interface.
05

Settings

HomeSetupModules/ApplicationsDirect printing. The page is for administrators only.

Setting On activation Effect
PrintNode API key none The key of your PrintNode account, checked before saving, then encrypted.
Printer none Printer for documents (invoices, proposals, orders, shipments), chosen from the list of your PrintNode account.
Print automatically on validation all unticked One box per type: invoices, proposals, orders, shipments.
Receipt printer (TakePOS) none Without a receipt printer, no buttons in the POS.
Open the cash drawer with each receipt unticked Adds the drawer opening to every receipt.

The settings: PrintNode key, printer for documents, TakePOS receipt printer, automatic printing by type of document.

The settings: PrintNode key, printer for documents, TakePOS receipt printer, automatic printing by type of document.
The settings: PrintNode key, printer for documents, TakePOS receipt printer, automatic printing by type of document. Screenshot of the French-language interface.
06

Security and safeguards

  • One permission: “Print documents directly”. Administrators always have it.
  • Settings page for administrators only.
  • The PrintNode API key is typed into a masked field, checked by PrintNode before saving, then stored encrypted.
  • The TakePOS buttons call the module by POST, with Dolibarr’s anti-CSRF token; the user’s permission is checked by the server.
  • Forms protected by Dolibarr’s anti-CSRF token.
07

What you get

What the module writes to your installation
Database tables createdNo table. Settings stored as Dolibarr constants: DOLIXPRINT_APIKEY (encrypted), DOLIXPRINT_PRINTER_ID, DOLIXPRINT_TICKET_PRINTER_ID, DOLIXPRINT_TICKET_DRAWER, DOLIXPRINT_AUTO_FACTURE/PROPAL/COMMANDE/EXPEDITION.
PermissionsOne permission: "Print documents directly". Administrators always have it. The settings page is for administrators only.
Uninstalling
  • Disable the module in SetupModules/Applications: the buttons disappear.
  • The module changes no document; the DOLIXPRINT_… settings stay in the database and are reused if you enable it again.

The dolixprint folder, in readable PHP, under the GPL v3 or later licence: the module descriptor, the settings page, the hooks for the invoice, proposal, order and shipment cards and for TakePOS, the PrintNode API client, the receipt builder and the Dolix receipt template.

  • Languages: French (fr_FR) and English (en_US).
  • A README.md and a ChangeLog.md.
  • No table is added. The settings are Dolibarr constants (DOLIXPRINT_…), with the API key encrypted.
  • The module reads your documents (the PDF already generated by Dolibarr) and your TakePOS sales; it does not change them.
  • To print, the module sends the document’s PDF, or the receipt, to the PrintNode service (api.printnode.com, over HTTPS), which passes it on to the computer connected to the printer. This is the module’s only outgoing connection, and it only happens when printing, opening the drawer or displaying the settings.
  • No Dolibarr file is changed.
08

Compatibility

The module descriptor only declares a minimum version. No upper bound is written in the code: the versions below are those on which the module has actually been run.

Compatibility of the Direct printing module
Dolibarr versionsDolibarr 19.0 minimum. Tested (17 checks) on 19.0.4, 20.0.4, 21.0.4, 22.0.5, 23.0.4, 24.0.1, 24.0.2 and 24.0.3, with MariaDB. Receipts and drawer tested up to delivery to the checkout computer, not yet on a real thermal printer.
Minimum PHP7.4
Dolibarr modules to enableNone
LicenceGPL v3 or later, full source code
LanguagesFrench, English
MenuNo menu: a "Print" button on the invoice, proposal, order and shipment cards, and the "Direct receipt" and "Drawer" buttons in TakePOS. Settings: HomeSetupModules/Applications"Direct printing".

The test results, Dolibarr version by version, are on the Compatibility tested page.

09

Installation

  1. Create a PrintNode account (free up to 50 prints per month) and install its software on the computer connected to the printer.
  2. Buy the module on its dolix.fr page ("Buy now" button), then in Dolibarr: HomeSetupModules/Applications"Deploy/install external app/module", upload the zip.
  3. Enable "Direct printing", then in its settings: paste the PrintNode API key, choose the printer for documents and, if needed, the receipt printer and automatic printing.

The details — permissions on the custom folder, shared hosting, upgrades, uninstalling — are on the page Installation and upgrades.

10

Frequently asked questions

Is a PrintNode subscription needed?

A PrintNode account is required. It is free up to 50 prints per month; beyond that, PrintNode's plans are paid (about €7 per month) and are taken out directly with PrintNode.

Have checkout receipts been tested?

The receipt is built by Dolibarr's own code and checked byte by byte (ESC/POS commands, cut, drawer), and it does reach the checkout computer. It has not yet been printed on a real thermal printer: your feedback is welcome, write to support@dolix.fr.

Which Dolibarr versions?

Dolibarr 19.0 minimum, tested from 19.0.4 to 24.0.3 with MariaDB. PostgreSQL and multicompany were not tested.

11

Version history

Taken from the module’s ChangeLog.md file: a single source.

1.0.023 November 2026

First version: Print button on invoices, proposals, orders and shipments, automatic printing on validation, Direct receipt and Drawer buttons in TakePOS, through the PrintNode service.

12

Support for this module

Write to support@dolix.fr. The person who wrote the module is the one who replies.

Reply within two working days. This is not an on-call service.

To include in your message

  • The exact Dolibarr version.
  • The module concerned and its version — here dolixprint 1.0.0.
  • What you did, and what you expected.
  • The error message copied exactly, or a screenshot.
  • How Dolibarr is installed, if you know.

€79 excl. VAT.

Direct purchase for businesses and associations in any country: immediate download, invoice by email.

Also

The other modules

Multiple barcodes

dolixmultibarcode · v1.0.2

Several barcodes for one product: supplier code, old code, in-store label, pack code. Scanned in TakePOS, each code adds the product to the ticket with its quantity: the code of a pack of 6 adds 6 units.

AvailableRead more

Orders to collect in TakePOS

dolixretrait · v1.0.3

The customer comes to collect a pre-order: one click in TakePOS copies it into the ticket, and after payment the order is classified billed, even if the weight changed.

AvailableRead more

TakePOS cash closing

dolixcloture · v1.1.0

The TakePOS cash day, step by step: opening with the counted float, deposits, withdrawals, cash in and expenses between sales, closing count by notes and coins, then the Dolibarr cash control already filled in. The discrepancy is booked so that the cash account matches the drawer.

AvailableRead more

For your sales of goods to consumers in other EU countries: the VAT rate of the customer's country, found from the product's customs code and the European Commission's official rates, draft invoices fixed in one click, tracking of the €10,000 threshold and the quarterly OSS return.

AvailableRead more

Stored computed fields

dolixcalc · v1.0.1

An extra field computed by a formula written without PHP, with its value stored: right in the lists, sortable, filterable and printable on PDFs.

AvailableRead more

Keyboard shortcuts

dolixshortcuts · v1.0.1

Ctrl+S (Cmd+S on Mac) saves the record you are filling in, without scrolling down to the button. g then a letter opens third parties, proposals, orders, invoices or products. ? shows the help.

AvailableRead more

Google Contacts two-way sync

dolixgcontacts · v1.0.0

Dolibarr contacts and Google Contacts synced both ways, for each user. Only the contacts with the “Dolibarr” label in Google are involved, and a field changed on both sides is settled by the rule you chose.

AvailableRead more

Dolix Coop

dolixcoop · v1.0.2

For cooperative and community grocery stores: shelf labels with the price per kilo or per litre, the customer's membership status in the TakePOS checkout, a simplified home page and menu for volunteers, a quick inventory on the phone.

AvailableRead more