100% Standards Compliant
CommStudio provides a 100% accurate implementation of industry-standard barcode specifications.
Bar codes generated by CommStudio are completely device independent and can work in any resolution on a wide variety of printers. CommStudio supports all popular linear and 2D barcode encodings:
| PDF 417 | DataMatrix | Codabar | Code 39 and 93 | Code 128 |
| EAN 8 and 13 | Interleaved 2 of 5 | MSI Plessey | PostNet | UPC A and E |
Code 128 Barcodes
Code 128 is a linear barcode symbology originally developed by Robotic Vision Systems, Inc.
There are three variations: Code 128A, 128B, and 128C. Code 128A has the ability to encode control characters. 128B only encodes alpha characters, and 128C is a high-density symbology used to encode numbers only.
C# Sample Code
void DrawCode128(string text, Graphics g, Rectangle rect)
{
Barcode bc = new CommStudio.Barcodes.Barcode(BarcodeStyle.Code128A);
bc.DisplayCaption = true;
bc.Render(text, g, rect);
}
VB.NET Sample Code
Sub DrawCode128(text As String, g As Graphics, rect As Rectangle) Dim bc As New CommStudio.Barcodes.Barcode(BarcodeStyle.Code128A) bc.DisplayCaption = True bc.Render(text, g, rect) End Sub