Wiki Spaces

Documentation
Projects
Resources

Get Help from Others

Q&A: Ask OpenMRS
Discussion: OpenMRS Talk
Real-Time: IRC Chat | Slack

Documentation

Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

1. Make sure the printer power is off and that the stickers and ribbon are loaded. 
2. Press and hold the feed button then turn on the printer power. 
3. Continue to hold the feed button until the status light LED flashes. 
Release the feed button. 
4. The printer will set the media sensor for the label backing being used. 
After the printer is done making this adjustment, the roll will 
automatically feed until a label is positioned at the print head. 
5. The configuration settings will print. Upon completion, the printer will save the new settings in memory and 
remain in diagnostic dump mode. 
6. Press the feed button on more time. The printer will dispense another label with the 
message "Out of DUMP" and be ready for normal operation.

How does the barcode printing work:

1.  Barcode printing works as follows:  when you click Print Barcode in the OpenMRS application, OpenMRS generates an .epl file that contains EPL2-language instructions that are to be interpreted by the printer.  What you do is then configure firefox to automatically open the file with barcodeprint.sh.  The barcodeprint.sh file is basically just a three line command file that routes the epl instructions to the printer device, which on Ubuntu should be /dev/usb/lp0 (see the code of barcodeprint.sh above).  Then, the printer should execute the instructions.  For more information on the EPL2 language, just do a google search for 'Zebra EPL2 Programmer's Manual'.