Skip to main content

Modifying asset label templates

  1. Go to Administration – Asset ManagementPrint report templates, select Asset label with QR code or Asset label with barcode template and use the Edit command.

  2. Edit the print template and save the HTML file to disk.

  3. Open the HTML file from disk in any HTML editor.

  4. Design the label:

    • Set the page size and margins to appropriate dimensions of the real label size (i.e. 5 x 2.5 cm, zero margins) in the @page CSS style.
    • Insert/edit the QR code / barcode area. Insert an <IMG> tag with a text [$AssetCode$] in the ALT attribute.
    note

    The IMG tag dimensions determines the real QR/barcode size of the label.

    tip

    For better positioning, you can insert a table and put the code area / texts into a table cells.

    • Important: the TITLE tag of the HTML file must contain a text: @Model.PrintTemplateType = AssetLabel
  5. When are you done, save the result.

  6. Check the result in any HTML browse

  7. Import the modified HTML file back to the ALVAO and replace the old HTML, or create a new template and import HTML there

  8. Test the new asset label template – use the Print command, check the preview and then also the created PDF file, if the layout, dimensions and margins are OK.