It seems you are trying to print using ZPL language while your printer is using CPCL language by default.
You need to set ZPL as page description language for your printer as it explained in Best Practices For Printing document.
Software Engineer, Kutir Mobility
Posted on behalf of Zebra Technologies
You answered the question very well, and I thank you very much.