Skip to main content

Integrating Next Plus with Label Printing Apps

Written by Eli Gimelraikh
Updated this week

Introduction

Next Plus can be integrated with a variety of label printing applications to automate and streamline barcode label generation within manufacturing and logistics processes.

This article presents a case study of integration with BarTender, a widely used barcode label design and printing software. While the specific technical examples provided here relate to BarTender, the same principles and integration flow can be applied to other label printing applications as well.

What is BarTender and Why Integrate with Next Plus?

Integrating Next Plus with label printing apps (such as BarTender) enables automatic generation and printing of barcode labels directly from production processes.

  • BarTender is a professional barcode label design and printing software used across manufacturing, logistics, healthcare, and retail.

  • Next Plus manages manufacturing workflows, production data, and reporting.

The integration allows data to flow seamlessly from Next Plus into the label printing applications. Typical data points include Part Numbers, Serial Numbers, Work Order Numbers, and other production-specific values.

In the label printing apps, this data can be:

  • Printed directly on the label (e.g., text fields like part numbers or work order references).

  • Encoded into barcodes or QR codes for scanning and traceability.

It is important to note that the barcode encoding and formatting are configured within the label printing application itself (e.g., BarTender), while Next Plus serves as the source of structured production data.

Requirements for Integration

Technical Components

  • Label printing software installed on a server with access to printers

  • Configuration Builder capabilities

  • A script or middleware to handle data transformation (e.g., JSON ➝ BTXML for BarTender).

  • Network connection availability between the Next Plus servers and the printing software.

  • Integration service configured in the label printing app to listen for data files or API calls.


Next Plus Configuration

Introduction

This guide walks you through creating webhooks, designing forms, and automating triggers for seamless printing operations

Bartender In-Depth integration Process


✅ Integration Checklist (Next Plus → BarTender)

Download the attachment and extract it, you'll get all the necessary items for the configuration

Prepare the following:

Next Plus

  • A Form with:

    • Printer field (string)

    • Label template field (string / path)

  • A Post-save Webhook Trigger configured on the Form.

BarTender Server

  • BarTender Integration Service installed and running.

  • webhook.btin deployed (Web Request Integration).

  • file watcher.btin deployed (File Trigger Integration).

  • extract.ps1 placed in C:\nextplus_print\extract.ps1.

  • Folder structure:

    • C:\nextplus_print\jobs (read/write for service account)

    • A path to the labels folder (UNC or local).

Configuration

  • Update field GUIDs in extract.ps1 to match your actual Form.

  • Set $btwPathPrefix to your label folder (UNC path recommended).

  • Ensure BarTender can access printers + label format files.

  • Test with a sample Form submission.


📝 In-Depth How Next Plus Prints Labels Through BarTender

Below is the simplified flow from a user filling out a form in Next Plus to a printed label on the shop floor.

1. User fills a Form in Next Plus

The operator opens a Form inside Next Plus and provides:

  • Target printer

  • Label template name/path

  • Stock serial or production data

  • Any additional fields required for the label

This Form acts as the data source for BarTender.


2. Next Plus sends a Webhook

When the Form is saved, the Post-save trigger sends a JSON payload to BarTender:

  • Selected printer

  • Label template

  • All other Form fields

BarTender’s Web Request Integration (configured via webhook.btin) receives this POST.


3. BarTender Integration stores the JSON and runs a script

webhook.btin:

  1. Saves the JSON request to C:\nextplus_print\data.json

  2. Calls the PowerShell script extract.ps1

extract.ps1 then:

  • Parses the JSON

  • Extracts required fields

  • Builds the full path to the .btw template

  • Generates a BTXML print file for BarTender

  • Drops the file into C:\nextplus_print\jobs

  • Creates a .done file next to it

This BTXML file contains:

  • The printer name

  • The label template path

  • Substring values (stockSerial, etc.)


4. BarTender detects the BTXML print job

The File Trigger Integration (file watcher.btin) continuously monitors:

C:\nextplus_print\jobs

When a .xml + .done pair appears, BarTender:

  1. Reads the BTXML

  2. Loads the .btw label file

  3. Sends the print job to the correct printer


5. Label is printed

