title: Print barcode with Zebra printer using Python
body: <p>I am able to print a label using the below code with a Zebra printer but I am not able to print a barcode.</p>
  
  <p>I also tried <code>^B140,10,0,PL,5,5,5,N,"12-34567-890123"</code>and inserted it after <code>^XA</code> to print the barcode, but I was not successful:</p>
  
  <pre><code>label = """
  ^XA
  
  ^FO140,15
  ^A0,40,40
  ^FD
  Total Weight : 50 KG
  ^FS
  
  ^FO140,60
  ^A0,40,40
  ^FD
  shipment_count: 34
  ^FS
  
  ^FO140,105
  ^A0,40,40
  ^FD
  HUB: DEL
  ^FS
  
  
  ^XZ
  """
  
  
  from zebra import zebra
  z = zebra('zebra_test')
  z.output(label)
  </code></pre>
  
  <p>Please help me to print a barcode for the Zebra label printer using Python and EPL.</p>