[reportlab-users] Problem with Numeric Barcodes

Robin Becker robin at reportlab.com
Tue Jun 6 10:24:11 EDT 2006

Ed Everson wrote:
> I am trying to output barcodes. Fairly simple requset, but having a major headache with numeric barcodes using Code128. If the barcode is a string or number with no more than 3 consecutive numbers then it seems to work OK and I can validate the output against other barcode tools. However, if the desired code includes 4 or more consecutive numbers I do not get a valid barcode returned. Long strings with 3 or less consecutive numbers seem to work OK.
> The code I am using is below. I am using reportlab 2.0 (downloaded 26 May). Any help will be most gratefully received. If I am using it the wrong way please tell me I am a numpty and point me in the right direction. I have not been able to find any useful documentation on the barcode bits of reportlab.
> Thanks,
> Ed
the code looks nothing special, but maybe some non-working examples would be 
good. I have a reader which we used to check most of the codes, but it is always 
  a function of the size and print quality.
Robin Becker

More information about the reportlab-users mailing list