File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes Barcode4j - how to customize human readable text? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Barcode4j - how to customize human readable text?" Watch "Barcode4j - how to customize human readable text?" New topic
Author

Barcode4j - how to customize human readable text?

Priti Chawla
Greenhorn

Joined: Oct 02, 2007
Posts: 6
Dear All,

I'm using Barcode4j's generate method in XSLT to generate barcodes on customer receipts (PDF format). There is a requirement to customize the human readable text displayed just below the barcode image. The text needs to be enclosed within "*" and should have some letter spacing specified in mm. Can somebody please guide how to achieve this or even better demonstrate with the sample code?

I was also looking at a workaround if somehow we can suppress the text altogether and add the custom text in its place? I've again no clue how to suppress the displayed text. (found some HRP_NONE field of HumanReadableElement which can do that but really not sure how to use this in XSLT) Any ideas in this regard are greatly appreciated.

Thanks,
Mike
 
Consider Paul's rocket mass heater.
 
subject: Barcode4j - how to customize human readable text?