Promotions

  • Skin QuaranteDeux

    Skin quarante deux features: Compatibility with Dolibarr version v.18.00.00 & above. Seamless operation with PHP 8. Discover a new visual experience with our highly anticipated feature: dark mode!

    144.00 €  (288€)
  • Advanced HRM : Advanced human resources management

    This module brings a layer of ergonomics and additional features in the standard Dolibarr human resources management module, such as the facility to create absence requests from the employee schedule, the addition of automatic VAT rates, the integration of the km scale on the tranche 1 and of google maps.

    174.00 €  (348€)

New products

  • moreFlow : ventilation de charges sur pièces natives

    This module allows you to allocate supplier invoices and expense reports to better understand your margin. The allocation can be performed on customer/supplier invoices, tasks (and projects), interventions, and the Factory module. It is possible to total the allocated amounts and the difference between the invoice amount and the allocations on the native lists.

    24.00 €
  • CRM Funnel

    This module adds a sales funnel to Dolibarr's CRM, based on the prospect status field and an additional prospect score automatically calculated when prospect data is completed. Easily track the progression and quality of your leads in a clean and intuitive interface.

    45.00 €

PDF Printer - Create and Print on Labels, Packaging, Products, Envelopes, ...

c14146d20190917144003

Create dynamic templates with barcodes, images, custom fonts, calculated fields, dynamic text, and print on labels, products, packaging, paper, envelopes, etc. in 2 clicks from any compatible list or job description.

287.96 €

  • Author E.I. Cédric ANCELIN
  • Module version 21.2.2
  • Release date 09/17/2019
  • Access to updates and downloads 365 days
  • How to contact support support@ancode.fr
  • Compatibility Dolibarr V16 - V21   -   PHP>= 7.3
  • Last update 06/13/2025 02:13 PM

More info

Purchase includes

  • 365 days of Support and UpdatesSee conditions ), Renewable upon request at the current rate on ancode.fr
    Training and assistance with module installation (not included)
  • Training and help with module installation (not included)

General informations

Create Templates

Using predefined blocks (Text, Paragraph, Barcode, Image, Rectangle, Line, Address), you can build your document and preview the final output in real time.

Each block has numerous positioning, sizing, and customization options.

More details about the blocks are available in the documentation.

Print quickly

From a compatible page, you can generate a document with contextual values.

For example, you can print a label for a product batch, a product, or a BOM by going to the relevant page. Or, you can also generate labels for multiple products or multiple addresses at the same time by going to the relevant lists, or from an order, a shipment, etc.

Features

Media

  • Configure your own print media quickly and easily.
  • The module allows you to print on any format: A4, Avery, 100x150, label sheets, roll labels, cardboard, box, envelope, product, etc.
  • Compatible with multi-label sheets such as Avery sheets.
  • Compatible with any printer that accepts PDFs: Dymo, Datamax, laser, inkjet, UV, thermal, etc.

Content Types

  • Texts and Paragraphs
  • Barcodes (TCPDF types available in Dolibarr)
  • Images (JPG, JPEG, PNG)
  • Calculated values (Expressions using PHP syntax)
  • Values of contextual objects, including additional attributes (extrafields)
  • Geometric shapes (Lines and Rectangles)
  • Addresses formatted according to the country

Values of contextual objects can be used in calculated fields

