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 pos
So, to emulate ZPL printer on your mac (possibly windows too):
Port can vary. Double-check it.
To test it, try in your terminal:
lp -o "raw" -q1 -d zpl <<< "CT~~CD,~CC^~CT~^XA~TA000~JSN^LT0^MNW^MTT^PON^PMN^LH0,0^JMA^PR6,6~SD15^JUS^LRN^CI0^XZ^XA^MMT^PW508^LL0203^LS0^BY4,3,138^FT48,155^BCN,,Y,N^FD>;12^FS^PQ1,0,1,Y^XZ"
If everything tuned properly, in ZPL printer you will see: