FastZPL

ZPL Code 128 barcode example

Preview an editable Code 128 barcode written with Zebra ZPL.

Preview sends your code to Labelary to render the first label.

Label preview

Your rendered label will appear here.

Edit the example, then click Preview label to render your changes.

How to use this tool

Change the barcode value

Edit ABC123456 in the ^FD field. Code 128 is useful for internal alphanumeric item and serial identifiers.

Control barcode size

^BY2 sets the module width to two dots. ^BCN,95,Y,N,N sets normal orientation, 95-dot bar height and human-readable text below. Allow room for quiet zones on both sides.

Check the result on real stock

Previewing helps identify clipping, but scan a printed sample with your intended scanner to check print contrast and barcode readability.

Related ZPL tools and guides

ZPL command reference: Zebra documentation. Rendering: Labelary API.