Developers

Built for the people who wire it in.

Small, typed surfaces and predictable behavior. The same label, rendered or printed, from C# or over HTTP.

BarcoderX targets .NET 10. It has no .NET Framework, .NET Standard, Xamarin, Mono or UWP targets.

HTTPJSON
POST /api/v1/print-jobs
Idempotency-Key: 6b0f…
Content-Type: application/json

{ "labelSets": [
    { "template": …,
      "data":     { … },
      "copies":   2 } ],
  "onError":   "stop" }

// Data the API cannot process returns problem details:
HTTP/1.1 422 Unprocessable Content
Content-Type: application/problem+json

{ "type":    "https://…",
  "code":    "BX####",
  "title":   "…",
  "status":  422,
  "detail":  "…",
  "errors":  [ … ],
  "traceId": "…" }

Illustrative only.

01 Packages

Layers, from the bottom up.

Each layer depends only on the ones beneath it. The model and the barcode package have no references at all, so the barcode package works on its own.

What each package does
  1. Engine and printing

    • Engine
    • Rendering
    • ZPL commands
    • EPL commands
    • Printing
  2. Drawing

    • Graphics
    • Imaging
    • Fonts
    • Text
    • PDF
  3. Foundations

    • Model
    • Barcodes
    • Expressions
    • Templates
    • Data

NamesThe layer names describe what each layer does; they are not the package IDs. A single meta-package brings in the lot and registers it with dependency injection.

02 Quick start

Quick start, in outline.

Five steps from an empty project to a printed label. This is an outline: the packages are not published yet, and names and calls may change before 1.0.

Outline
  1. Add the packages

    Reference the meta-package, or only the layers you need. The barcode package works on its own.

  2. Register the printer languages

    Call the registration for ZPL, EPL or both. Nothing is scanned or registered implicitly.

    services.AddBarcoderX().AddZpl().AddEpl();
  3. Describe the label

    Build it in C# or load a JSON or XML template, then bind your data from objects, DataTable, CSV, JSON or XML.

  4. Render or export

    Lay the label out once, then produce a PNG, a PDF, an SVG or any of the other formats from that single layout.

  5. Print

    Send the printer commands over TCP, serial, the Windows spooler, CUPS or USB, or queue a job through the API for the print agent.

Illustrative only: not the final API surface.

API conventions: idempotency, errors and limits

How to send ZPL to a Zebra printer from C#

Learn ZPL: guides and a command reference

Templates and data: one label design, many labels

Native or raster printing explained

Printer languages: ZPL and EPL for developers

Under the hood

An engine built in-house.

Shipped assemblies contain only code we wrote for this project, plus the .NET platform and Microsoft first-party packages. The barcode encoders, rasterizer, fonts, PDF writer and image codecs are built from published specifications, not wrapped from another library.

Output is byte-identical on Windows x64, Linux x64 and Linux arm64.

Next step

Questions while you build?

BarcoderX is in development. Talk to the team that builds it about the API, the packages, your labels or your printers.