A very simple application to print only CTMR labels using the Zebra printer at CTMR.
- Zebra icon by Freepik from www.flaticon.com. Used under the Flaticon basic license.
- Bacteria artwork by Ina Schuppe Koistinen. Used with permission.
The application runs in Python 2.7 with
Gooey (used for the simple GUI). It is
possible to run the application without GUI in pure command-line mode with
just a simple modification of the source code. Just edit the code and comment
the @Gooey
decorator line on line 21 in print_cmtr_labels.py
.
The Zebra label printer is model ZT230 and uses the ZPL language for rendering
barcodes. A handy viewer for this language can be found here.
Documentation for the language used to code the barcodes can be found here.
large_box.py
has a commented barcode which may be used as a reference.
The Zebra printer is now connected to the printer computer using a USB network card (StarTech USB
2.0 to 10/100Mpbs Fast Ethernet Network Adapter Dongle, Part # USB2100). The network adapter's
IPV4 configuration has been set to 169.254.133.162
/255.255.0.0
(IP address/hostmask).
The Zebra label printer should be automatically connected, and the network LED icon should be
lit green.
The network settings of the Zebra printer should be set to "PERMANENT", and the IP address
169.254.133.1
and hostmask 255.255.0.0
(same as the computer).
The gateway can be left as 0.0.0.0
. After setting these,
then the network settings should be "RESET" to save this configuration.