Use one of the
^Bn
commands to generate a barcode - for example,
Code 128[
^].
You can find the full details of the commands in
the ZPL programming guide[
^].
This page[
^] has a useful online ZPL viewer, if you want to see what your label will look like without printing it. The default sample even includes an example barcode.