3 Replies Latest reply on Jul 31, 2018 12:26 PM by Jim Crocco

    Sending ZPL on USB

    Isaac Nickaein



      Our ZM400 is connected to the PC using the USB port. I am looking for a way to send ZPL commands from an C++ application to the printer for printing labels.


      In this thread (How to Print ZPL or CPCL codes directly vis USB), WinSpool is recommended (OpenPrinter, StartDocPrinter, StartPagePrinter, etc), but I am not sure how they can be used to send raw ZPL commands.


      We highly prefer to use ZPL instead of generating the images for printing by regular windows API as our application is capable of generating ZPL command for our different various label templates.