This is an old revision of the document!
Label printer installation
We recommend Zebra GK420 TT printers with a network port. You may use other printers that support the ZPL printing language (or EPL if using mSupply 3.2 or earlier), but we can not provide much support for these models as we have not used them ourselves.
Setup
- Load the printer with ribbon and labels.
- Turn on
- Plug in network cable.
- By default the printer is set to obtain an address by DHCP. Assuming you have a DHCP server on your network: press the button on the front and hold until it flashes once, then release the button. A configuration label will print. Note the IP address. If the printout is the wrong width and unreadable, see “Setting label width” below
- You may also be able to get the IP address from the list of DHCP leases when logged in to your router (e.g. for pFsense: Status > DHCP )
- There are now 2 options for setting a static address
- (Preferred method): Configure your DHCP server to assign a static address to the printer. Note that after doing this, you may have to turn the printer off and back on to get the new address from the DHCP server.
- Alternative: Assign a static address on the printer itself. The default static address for the printer is 192.168.254.254.
- You can now log on to the printer using it's current IP address http://printer_ip_address where
printer_ip_address
is the current printer's ip address. - Go to “Print Server Settings”, then click “Print Server” and log in
- user: admin
- pass: 1234
- Go to “TCP/IP Configuration” and set an IP address that is not within a range controlled by DHCP (Ping it to ensure it is not already assigned)
- Set the IP Protocol to “Permanent”, and submit
- Reset the printer (you can do this from the web interface)
- Ping the IP address you have set to ensure the printer has the right address
- Finally, tell mSupply about the printer: see Printing Preferences for instructions on doing that.
Setting label width
Note that you do not have to do this to get the right width when printing from mSupply. This is only for viewing a configuration label before using mSupply:
Hold down the button on the front of the printer - it will flash once, then twice, then three times, then four times, then five times: immediately release the button. Labels will print with a box that gets wider with each one: press the button again when the box is the width of the label. If needed, you can use the “one flash” sequence above to print out the IP address and other information once you have the printer detecting the label width correctly.
Flash sequences for the GK420
The following flash sequences occur in order by holding down the front button (“3” means you hold the button and it flashes once, then twice, then three times, and you immediately release the button for that action to be performed)
- Print status
- Media callibration: use to make the printer detect the length of the labels you're using
- Serial port config: not needed
- Factory defaults: Sets everything back to default settings
- Print width adjustment (above)
- Manual media calibration (you most likely don't need this)
Previous: Set Start of Year Stock Next: The Log