PHP script to calculate code128

Milan picture Milan · Jul 20, 2012 · Viewed 18k times · Source

All over the web I can find examples how to generate bar code images using php.

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.

Although theoretically I could code it myself I believe there are already good and tested solutions.

More precisely: I need script which would turn: "3870639399632" into "ÍFf_}Ç_È2yÎ".