BarTender executes the print in real time with the exact content coming from the Next Plus form data.

This ensures:

  • Fully automated flow

  • No manual handling

  • Consistent label formatting

  • Traceability from the production workflow to the printed output


⚙️ Configuration Details

Use this section for deeper setup steps when deploying.


1. Set up Webhook in Next Plus

  • Name: Printing app integration

  • URL: <BarTender Integration endpoint>
    Example:

    http://<bartender-host>/Integration/nextplus_webhook/Execute
  • Model: FormData

  • Events: Create

Notes:

  • webhook.btin writes this body to data.json.

  • The URL path must match the path inside the Integration Builder project.


2. Trigger the webhook from the Form

Inside the Form editor:

  • Add a Post-save Trigger

  • Select “printing app integration”


3. Form Requirements

Mandatory

  • Device Link: ON

  • Printer field: Windows printer name

  • Label field: Template filename/path in BarTender (e.g., ProductA/Label123)

  • .btw extension is optional – script will add it.

Important

extract.ps1 expects:

  • One field ID for the printer

  • One field ID for the label

These GUIDs must be updated to match your actual form.


4. How the BarTender webhook integration works

webhook.btin does:

  • Accept HTTP POST from Next Plus

  • Save JSON → C:\nextplus_print\data.json

  • Execute → C:\nextplus_print\extract.ps1

extract.ps1 does:

  • Read + parse JSON

  • Extract printer, label, stockSerial

  • Normalize label paths

  • Build full .btw path using $btwPathPrefix

  • Create BTXML file under:

    C:\nextplus_print\jobs\<guid>.xml
  • Create corresponding .done

  • Delete data.json


5. File watcher integration (printing)

file watcher.btin:

  • Watches C:\nextplus_print\jobs

  • Detects new BTXML files + .done

  • Sends them into BarTender Engine

  • Runs print job with correct printer + label


✔ Deployment Checklist (Detailed)

1. Create the Required Folder Structure

Create the following folders on the BarTender server:

C:\nextplus_print
C:\nextplus_print\jobs

These folders are used for communication between Next Plus and BarTender.

Folder

Purpose

C:\nextplus_print

Integration working directory

C:\nextplus_print\data.json

Temporary webhook data file

C:\nextplus_print\jobs

Queue for BTXML print jobs

Important:

The BarTender Integration Service account must have read and write permissions to these folders.


2. Place the Integration Files

Copy the integration files to the following location:

C:\nextplus_print\

The folder should contain:

C:\nextplus_print\webhook.btin
C:\nextplus_print\file watcher.btin
C:\nextplus_print\extract.ps1

3. Deploy the Integrations in BarTender

Open BarTender Integration Builder.

Deploy the webhook integration

Open:

C:\nextplus_print\webhook.btin

Click:

Deploy Integration

Select:

This Computer

Start the integration.


Deploy the file watcher integration

Open:

C:\nextplus_print\file watcher.btin

Click:

Deploy Integration

Select:

This Computer

Start the integration.


4. Verify the Label Templates Directory

The script references the following label directory:

\\PRINTSERVER\BarTender\Labels

This folder must contain all .btw label templates.

Example structure:

\\PRINTSERVER\BarTender\Labels\440-0051.btw
\\PRINTSERVER\BarTender\Labels\ProjectA\440-0051.btw

If your labels are stored in a different location, update the path in:

C:\nextplus_print\extract.ps1

Example change:

$btwPathPrefix = "\\MyLabelServer\BarTender\Labels"

5. Configure the Next Plus Webhook

In the Next Plus form, configure the webhook trigger to send requests to the BarTender server.


6. Verify Printer Names

The printer selected in the Next Plus form must match the Windows printer name installed on the BarTender server.

Example:

Zebra_Label_Printer_01

BarTender will send the print job to the printer specified in the form.


7. Test the Integration

Submit a test form in Next Plus.

The following sequence should occur:

  1. Next Plus sends the webhook

  2. data.json is created

C:\nextplus_print\data.json
  1. The PowerShell script runs

  2. A BTXML file is created

C:\nextplus_print\jobs\<random>.xml
  1. A .done file appears

  2. BarTender prints the label

Did this answer your question?