Java barcode plug-in

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.