Jump to content
We've recently updated our Privacy Statement, available here ×

Barcode Height


Recommended Posts

By: Darren Davis - ddavis539

Barcode Height

2004-07-10 21:33

I downloaded the last version of IReport and am pleased to see the new Barcode integration. The one problem I have with it is that the height of the barcode seems fixed to about 1 cm (when generating a pdf), and that is too short for the people I am building the report for.

 

The requirement is to have one at least 3..4 CM high on the page. Adjusting the width of the barcode field does affect the spacing within the barcode, but changing the height does nothing.

 

I'm not sure if this is a limitation in iReport, JasperReports or the Itext tool. I've looked at the source code to iReport and don't see a paramater the set the barcode height in calls into Jasper Reports.

 

Any help would be appreciated.

 

 

By: Darren Davis - ddavis539

RE: Barcode Height

2004-07-12 17:32

Thanks for the response. I looked at the barbecue source code and found two useful methods:

 

setBarHeight()

setBarWidth()

 

It would be nice to make these two properties accessible inside the barcode graphic component.

 

For now, I've modified the source code to set the property values I need when creating the 128C barcode.

 

 

 

 

 

By: Giulio Toffoli - gt78

RE: Barcode Height

2004-07-12 01:41

 

For now there is no solution, the phisical barcode height is fixed.

 

We'll provide a solution but for now the only way is to modify the class that produce the barcode image imposing a better height .

 

Giulio

 

 

 

By: Darren Davis - ddavis539

RE: Barcode Height

2005-03-24 11:18

Giulio,

 

Are you still planning on addressing the barcode height issue within iReports?

Post edited by: tcloonan, at: 2006/09/02 10:16

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...