DEV Community

Discussion on: Printing on paper with Python 🖨️

Collapse
 
o_s_e3ae639c05a profile image
Okeke Stephen • Edited

Hi Kevin
Sorry for disturbing you once more.
I tried the guideline you gave on creating the template, it worked. However, the qrcode wouldn't display, rather, it gives a link to my pc where it is stored. How can I rectify this please.

Collapse
 
pa4kev profile image
Kevin van der Vleuten

Not at all, don't worry about it.
We can chat on Discord if you like: PA4KEV#4999

  • I was using Python 3.9.5 (and 3.9.4).
  • Make sure the Python modules match the versions from requirements.txt
  • Optimally, create a virtualenv and use: python -m pip install -r requirements.txt
  • I tested on Windows 10 and Ubuntu.
  • Check your /tmp (GNU/Linux) or Win+R > %temp% (Windows) directory if both the .odt and the QR .png files are created properly.
Collapse
 
o_s_e3ae639c05a profile image
Okeke Stephen

Thanks Kevin!