I love this API, but I want to use a barcode field on the page. How can I update the barcode field?
There's no such thing as a "barcode field" in PDF, so i can't tell you how to "update".
Can you clarify your problem? If you want to create a visible barcode, you have different options, e.g.
- Add a barcode on the page content stream (plain drawing or using an image)
- Add an ordinary text field with a barcode font
- Add an annotation where the content stream draws a barcode (plain drawing or using an image)
You can use https://github.com/zxing/zxing together with jpod to create barcodes.
This sounds good. Feel free to donate a snippet that we will include in the examples.