with barcodes on for asset tracking :-)
http://the-gay-bar.com/index.php?/archives/221-Howto-generate-barcodes-in-Python-with-reportlab/
Chris
--
Simplistix - Content Management, Batch Processing Python Consulting
- http://www.simplistix.co.uk
--
http://mail.python.org/mailman/listinfo/python
a keyboard wedge or serial port.
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
digits as an index into byte-strings of MX-80 codes.
I've recently downloaded the 4-state spec from USPS... That thing is
obscene... At least Postnet could be decoded visually with a simple
chart. 4-state distributes bits all over!
well the code in reportlab/graphics/barcodes that deals
Dennis Lee Bieber [EMAIL PROTECTED] writes:
On 04 Dec 2006 12:41:59 +, [EMAIL PROTECTED] (John J. Lee) declaimed the
following in comp.lang.python:
digits, through complicated encodings (my colleague Robin tells me US
postal bar codes were a particular pain), up to funny-looking 2D
Andy Dingley [EMAIL PROTECTED] writes:
Burhan wrote:
Is there an easy way to generate barcodes using Python
Easy way for any application or language to generate barcodes is to
install a barcode font on the client machine, then just generate a
suitable text string
Burhan wrote:
Hello Group:
I am in the planning stages of an application that will be accessed
over the web, and one of the ideas is to print a barcode that is
generated when the user creates a record. The application is to track
paperwork/items and uses barcodes to easily identify which
Burhan wrote:
Is there an easy way to generate barcodes using Python -- considering
the application will be printing to a printer at the client's machine?
here are some barcode generators for Python:
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/426069
http://www.cgpp.com/bookland
Burhan wrote:
Is there an easy way to generate barcodes using Python
Easy way for any application or language to generate barcodes is to
install a barcode font on the client machine, then just generate a
suitable text string for it. This is _very_ easy, if you can get the
font deployed. I
Andy Dingley wrote:
Burhan wrote:
Is there an easy way to generate barcodes using Python
Easy way for any application or language to generate barcodes is to
install a barcode font on the client machine, then just generate a
suitable text string for it. This is _very_ easy, if you can
Hello Group:
I am in the planning stages of an application that will be accessed
over the web, and one of the ideas is to print a barcode that is
generated when the user creates a record. The application is to track
paperwork/items and uses barcodes to easily identify which paper/item
belongs
That looks cleaner than mine. I had to do this -
# Register the barcode true-type-font
# Don't want to push the font out to everyone in the office...
from reportlab.pdfbase import pdfmetrics
from reportlab.pdfbase.ttfonts import TTFont
pdfmetrics.registerFont( TTFont( 'barcode',
Damjan,
Code39 here refers to part of the Barcode Extensions available to
Reportlabs. It can be imported as such
from reportlab.extensions.barcode import code39
Josh
--
http://mail.python.org/mailman/listinfo/python-list
Josh wrote:
I need someone to explain to me how to output a Code39 barcode to a
Reportlab PDF.
This may not help you directly, but I've made use of it in the past: a
very nice and totally free 3 of 9 TrueType font.
http://www.barcodesinc.com/free-barcode-font/
--
Benji
--
Benji,
I have used those very same fonts before and they work great, but I'm
trying to get away with using straight Python to accomplish this,
especially since the program will most likely be used on both Linux and
Windows.
Josh
--
http://mail.python.org/mailman/listinfo/python-list
One of the users on the Reportlabs mailing list was kinda enough to
offer me the solution.. A simple call to the drawOn function, e.g.:
bc = code39.Standard39(123,xdim = .015*inch)
x = 6*inch
y = -5*inch
bc.drawOn(canvas,x,y)
--
http://mail.python.org/mailman/listinfo/python-list
One of the users on the Reportlabs mailing list was kinda enough to
offer me the solution.. A simple call to the drawOn function, e.g.:
bc = code39.Standard39(123,xdim = .015*inch)
whats code39 in this example?
x = 6*inch
y = -5*inch
bc.drawOn(canvas,x,y)
--
damjan
--
Hi All,
I need someone to explain to me how to output a Code39 barcode to a
Reportlab PDF. As far as I can tell, there is no means to do this with
the Canvas object, and the demo that is included with the libraries is
using the platypus Frame to place the barcode on the form. I do not
wish to use
17 matches
Mail list logo