Modifying asset label templates
-
Go to Administration – Asset Management – Print report templates, select Asset label with QR code or Asset label with barcode template and use the Edit command.
-
Edit the print template and save the HTML file to disk.
-
Open the HTML file from disk in any HTML editor.
-
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.
noteThe IMG tag dimensions determines the real QR/barcode size of the label.
- Insert another static or variable texts if you like (you can use @Node variables for HTML print report templates).
tipFor 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
-
When are you done, save the result.
-
Check the result in any HTML browse
-
Import the modified HTML file back to the ALVAO and replace the old HTML, or create a new template and import HTML there
-
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.