Simply use the QRCodeImage class with your data. All non-recognized keyword arguments will be passed to the qrcode.QRCode class from the qrcode package. from reportlab.lib.units import mm from ...