On 21/07/2013 00:43, Paul McNett wrote:
On 7/20/13 7:31 AM, Werner F. Bruhin wrote:
As RW uses Reportlab couldn't we use its barcode support?

http://stackoverflow.com/questions/2179269/python-barcode-generation-library
Yes we could!
Any hints on how to go about it?  This might be over my head but with a few 
tips I
might give it a try in a couple of weeks.
Look at how other things like images are wrapped by searching for Image in
reportWriter.py. There's a class that defines the available properties and then 
a
block of code in the printBand() function that basically takes the dReportWriter
properties and maps them to reportlab functions.
I had a go at it and it basically works with simple data I used and for what I wanted it.

It is in the pull request from me, combined with the change to use dDockFrame for the ReportDesigner (mainly because I can not figure out how to have it as two separate pull requests).

https://github.com/dabodev/dabo/pulls

Appreciate if anyone looks at this and provides feedback so I can get it into shape by the time Paul has time to look at it.

Werner
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[email protected]

Reply via email to