Currently, only CODE39, CODE39MOD, CODE39MOD10, COOP2OF5, INDUSTRIAL2OF5 and EAN13 barcode types are allowed in Label creator. It would be nice to have 2D barcode support as well, as more information is crammed in less space and the result square-sized barcode can easily be put UNDER (or OVER) a biblio spine label! As an added bonus, the PDF::Reuse::Barcode module (https://metacpan.org/pod/PDF::Reuse::Barcode) used in Label creation, already supports generation of QRcodes, so the whole enhancement should be 'fairly' easy to implement!
Created attachment 92482 [details] [review] proposed patch to add QRcode functionality I have briefly tested this patch with Koha 17.11 and it works as expected. This was a quick'n'dirty approach to prove that this enhancement is possible and not too difficult to implement. Additional checks and/or documentation may be needed. Notes: I have chosen to use - QRCode version 1 and modulesize=1 (small square) because I personally needed to add the result code in a small area - also decided to hide the text version of the barcode (to save space)
Created attachment 92488 [details] [review] proposed patch to add QRcode functionality to Label and PatronCard creator The patch is still 'proof-of-concept quality' and needs some calculations for xsize and ysize but at least seems to display valid QRcodes in both Labels and Patron cards.
Created attachment 92490 [details] [review] proposed patch to add QRcode functionality to Label and PatronCard creator
Hi Theodorus, is your patch ready for testing? If so, please switch to 'needs sign-off' to alert testers!