A C#/.NET library to generate barcode images.
LinearBarcode newBarcode = new LinearBarcode("SomeValue", Symbology.Code128BAC)
{
Encoder =
{
Dpi = 300,
BarcodeHeight = 200
}
};
-
Supported Symbologies
- Code128 (Subsets A,B & C)
- Code39 (Standard & Full ASCII)
- GS1-128
- EAN-13
- EAN-8
- UPC-A
- Interleaved 2 of 5
-
Human Readable Label
- Discrete Text
newBarcode.Encoder.HumanReadableValue = "S O M E V A L U E";
- Placement
newBarcode.Encoder.SetHumanReadablePosition("Above");
- Font
newBarcode.Encoder.SetHumanReadableFont("Arial", 8);
-
Match X Dimension (narrow bar) to desired width
newBarcode.TargetWidth = 400;
-
Show encoding characters
newBarcode.Encoder.ShowEncoding = true;
-
Output to ZPL string
string zplString = newBarcode.ZplEncode;
-
Include quietzone
newBarcode.Encoder.Quietzone = true;
Website: https://barcoded.online/ provides a web UI that utilises the Barcoded library. Registration is required to support emailing of generated barcodes.