Command system.qrcode

The command system.qrcode is used to generate a QR Code based on the content of the parameter input. The generated QR Code can be displayed or printed (if the device has a printer).

Parameters

  1. filename [string]
    Name of the bitmap file that will be created.
  2. input [string]
    Content that will be used to generate the QR Code.
  3. size [string]
    Size of the bitmap image. Supported sizes: x1, x2, x3, x4 and x5.
  4. version [string]
    Symbol version of the QR Code. Each version has a different module configuration or number of modules. Supported versions: 1, 2, 3, 4, 5 and 6.

Example


In the example above, the command system.qrcode will generate a new bitmap of size: x1 and version: 4 and a second bitmap of size: x5 and version: 4. Then, the x1 QR Code will be displayed through the command displaybitmap and the x5 QR Code will be printed through the command printbitmap (if the device has a printer).

CloudWalk QR Code