[reportlab-users] Code39 barcode

Tim Roberts timr at probo.com
Wed Feb 13 17:51:22 EST 2008


Swank, Craig wrote:

> Hello,

> When I create a barcode with the BarcodeStandard39 standard I get an extra

> character at the end of the barcode. When I do the exact same thing with

> BarcodeCode128 it works fine. My code looks like:

>

> bc = BarcodeCode39()

> bc.value = 'somevalue'

>

> I then add the bc to a drawing. At the end, the pdf I generate has an extra

> character on each barcode. The extra characters seem to iterate throught X,

> Y , Z, ., /, $.

>

> Has anyone seen this before?

>


"Use the source, Luke". Code39 can include a check digit, and the
ReporLab version includes it by default. If you don't want that, add
checksum=0 to the constructor.

--
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.



More information about the reportlab-users mailing list