<br><br><div class="gmail_quote">On Wed, Aug 19, 2009 at 9:19 AM, Ronn Ross <span dir="ltr"><<a href="mailto:ronn.ross@gmail.com">ronn.ross@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I was hoping that python would have a library to help me print my own bar codes? We will need labels in all sizes and most label printer just work with 1 or 2 sizes. I would like to just print a grid of different sizes on standard paper. Does python have a bar code printing library? <br>
<div><div></div><div class="h5">
<br><br><br><div class="gmail_quote">On Mon, Aug 17, 2009 at 4:55 PM, Tim Chase <span dir="ltr"><<a href="mailto:python.list@tim.thechases.com" target="_blank">python.list@tim.thechases.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">


My company needs a small inventory management app. Does<br>
python have any libraries to help with reading and writing<br>
bar codes?<br>
</blockquote>
<br>
I've written bar code apps and python really doesn't enter<br>
into that part of things.  Printers generally have bar code<br>
printing capabilities so you just send the right escape<br>
sequences and you get the bar codes. To read them, bar code<br>
readers scan and translate before sending the values through<br>
typically a keyboard wedge or serial port.<br>
</blockquote>
<br></div>
To add to what Emile mentions, most barcode readers present a keyboard-wedge interface, so that scanning a barcode merely appears as if you typed it at the keyboard (USB readers show up as a HID profile).  Often they'll have configuration barcodes that you can scan to tweak the profile (such as pressing <enter>, <tab> or an arrow-key after sending the barcode; controlling beep tone & volume, etc).<br>


<br>
For printing barcodes, you can use any number of solutions -- the most popular usually just involves installing a "barcode font" and then rendering text in that font to your desired output canvas.  I believe there are some native rendering solutions as well, but I've not investigated since the font method was more than sufficient for my wants.<br>


<br>
-tkc<div><div></div><div><br>
<br>
<br>
<br>
-- <br>
<a href="http://mail.python.org/mailman/listinfo/python-list" target="_blank">http://mail.python.org/mailman/listinfo/python-list</a><br>
</div></div></blockquote></div><br>
</div></div></blockquote></div>I found this library, but no documentation(<a href="https://cybernetics.hudora.biz/projects/wiki/huBarcode">https://cybernetics.hudora.biz/projects/wiki/huBarcode</a>). Has anyone used this or know of a similar library with better documentation? <br>