Generating QR codes

From Lansweeper 5.1 onward, a built-in option in the web console allows you to generate QR codes for the assets in your database. The QR-style barcodes generated by Lansweeper link to individual asset pages within your Lansweeper web console. You can choose to generate QR codes in JPG or PDF format. They can be printed and physically stuck onto your machines, so you can read the codes with a QR code scanner and easily pull up the Lansweeper webpages of the relevant assets. The QR code seen below for instance was generated for asset Switch 1, in a Lansweeper installation hosted on LAN-001. It links to the Lansweeper webpage of Switch 1.

QR style barcode
QR code link

To generate one or more QR codes, do the following:

  1. Browse to the following section of the web console: Configuration\Asset Pages
    Asset Pages menu
  2. Submit your Lansweeper web console's main URL in the Hostname field, if it's not already present. When you generate QR codes, this URL will be appended to form the links to individual asset pages. Your web console's main URL is generally formatted as follows:
    http://<IP address or name of the machine hosting your web console>:<port number>/
    QR code hostname
  3. Click the Assets link at the top of the web console.
    clicking Assets link
  4. Tick the checkboxes in front of the assets you would like to generate QR codes for.
    selecting assets for QR code generation
    - You can perform a search on one or more columns to easily find specific assets. In the example above, we filtered the Domain column to only list assets within the lansweeper domain.
    - You could also tick the checkbox at the very top to select all assets in the current search results.
  5. To generate QR codes in the JPG format, hit the QR Codes (JPG) button on the left side of the web console, customize some of the options in the popup window if required and hit Ok. A ZIP file containing your QR code images will be generated.
    QR code configuration when choosing JPG
    - Hostname: your Lansweeper web console's main URL.
    - Save using: parameter used in the QR code URL to reference the client asset. This can be the asset's ID (an arbitrary number assigned by Lansweeper when the asset is created), name or serial number. Regardless of which option you choose, the QR code URL will link to the client asset's Lansweeper webpage.
    - Size code: size of the QR code in pixels.
    - Show asset name: if checked, the asset name will be listed below the code.
    - Color code: color of the code, which is black by default.
  6. To generate QR codes in the PDF format, hit the QR Codes (PDF) button on the left side of the web console, customize some of the options in the popup window if required and hit Ok. A PDF document containing your QR codes will be generated.
    QR code configuration when choosing PDF
    - Hostname: your Lansweeper web console's main URL.
    - Save using: parameter used in the QR code URL to reference the client asset. This can be the asset's ID (an arbitrary number assigned by Lansweeper when the asset is created), name or serial number. Regardless of which option you choose, the QR code URL will link to the client asset's Lansweeper webpage.
    - Paper type: paper type of the PDF containing the codes, which is either A4 (Europe/Japan) or Letter (America).
    - Page orientation: page orientation, which is either Landscape or Portrait.
    - Document type: determines the layout of the codes across the page.
    - Show URL: if checked, the asset URL will be listed alongside the code.
    - Text next to code: if checked, the asset name and URL will be listed next to the code.
    - Title on top of code: if checked, the asset name will be listed above the code and the asset URL below the code.
    - Color code: color of the code, which is black by default.

Related Articles