title: PHP script to calculate code128
body: <p>All over the web I can find examples how to generate bar code images using php.</p>
  
  <p>However I need function which will transform string into code128 value so that I can use it in OpenOffice and Word, format it using code128 font and get real bar code.</p>
  
  <p>Although theoretically I could code it myself I believe there are already good and tested solutions.</p>
  
  <p>More precisely: I need script which would turn: "3870639399632" into "ÍFf_}Ç_È2yÎ".</p>