[reportlab-users] QR Codes

Germán M. Bravo german.mb at gmail.com
Tue Sep 14 16:09:32 EDT 2010


For QR codes to work with RML, now that they're on ReportLab, you need
to simply add the QR attribute to the list in the rml.dtd, next to
EAN13, for barCodeFlowable and barCode ATTLIST, as follows:

<!ATTLIST barCodeFlowable
code (I2of5 | Code128 | Standard93 | Extended93 |
Standard39 | Extended39 | MSI | Codabar |
Code11 | FIM | POSTNET | USPS_4State | EAN8 | EAN13 | QR) #REQUIRED
...

<!ATTLIST barCode
x CDATA #REQUIRED
y CDATA #REQUIRED

code (I2of5 | Code128 | Standard93 | Extended93 |
Standard39 | Extended39 | MSI | Codabar |
Code11 | FIM | POSTNET | USPS_4State | EAN8 | EAN13 | QR) #REQUIRED
...

Cheers,
German.


More information about the reportlab-users mailing list