# Utilities

*TOOLS/MAKEQRCODE | Generate QR Code

## Invocation

CALL "*tools/makeqrcode", "text", "output_file.png" [ , qualitycode$ ]

Where:

text | Content for the QR code.
output_file.png | Output image file.
qualitycode$ | Optional single character to indicate the quality of the QR code to be returned. Possible values are:
"L" | (Low) 7% of data bytes can be restored. (Default, if omitted)
"M" | (Medium) 15% of data bytes can be restored.
"Q" | (Quartile) 25% of data bytes can be restored.
"H" | (High) 30% of data bytes can be restored.

(The qualitycode$ parameter was added in PxPlus 2021 Update 2.)

## Description

This utility is used to generate a QR code.

#### Note:
Internet access is required, as the logic is done on PxPlus servers. Serial number must be on maintenance/current version.

(The MakeQRCode utility was added in PxPlus 2014.)

## Example

call "*tools/makeqrcode","https://home.pvxplus.com","pxplus_qr_code.png"