How to generate multiple barcodes in java?

本小妞迷上赌 提交于 2019-12-25 05:29:10

问题


I have a window form and I have a textField1(book_id), textField2(number of copies) and a generate button. Now, I want to generate barcodes based on the number of copies inputted by the user, and the book_id inputted by the user will also increment.

Example: I inputted 2000 in the book_id and the number of copies is 2, so when I click generate button it will give me 2 barcodes with a book_id of 2000 for the first barcode and 2001 for the second barcode.

I'm hoping to hearing from you.


回答1:


Is just a font type you don't need to generate it. If you want to print an id as barcode you just need to select the barcode font type Name in your document before print Look up in google for some barcode



来源:https://stackoverflow.com/questions/28843106/how-to-generate-multiple-barcodes-in-java

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!