Labels Are Cool
Whew. I just spent all day hacking on a Zebra label printer. I threw together a quick winforms app that you can check out. Or not. The worst parts were the ZPL, which is like impenetrable line noise (see below) and the crappy windows API interop stuff I had to do to print from .NET. The ZPL code I used as the basis of the labels is here:
^XA~TA0~JSO^LT0^MMT^MNW^MTD^PON^PMN^LH0,0^JMA^PR2,2^MD6^JUS^LRN^CI0^XZ
^XA^LL0253
^PW456
^BY2,3,30^FT26,78^BCN,,Y,N
^FD>:65A9D973F08E>59139^FS
^FO,34^FS
^FT11,136^A0N,28,28^FH\^FDINTEROCITOR^FS
^FO,31^FS
^FT12,236^A0N,25,24^FH\^FDDell OptiPlex GX620^FS
^FO,24^FS
^FT11,30^A0N,20,19^FH\^FDProperty of the University of Iowa College of Pharmacy^FS
^FO,31^FS
^FT12,171^A0N,25,24^FH\^FDFor Help: (319) 335-8649^FS
^FO,31^FS
^FT12,202^A0N,25,24^FH\^FDE-Mail: pharmacy-helpdesk@uiowa.edu^FS
^PQ1,0,1,Y^XZ

0 Comments:
Post a Comment
<< Home