There are several barcode formats. Some of them are simple, and some can become very complex. One of the easiest to use if it suits your application is 3 out of 9 barcodes. It does not compress and has a 1 to 1 ratio with barcode characters. There are two options for this, only a numerical and advanced set that includes alpha. I will continue to consider that you can use this format. (From your sample code, this seems to be what you are using). For the simplest implementation, stick to numerical data only. Then you will need only eleven characters (0-9 and astriisk). Look at the definition of an existing font 3 of 9. (For non-commercial use, find a font called FREE3OF9. You can use it as a base for your application ...)
Further, the tedious part is more work ahead of you, but is displayed in almost any browser. If you cannot find any online, collapse the GIF image (or BMP or PNG) for each char. (Remember, to include the correct free space on the right side of char to separate it from the next char in the line!). It should be only one pixel. When it's time to display the barcode, connect the characters together as <IMG> that are next to each other. 3 out of 9 requires that the characters in the barcode be surrounded or wrapped with astrisk (this is like the astric in the font FREE3OF9) at each end. Set the height of the <IMG> high enough to fit your printout.
Thus, the client does not need to install fonts, but most barcode decoders can read the received graphic file.
Your example ( *574656* ) might look like this: 574656 http://img390.imageshack.us/img390/9168/574656vx9.png
(well, not exactly like that - it's solid graphics, not a composition of several built-in graphic images, but you get the idea)
Individual digital graphics look like this: (although they have not yet been "cleared")
* 
0 0 http://img390.imageshack.us/img390/9618/3o9bc_0.png
1 1 http://img390.imageshack.us/img390/4474/3o9bc_1.png
2 2 http://img390.imageshack.us/img390/4571/3o9bc_2.png
3 3 http://img390.imageshack.us/img390/4702/3o9bc_3.png
4 4 http://img390.imageshack.us/img390/8272/3o9bc_4.png
5 5 http://img390.imageshack.us/img390/9127/3o9bc_5.png
6 6 http://img390.imageshack.us/img390/3672/3o9bc_6.png
7 7 http://img390.imageshack.us/img390/7348/3o9bc_7.png
8 8 http://img390.imageshack.us/img390/2807/3o9bc_8.png
9 9 http://img390.imageshack.us/img390/2862/3o9bc_9.png
and code changes might look like this:
<html> <head> <title>Barcode Font Test</title> </head> <body> <img src="3o9cb_ast.png" alt="*"/> <img src="3o9cb_5.png" alt="5"/> <img src="3o9cb_7.png" alt="7"/> <img src="3o9cb_4.png" alt="4"/> <img src="3o9cb_6.png" alt="6"/> <img src="3o9cb_5.png" alt="5"/> <img src="3o9cb_6.png" alt="6"/> <img src="3o9cb_ast.png" alt="*"/> </body> </html>
I used SearchFreeFonts.com as a resource to update my memory about how 3 out of 9 barcode characters are formatted. This graphic is originally located on this site.