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.
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 doesEngine and printing
- Engine
- Rendering
- ZPL commands
- EPL commands
- Printing
Drawing
- Graphics
- Imaging
- Fonts
- Text
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.
OutlineAdd the packages
Reference the meta-package, or only the layers you need. The barcode package works on its own.
Register the printer languages
Call the registration for ZPL, EPL or both. Nothing is scanned or registered implicitly.
services.AddBarcoderX().AddZpl().AddEpl();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.
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.
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
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.