The bar code plug-in is required in the project.
The requirement is relatively simple. Generate a bar code Image Based on a 12-digit number.
Google's zxing has been used for a long time. Due to its powerful functions, simple calls, and a lot of information on the Internet
Later I found that zxing has a disadvantage --Text cannot be displayed
So I want to change the bar code plug-in.
I searched for the following plug-ins on the Internet:
1. zxing (previously implemented, with unsatisfactory results)
2. barcode4j
3. jbarcode
4,Barbecue
After comparison, no choice is made.Barcode4j is not selected either.Barbecue
Instead, the lightweight jbarcode plug-in is used (only one jar package is required ),Functions and features are as follows:
A. Supports most bar codes.
B. Configure the column width, height, and width/width ratio.
C. Calculate the checkpoint
D. Print (or not) Text
E. Print (or not) the checkpoint.
F. graphical user interface displayed
UseThe effect of the jbarcode plug-in is as follows:
The results are still satisfactory.
However,Jbarcode plug-ins also have deficiencies, that is, there is little information