Question: how to generate zpl code from zebradesigner?
Answer: Go to Printer Properties. Click on the Ports tab. Click Add Port. Select Local Port and click New port. Enter a filename e.g. C:\output.zpl. Make sure it is checked in the ports list. Now all printing output should go to C:\output.zpl.