Customizations

  • Text, background, line and border colors, etc.
  • Text, border, margin and spacing dimensions, etc.
  • Text styles (bold, underline, strikethrough, italic, etc.
  • Import of font families custom

Print form

Generate and print easily and quickly, thanks to the button located on each compatible sheet:

  • BOM nomenclature
  • Contact
  • Shipping
  • Invoice
  • Production order
  • Order
  • Supplier order
  • Product
  • Product batch
  • Commercial proposal
  • Reception
  • Third party
  • Warehouse
  • - Possible adaptation to other sheets on request -

Some sheets allow you to print your own information (sender address)

Printing Options

Define text, paragraph, image, barcode, or address elements without predefined values to allow customization for each print.

Associations

Optionally limit access to templates to certain records, a specific third party, an order, a product, etc.

Additional Attributes

Optionally enable additional attributes on proposal, order, invoice, or shipping lines to define a customized template for each product or service line.

Import/export

Easily import and export your templates in JSON format. This allows you to save your templates, move them from a test instance to a production instance, send them by email, etc.

Demo

Install

  1. Download the module archive (module_ancodepdfprinter-x.x.x.zip) from DoliStore.com
  2. Copy the archive into the Dolibarr « custom » folder
  3. In case of an update, delete the previous « ancodepdfprinter » folder from the « custom » folder from Dolibarr
  4. Unzip the archive
  5. Reset the module (disable and re-enable it)

Change log

Important information

  1. This module is constantly evolving, and changes can be significant between 2 major versions (examples: 19.1.x => 19.2.x or 19.x.x => 20.x.x). It is strongly recommended to save the custom data (templates, sheets, images, ...) of the module before updating, and to perform the updates on a test server before going into production.
  2. Update to v20+: The way images are imported has been improved and paths have been changed. Please backup your images before updating.
  3. Update to v19+: This is a MAJOR Update which requires the creation of document templates before putting it into production
  4. Update to v19+: Please disable and remove the StickyLabels module.

21.2.0 (2025-06-11)

Added

  • Added print form in supplier invoices

21.1.0 (2025-06-06)

Added

  • Compatible with Dolibarr 21
  • Improved interface
  • New « Visibility » option for templates
  • « Types of label » removed
  • New option to set the line height of a text
  • New option to choose whether or not to adjust the element size to fit inside the template (previously adjusted by default)
  • Font families are no longer imported globaly, but linked to a template
  • All custom related resources (fonts and images) are now included when exporting a template

Changed

  • Changed the way entities and variables are loaded
  • The names of the entity functions have been renamed for better understanding.

21.1.0 (2025-03-06)

Added

  • Compatible with Dolibarr 21

20.7.0 (2025-03-02)

Added

  • Delivery note labels

Changed

  • «Print» action button renamed to «Labels» and moved to the cards header

20.6.0 (2025-03-01)

Added

  • Product batches for shipping lines and receipt lines («Productlot» variable)

20.5.0 (2025-02-27)

Added

  • Send PDFs by email
  • Compatibility with most 1D barcode types: CODE 39, CODE 93, Standard 2 of 5, I25, CODE 128 + A/B/C, EAN 2, EAN 5, EAN 8, EAN 13, UPC-A, UPC-E, MSI, POSTNET, PLANET, RMS4CC / CBC, Klant index, Intelligent Mail Barcode - Onecode - USPS-B-3200, CODABAR, CODE 11, PHARMACODE, PHARMACODE TWO-TRACKS
  • Compatibility with most 2D barcode types: QRCODE (L,M,Q,H), DATAMATRIX, PDF417 (+options), RAW, RAW2

20.4.0 (2025-02-17)

Added

  • New computed field to define the conditions under which an item will be active

Changed

  • Date type variables now return the timestamp, please use the PHP "date" function or the Dolibarr "dol_print_date" function in a computed field

20.3.0 (2025-02-15)

Added

  • Create Bill of Materials labels
  • Significantly improved compatibility of computed fields with PHP syntax (no longer uses dol_eval)

20.2.0 (2025-02-06)

Added

  • Computed field (text element)
  • Import custom fonts

20.1.0 (2025-01-28)

Added

  • Dolibarr 20 Compatibility
  • General improvement of the code
  • General security improvement
  • Modified image import logic
  • Variables « CommonObject » and « CommonLine » are renamed « CommercialObject » and « CommercialObjectLine »
  • Variable « ProductBatch » is renamed « CommonBatch »
  • Changing the scope of use of label templates
  • Removed « scripts » folder

19.4.0 (2024-08-17)

Added

  • New element «Image»
  • Print documents from an Order (+Order Lines), a Proposal (+Proposal Lines), an Invoice (+Invoice Lines)
  • New button allowing access to the design of a template from the print form
  • Link/Unlink templates to an object and/or a third-party from a tab on each compatible card
  • Print using a different template for each line
  • Define a default template, a default sheet, and a default orientation for ALL LINES of a commercial card (Proposal, Order, Shipment, Invoice)
  • Define a template, a sheet, and an orientation for EACH LINE of a commercial card (Proposal, Order, Shipment, Invoice)
  • New generic variables for commercial cards: CommonObject and CommonLine
  • New search field on the template list
  • Set a custom value to a text or paragraph element from the print form if the element has no value in the template
  • Introducing error messages into the print form
  • New dynamic variable {{Translation::TheTranslationKey}} to use translation keys in text fields

Changed

  • Elements no longer automatically use the available remaining height when no value is entered, but only the necessary height
  • A large part of the variables linked to a commercial card are removed. You must now use generic variables CommonObject and CommonLine
  • Complete refactoring of code to procedural, removal of classes and namespaces

Changed

  • Abnormal behavior of saving preferences on the print form
  • Fixed a bug where the document generator attempted to generate a disabled element
  • Attempting to generate a document from a template that contains no active elements will generate an empty document rather than an exception error
  • Several bug fixes

19.3.0 (2024-04-03)

Added

  • Management of templates
  • Create templates with the following blocks: text, paragraph, line, rectangle, address, barcode
  • Creation of documents for Products (+list), Manufacturing Order lines, Lots/series, Supplier order lines, Receipt lines, Shipping addresses, Third Parties (+list), Contacts (+list)

Changed

  • StickyLabels becomes Ancode PDF Printer
  • Creation of any type of document (not just labels)
  • Sheet management moved to module settings
  • Replaced tabs with a «Print» action button
  • Compatibility from Dolibarr 6 to Dolibarr 19