如何在Java中生成多个条形码? [英] How to generate multiple barcodes in java?

查看:499
本文介绍了如何在Java中生成多个条形码?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个窗口表单,我有一个textField1(book_id),textField2(份数)和一个生成按钮.现在,我想根据用户输入的份数生成条形码,并且用户输入的book_id也将增加.

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.

示例:我在book_id中输入了2000,副本数为2,所以当我单击生成"按钮时,它将为我提供2个条形码,第一个条形码的book_id为2000,第二个条形码的2001.

我希望收到你的来信.

推荐答案

只是一种字体类型,您无需生成它. 如果您想将ID打印为条形码,则只需在打印前在文档中选择条形码字体类型Name(名称)即可. 在Google中查找一些条形码

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

这篇关于如何在Java中生成多个条形码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