added paper config generation (using qrcode)