To emulate ZPL printer on my mac I searched through internet for a few days. Finally I've got a solution to post here, so other users could find it helpful. I wanted to post my solution here Emulate Zebra printer
But "thanks" for those who decided that this question duplicates another one, which in my opinion totally false. So the only option for me is to create another question and answer to it.
Works on windows as well. Tested it on windows-10.
After installation of Chrome App (link provided by @ZuzEL) and Printer Install, open Notepad and type ZPL code, print it on this newly added printer and "voilá"!
As a @Bill request, I've added some screenshots of my windows printer properties, after install. It's a TCP/IP printer with Generic/Text Only driver, on IP 127.0.0.1 and port 9100, the defaults of chrome app.
So, to emulate ZPL printer on your mac (possibly windows too):
Port can vary. Double-check it.
To test it, try in your terminal:
If everything tuned properly, in ZPL printer you will see:
Wonderful. This test label command worked fine for me on RHEL7.3.