Create documents with barcodes from template

In this article, we’ll walk you through automatically creating packing slips with barcodes using Plumsail Documents Processes.

Configure a Plumsail Process

Sign in to your Plumsail account and navigate to Documents → Processes.

Documents interface

Click Add process. You will see two available options:

  • Start from template

  • Start from blank

There are some pre-built templates available. To select one, click ‘Start from template’. For our scenario, we’ll choose the Packing slip template.

Packing slip template

Give your process a name and click Next.

Name and Edit Your Process

You can edit the selected template or upload a new one. The Packing Slip template includes a CODE128 barcode, but feel free to change it if needed using this format:

{{#barcode barcode CODE128 200 100}}

Check out this article for more barcode examples.

Generate packaging slip

Enter your desired output filename and choose the file type. You can use tokens like {{@date}} in the filename. Other tokens, such as OrderNumber, can be used in the processes settings as well.

Set Output Filename and Type

Next, select the delivery method. There are various options available. For this example, let’s choose the “Email” delivery.

Choose Delivery Method

We’ll use the following settings for our email delivery:

Email delivery

You can now open the default form to fill in the necessary fields.

Generate packaging slip

This form pulls data from your template and auto-populates the fields.

Generate packaging slip

This is the result file:

Final Output

In a real-world scenario, you would typically pull data automatically from a CRM system rather than entering it manually. Plumsail Documents can integrate with over 2,000 services <https://plumsail.com/documents/integrations/>, allowing seamless data input for your templates.