• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to use PDFBox to print Barcode?

 
Ranch Hand
Posts: 494
Eclipse IDE Postgres Database Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear All,

Is there anyone who have successfully used PDFBox to display Barcode?
Do you mind if you share your experience regarding this?
I've just started using PDFBox, and i don't know how to start with to display Barcode using PDFBox.

Any help will be really appreciated.

Thanks in advance
Best regards,

Leonardo Carreira
 
Saloon Keeper
Posts: 7597
177
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I don't think PDFBox has any facilities to generate PDFs containing barcodes; iText does.
 
Leonardo Carreira
Ranch Hand
Posts: 494
Eclipse IDE Postgres Database Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Tim,

Thanks for your thoughtful advice.
After reading PDFBox documentation, finally, i have successfully used PDFBox to display Barcode.
The easiest way for doing this in Windows platform is by copying Barcode Fonts (.TTF) to Windows/Fonts, and then use the Font using PDFont class.

Best regards,

Leonardo Carreira
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic