Backstep to RS-232 (for now)
ASCII 9600,N,*,1
We have been using those syle of printers with Micrologix, and CompactLogix for several years.
The printer only has Ethernet conectivity for a PC based application where the PC has a "driver" installed.
That printer also has an "old-school" D-Sub 9, RS-232 ASCII 9600,N,8,1 port.
Find some enconomical port from your CompactLogix, and use ASCII string writes out to a serial port to get your printer to make labels. If you are determined to use ethernet, then put a RTA ASCII Gateway in where the RTA polls a string in the compact logix via Ethernet, and reforms to ASCII to serial to the printer.
The strings in the PLC look like:
^XA (Start Label)
~SD20 (Set Print darkness to 20)
^FO110,50 (Field Origin 110,50)
^ADN (Set Font to D with normal orientation)
^FDYour Text here (Field Data -- actully will print "Your Test Here"
^XZ (end label and print)
There is ready information from Zebra on ZPL or EPL ASCII commands to generate labels with barcodes, and human readable text.
It is a slow start, but once you get your first label, you will be "off to the races", and subsequent projects will fall into line rapidly.