Barcode printing works as follows: when you click Print Barcode in the OpenMRS Touchscreen 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'. This strategy is designed to do two things: first, you don't need a driver to install the printer. barcodeprint.sh basically fulfills this function. And second, we don't want to see a popup 'print' dialogue in Firefox -- when you click the 'Print Barcode' button, you just want the printer to spit out a barcode, no questions asked.
**RPC-44 -Duplicates of parents should not be saved
**RPC-43 - Handle MoH FOSA codes with less than 3 digits correctly
**RPC-39 - NumberFormatException is thrown if age contains floating points
**RPC-38 - Print ID Barcodes For Offline Use prints <spring:message code= ...
**RPC-37 - Display only patient names in autocomplete name list
**RPC-36 - set MIME type EPL in JSP