<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Thanks Chris,<br>
<br>
We ended up "solving" this issue by changing the harcoded value, for
now it is working but it will be interesting to see how the system
behaves after more use.<br>
<br>
<br>
On 07/10/11 15:36, Chris Nighswonger wrote:
<blockquote
cite="mid:CAP3yOomYUeQ5UCupPR6UQo8_Dp+4Co3Bt1Uqb+h3O6Z9Ze3xRw@mail.gmail.com"
type="cite">
<div class="gmail_quote">On Thu, Oct 6, 2011 at 7:20 PM, Richard
Hills - TechnologyWise <span dir="ltr"><<a
moz-do-not-send="true" href="mailto:richard@tw.co.nz">richard@tw.co.nz</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
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>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Richard Hills
TechnologyWise Ltd, Tauranga, NZ
<a class="moz-txt-link-abbreviated" href="mailto:richard@tw.co.nz">richard@tw.co.nz</a>
<a class="moz-txt-link-abbreviated" href="http://www.technologywise.co.nz">www.technologywise.co.nz</a>
ph: +64 (0)7 571 1060
fax: +64 (0)7 571 1061</pre>
</body>
</html>