Last updated: 31.05.2021

Valid from: 2021.05.00 and later

Activating scanning of QR codes in Opter Terminal

Opter Terminal can be set up to scan a QR code to retrieve the settings for a scanning batch, instead of terminal workers having to configure the settings manually. This minimises the risk of any setting being incorrectly configured, which could result in incorrect statistics, for example.

The scan settings and QR code are created and printed on the terminal (or scanned from the screen), or the dispatcher can create it in Opter and send it to the terminal.

Step 1: Open the Opter Terminal layout settings

  1. Click on Settings > Mobile dataSettings mobile data.
  2. Click on Edit, next to Terminal.Settings.

If Terminal.Settings does not appear in the list, click on an empty line in the Name column and select Terminal.Settings from the list.

Note:

If you have configured specific Opter Terminal settings for the terminal whose setting you want to adjust, the following setting must be applied for that terminal in the terminal registry, rather than in Terminal.Settings. For more information, see Separate Opter Terminal settings for individual terminals.

Step 2: Activate the function

Add the following line within the <terminal> tag. The QR option is added to the main menu in Opter Terminal.

Copy code

Enable scanning of QR codes

<qrscanning enabled="true"/> <!-- start scanning with QR-code instead of choosing arrival/departure, resource etc -->

The next time users log into Opter Terminal, they can scan a QR code to import the scan settings by selecting QR in the main menu.

This is what the above line might look like in its surrounding context.

Copy code

All settings for the main menu in Opter Terminal in Terminal.Settings

<?xml version="1.0" encoding="utf-8" ?>
<fleet101>
  <k2>
    <windowsce>
      <terminal>        
        <arrivalscanning enabled="true"/>         <!-- enable/disable arrivalscanning true or false -->
        <departurescanning enabled="true"/>     <!-- enable/disable departurescanning true or false -->
        <floorcheckscanning enabled="true" />    <!-- enable/disable floorcheckscanning true or false -->
        <damages enabled="true"/>               <!-- enable/disable damagescanning true or false -->
        <terminalpod enabled="true" />            <!-- enable/disable POD-scanning true or false -->        
        <qrscanning enabled="true"/> <!-- start scanning with QR-code instead of choosing arrival/departure, resource etc -->
      </terminal>
    </windowsce>
  </k2>
</fleet101>        

Step 3: Create a report for printing

There must be a report for the scan settings so that the QR code can be printed. Create a new report and paste in the standard layout below. Then select that report in the QR code with scanning settings drop-down list in the office settings. This can be done as follows:

  1. Click on Settings > Reports.
  2. Click on in the toolbar. Give the report a name, for example “Scan settings”, select the type Normal and save the report.
  3. Click on Display Editor, copy the code example below and paste it into the editor.
  4. Click on Save in the editor and close it.
  5. Click on Settings > Offices.
  6. Go to the Reports tab and select the report in the QR code with scanning settings drop-down list. If [None] is chosen, the QR code cannot be printed.
Copy code

Default report for scan settings and QR code

<?xml version="1.0" encoding="utf-8"?>
<template>
  <dataset x="18" y="63" width="188" height="200">

    <!--Page header/footer-->
    <header width="236" height="40">
      <item name="Scanning settings" x="25" y="10" font="Microsoft Sans Serif" bold="True" size="20" width="100" align="left" />
    </header>

    <dataitem source="object" align="top" newpage="false">

      <item name="Batch-ID:" x="25" y="20" font="Microsoft Sans Serif" bold="True" size="16" width="100" align="left" />
      <data name="BatchId" x="75" y="20" font="Microsoft Sans Serif" bold="True" size="16" width="100" align="left" />

      <item name="Skanningstyp:" x="25" y="30" font="Microsoft Sans Serif" bold="True" size="16" width="100" align="left" />
      <data name="ScanType" x="75" y="30" font="Microsoft Sans Serif" bold="True" size="16" width="100" align="left" />

      <item name="Riktning:" x="25" y="40" font="Microsoft Sans Serif" bold="True" size="16" width="100" align="left" />
      <data name="ScanDirection" x="75" y="40" font="Microsoft Sans Serif" bold="True" size="16" width="100" align="left" />

      <item name="Utskriftstyp:" x="25" y="50" font="Microsoft Sans Serif" bold="True" size="16" width="100" align="left" />
      <data name="PrintQueueType" x="75" y="50" font="Microsoft Sans Serif" bold="True" size="16" width="100" align="left" />

      <item name="Utskriftsplats:" x="25" y="60" font="Microsoft Sans Serif" bold="True" size="16" width="100" align="left" />
      <data name="PrintingPlace" x="75" y="60" font="Microsoft Sans Serif" bold="True" size="16" width="100" align="left" />

      <item name="Anställd:" x="25" y="70" font="Microsoft Sans Serif" bold="True" size="16" width="100" align="left" />
      <data name="Employee" x="75" y="70" font="Microsoft Sans Serif" bold="True" size="16" width="100" align="left" />

      <item name="Fordon:" x="25" y="80" font="Microsoft Sans Serif" bold="True" size="16" width="100" align="left" />
      <data name="Vehicle" x="75" y="80" font="Microsoft Sans Serif" bold="True" size="16" width="100" align="left" />

      <item name="Rutter:" x="25" y="90" font="Microsoft Sans Serif" bold="True" size="16" width="100" align="left" />
      <data name="Routes" x="75" y="90" font="Microsoft Sans Serif" bold="True" size="16" width="100" align="left" />

      <item name="Kommentar:" x="25" y="100" font="Microsoft Sans Serif" bold="True" size="16" width="100" align="left" />
      <data name="Comment" x="75" y="100" font="Microsoft Sans Serif" bold="True" size="16" width="100" align="left" />

      <block x="0" y="0">
        <barcode x="25" y="120" excludeuri ="True" internetdirectoryuri="Opter" name="Settings" symbology="qr" height="100" width="100" />
      </block>

    </dataitem>

  </dataset>
</template>

Step 4: Configure the scan settings and create the QR code

For more information, see Batch scanning in Opter Terminal.