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.

...

13. In Rinkwavu, we have overwritten a couple of core openmrs text properties.  To do this, in your OpenMRS runtime properties file, add the following line:   custom.messages=<<path>>/custom_messages.properties, where you set the <<path>> to wherever you want to create a custom_messages.properties file.  Then in the custom_messages file, add the following lines:

...

PersonName.givenName=Christian

...

Name

...


PersonName.familyName=Kinyarwanda

...

Name

...


Person.name=Name

...

(Christian

...

name,

...

KINYARWANDA

...

name)

...

Instructions: Touchscreen Client

...

    Plug the printer into USB port
    Create a two-line file barcodeprint.sh:  
    

...

...

#

...

!/bin/sh

...


cat

...

$1

...

>

...

/dev/usb/lp0

...

    When Firefox asks which program to open barCode.epl with, pick barcodeprint.sh

...

6. here are the file contents (fill this in with your local settings):

...

#

...

!

...

/bin/sh

...

-e

...

tar -xvf

...

/home/<<username>>/<<tarfile

...

name>>

...

--overwrite

...

--absolute-names

...

--preserve-permissions

...

--directory

...

/home/<<username>>/.mozilla/firefox

...

exit 0 

7. finally, to add the init.d script you've just created to the right run levels, type:   update-rc.d <<firefox reset script name>> defaults

...