title: ZPL Loop function
body: <p>I'm looking for any idea can help to setup a ZPL label using a loop function to gather the information from SQL Table and print them on a label</p>
  <p>I have a Table in SQL DB has those fields
  Product
  QTY
  ORDER_NR</p>
  <p>for example:</p>
  <p>I have the order 111022 has 3 items lines</p>
  <ul>
  <li>50023</li>
  <li>50037</li>
  <li>50099</li>
  </ul>
  <p>And I want to create a label using the ZPL code with a loop functions so the all items ordered will be printed on that label</p>
  <p>Order : 111022</p>
  <ul>
  <li>Item : 50023 - QTY = 7</li>
  <li>Item : 50037 - QTY = 5</li>
  <li>Item : 50099 - QTY = 2</li>
  </ul>
  <p>Thank you,</p>