Wiki Spaces


Get Help from Others

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


Page tree

Versions Compared


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


Printer can't recognize the break between stickers OR the printer doesn't recognize the correct size HEIGHT of my stickers:

Here's the auto-sense printer startup routine:

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 do I tell the printer the width of my barcode labels?

For the Zebra TLP2844, the dpi (or print resolution) is 203, meaning that there are 203 dots in an inch.  Our new label width is 2 inches, meaning that we needed to tell the printer that the media width is 406. The strategy that we used was to send EPL directly to the printer.  This is pretty easy.  All you need to do is login as someone with rights to the lp group in /etc/group, and then type the following command at the command line:

echo q406 >> /dev/usb/lp0

What this does is send the 'q' command (the EPL command to set the label width) to the printer, which is located at lp0.  the '406' argument is the 406 dot length that corresponds to the 2 inch width of our stickers.  After doing this, it is a good idea to then do the 'autosense' routine above, so the printer auto-detects the label height and the break between stickers.

How does the barcode printing work: