<div class="gmail_quote">On Thu, Oct 6, 2011 at 7:20 PM, Richard Hills - TechnologyWise <span dir="ltr"><<a href="mailto:richard@tw.co.nz">richard@tw.co.nz</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Hi,<br>
<br>
I am using koha to print labels with barcodes for books, however am wondering if it is possible to increase the height of the barcodes generated without increasing the width.<br>
<br>
In the last version we were working with these barcodes had a height of around 10mm for us, however this has now halved and users are finding it difficult to get used to.<br><br></blockquote><div><br>Unfortunately the current scaling code scales ultimately based on some arbitrary hard coded value. Maintaining consistency across all barcode widths with the current PDF::Reuse API is a bit challenging and would become more so by allowing the user to choose. For example, if one chose a particular size W x H, the bar width tends to become very large as the number of chars in the actual alpha-numeric barcode becomes smaller because PDF::Reuse attempts to maintain W x H. The current Koha code attempts to maintain a reasonable W x H for all possible barcodes. And it does not do even this extremely well. Try generating barcodes for '1' versus '1234567890' to see the problem.<br>

<br>This is all from my memory as its been a while since I've had a look over that code.<br><br>Kind Regards,<br>Chris<br></div></div>