Click here to Skip to main content
15,444,490 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to print barcode using code 128.
For Free 3 of 9 and barcode 39 i use * as start and stop character
e.g. to create barcode of 12345 i use *12345* but how to print code 128 barcode ??
i am printing from notepad only.
Posted
Comments
Richard MacCutchan 30-Jan-16 4:41am    
You can use one of the many free barcode fonts that Google will find for you.
Madhuri Gamane 30-Jan-16 7:34am    
I want compress one, so i think code 128 is best for that
Richard MacCutchan 30-Jan-16 7:51am    
Indeed, but I have no idea what you are talking about. If you have a technical problem then please edit your question and add some proper details.
Sascha Lefèvre 30-Jan-16 8:50am    
It makes sense if he knows about Code 39 and assumes Code 128 would work in a similar way.
Richard MacCutchan 30-Jan-16 9:20am    
Which is most likely the issue. It is just another example of "programming by guesswork".

1 solution

Code 128 doesn't work like Code 39. It doesn't have just one but three different start codes, depending on the desired character set (Code 128A, 128B, 128C). It has a mandatory checksum character, so you can't ad-hoc type it manually like Code 39. So a generator-software is pretty much required.

For more detail please take a look here: Code 128 - Wikipedia, the free encyclopedia[^]
Here: Drawing Barcodes in Windows Part 5 - Code 128[^]
And here: code 128 - Google Search[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900