Asset Tag Printing¶
Module: Asset Tag Printing | Audience: All Users
Table of Contents¶
- Overview
- Asset Tag Templates
- Template List
- Creating a Template
- Template Designer
- Saving a Template
- Editing a Template
- Viewing a Template
- Deleting a Template
- Printing Asset Tags
- Single Asset — From Asset Detail
- Bulk Print — From Asset List
- The Generate Sticker Dialog
- PDF Output & Printing
Overview¶
The Asset Tag Printing module lets you define reusable label templates and generate print-ready PDFs for individual assets or multiple assets in a single request. Each printed tag encodes the asset's unique identifier as a barcode or QR code, with optional text fields and an image (e.g., a logo or other custom graphic).
The workflow has two parts:
- Template Management — design and save label layouts in the Asset Tag Template designer.
- Print — select assets, pick a template, choose copy count, and download the PDF.
Asset Tag Templates¶
Template List¶
Path: Sidebar → Asset Tag Template | URL: /asset-tag-template
The page is titled Asset Tag Templates and displays all saved templates in a paginated table (the default template is always listed first, then the rest alphabetically).
| Column | Description |
|---|---|
| Template Name | Unique template identifier |
| Template Type | Derived from the elements on the template: Barcode, QR Code, or Barcode + QR |
| Default | Yes / No chip. Marks the template flagged as the company default |
| Status | Active / Inactive chip. Only active templates can actually be printed |
| Created At | Date the template was created |
Further columns (Description, Unit, Orientation, Updated At and similar) can be switched on from the column chooser; label width and height are not list columns, but are shown on the detail page.
| Action | How |
|---|---|
| Create a template | Click Add Tag Template |
| View template detail | Click the view icon / row |
| Edit a template | Click the edit (pencil) icon on a row |
| Delete a template | Click the delete icon; confirm in the Delete Template dialog (Are you sure you want to delete this template?) |
Note: Only one template can be marked as Default at a time. Ticking Default Template on a second template is rejected with Another default template already exists — untick it on the current default first. The Default flag is informational in the template list; the print dialog does not pre-select it (see The Generate Sticker Dialog).
Important: The Default template cannot be deleted (Default template cannot be deleted). Clear its Default flag (and set it on another template, if you want one) before deleting.
Creating a Template¶
Path: Asset Tag Template → Add Tag Template | URL: /asset-tag-template/new
Clicking Add Tag Template opens the Template Designer — a visual canvas where you arrange elements and configure all label settings before saving.
Template Designer¶
Path: Asset Tag Template → Create / Edit | URL: /asset-tag-template/new · /asset-tag-template/:id/edit
The designer is divided into three areas:
| Area | Purpose |
|---|---|
| Header (top) | Back arrow, page title (Create Template / Edit Template), the Design Template / Print Preview tabs, and Cancel / Save (Update when editing) |
| Toolbar (below header, Design tab) | Icon buttons: Undo, Redo, Add Barcode, Add QR Code, Add Text, Add Image, Duplicate, Delete, Zoom In, Zoom Out |
| Canvas (centre) | Live visual preview of the label; drag elements to position and resize them |
| Properties Panel (right) | Template Name box at the top, then the selected element's properties and the overall label, printer, media, sheet, description and status settings |
The Print Preview tab renders a canvas preview of the finished label using sample data (a sample barcode/QR pattern and placeholder text) before saving.
Toolbar Actions¶
| Button | Description |
|---|---|
| Undo / Redo | Step back or forward through design history (last 30 steps) |
| Add Barcode | Add a barcode element (disabled once one is on the canvas) |
| Add QR Code | Add a QR code element (disabled once one is on the canvas) |
| Add Text | Add a text element (may be used several times) |
| Add Image | Add an image element (disabled once one is on the canvas) |
| Duplicate | Clone the currently selected element (offset slightly) |
| Delete | Remove the currently selected element |
| Zoom In / Out | Adjust the canvas zoom level |
Drag an element button from the toolbar directly onto the canvas to place it at a specific position, or click the button to centre-place it on the label.
Note: A template can hold one barcode, one QR code and one image, but any number of text elements. Duplicating a barcode, QR code or image is not possible once one exists (the add buttons are greyed out).
Canvas Elements¶
| Element | What it shows on the label | Notes |
|---|---|---|
| Barcode | Barcode encoding the asset tag | At least one of Barcode or QR Code is required |
| QR Code | QR code encoding the asset tag | At least one of Barcode or QR Code is required |
| Text | A line of configurable text composed from asset field placeholders | Optional; several allowed |
| Image | A logo or custom graphic uploaded at design time | Optional; an image file must be uploaded if the element is placed |
Once an element is on the canvas, click it to select it. The Properties Panel on the right shows its position (X (mm), Y (mm)), size (Width (mm), Height (mm), minimum 2), and type-specific settings. Drag the element to reposition it; drag its corner handles to resize.
Text Field Configuration¶
When the Text element is selected, the Properties Panel shows a Fields chip palette with three draggable placeholders:
| Chip | Placeholder | Value substituted at print time |
|---|---|---|
| Asset Tag | {asset_tag} |
The asset's unique tag (e.g. AST-0001) |
| Asset Name | {asset_name} |
The asset's name (e.g. Laptop Pro) |
| Category | {category} |
The asset's category name (e.g. IT Equipment) |
Image element settings: Upload Image… / Change Image… (PNG, JPG, SVG, GIF, WebP), Remove Image, and Fit: Contain (letterbox), Cover (crop to fill) or Fill (stretch).
To compose the text:
- Drag a chip from the Fields palette into the drop zone below it.
- Repeat for additional fields — a
|separator is inserted automatically between chips. - Click × on any chip to remove it from the text.
| Text property | Description |
|---|---|
| Font | Helvetica, Arial, Times New Roman, Courier, Georgia, Verdana |
| Font Size (pt) | Point size (minimum 4 pt) |
| Style | B (bold), I (italic) toggle buttons |
| Alignment | Left, Centre, Right buttons |
| Text Color | Colour picker |
When you add a new text element it starts as {asset_tag}.
Tip: The canvas preview substitutes sample values (
AST-0001,Laptop Pro,IT Equipment) so you can check layout and font size before saving.
Label & General Parameters¶
Shown in the Properties Panel under the heading Label (scroll past the element section when an element is selected). The Template Name box sits at the top of the panel, and a Description box and Status checkboxes are at the bottom.
| Parameter | Type | Description |
|---|---|---|
| Width (mm) | Number | Label width (default 80) |
| Height (mm) | Number | Label height (default 40) |
| Unit | mm / inch / dots | Measurement unit for the template |
| Orientation | Portrait / Landscape | Label orientation |
| Background Color | Color picker | Label background fill color |
| Description | Text area | Optional notes (Optional description...) |
| Default Template | Checkbox | Flags this as the default template (only one allowed) |
| Active | Checkbox | Inactive templates cannot be used to print (default on) |
Note: The Width/Height boxes are labelled "(mm)" on screen even though the Unit setting is separate. Keep Unit on mm unless your label stock is specified otherwise.
Printer Properties¶
Shown under the heading ThermalLabel in the Properties Panel.
| Parameter | Type | Description |
|---|---|---|
| Batch Cut | Number | Cut the media every N labels |
| Cut After Printing | Checkbox | Perform a final cut after the job completes |
| Print Speed | Number | Printer speed setting |
| Print Mirror | Checkbox | Mirror-image the label (for transparent media) |
| Is Continuous | Checkbox | Enable continuous (roll) media mode |
Media & Calibration Parameters¶
Shown under the heading Media / Calibration.
| Parameter | Type | Description |
|---|---|---|
| Gap Length | Number | Gap between labels on roll media |
| Mark Length | Number | Black mark length (for mark-sensing media) |
| Offset Length | Number | Label offset from the sensor |
Sheet Configuration¶
Used when printing multiple labels arranged on a sheet (e.g. A4 label sheets).
| Parameter | Type | Description |
|---|---|---|
| Height (mm) (shown as "Sheet Label Row Gap" on the detail page) | Number | Vertical spacing between rows of labels on the sheet |
| Labels Per Row | Number | Number of labels across one sheet row (min 1) |
| Labels Count | Number | Total label positions on the sheet (min 1) |
| Labels Horizontal Gap | Number | Horizontal gap between labels |
| Margin Top / Bottom / Left / Right | Number | Sheet edge margins |
Saving a Template¶
Enter a Template Name in the box at the top of the Properties Panel, then click Save in the header.
The following rules are enforced before saving:
| Rule | Error message |
|---|---|
| Template name is blank | "Template name is required" |
| No barcode or QR code element on the canvas | "Please add at least a Barcode or QR Code element to the template" |
| Image element placed but no image uploaded | "Please upload an image or remove the image element from the canvas" |
On success a toast (Template created successfully / Template updated successfully) appears and you return to the list; any other failure shows Failed to save template.
Note: Template names must be unique across all templates (max 100 characters). Only one template may be flagged Default.
Editing a Template¶
Path: Asset Tag Template → edit icon | URL: /asset-tag-template/:id/edit
Opens the Template Designer pre-populated with the saved layout (the uploaded image is loaded back in). All elements and settings are editable. Click Update to save changes. The same validation rules apply.
Viewing a Template¶
Path: Asset Tag Template → click a row | URL: /asset-tag-template/:id
The read-only Template Details page shows a Label Preview (with the label size) and the sections General Parameters (name, type, description, unit, orientation, width, height, background colour), one section per barcode / QR code / text / image element (X/Y position, size, and for text the template, font, size, alignment and colour; for images the Fit mode), Sheet Configuration, Printer Properties, Media / Calibration and Status (Default Template, Active). Buttons at the bottom: Back and Edit.
Deleting a Template¶
Click the delete icon on a template row in the template list and confirm. Success shows Template deleted successfully; a refusal (for example the default template) shows Failed to delete template.
Important: The Default template cannot be deleted. Clear its Default flag first (edit the template and untick Default Template), then delete it.
Printing Asset Tags¶
Single Asset — From Asset Detail¶
Path: Assets Listing → click an asset row → Overview tab | URL: /assets/:id
A Generate Sticker button sits above the on-screen barcode in the asset header area. Click it to open the Generate Sticker dialog for that one asset.
Bulk Print — From Asset List¶
Path: Sidebar → Assets Listing | URL: /assets
- Select one or more assets using the checkboxes in the leftmost column of the asset list.
- The Generate Sticker button next to Clear Filters is disabled until at least one asset is checked.
- Click Generate Sticker to open the Generate Sticker dialog for all selected assets.
Note: There is no per-row print button in the asset table — use checkboxes to select assets before clicking Generate Sticker.
The Generate Sticker Dialog¶
After clicking Generate Sticker from either entry point, a dialog titled Generate Sticker appears with two fields:
| Field | Type | Description |
|---|---|---|
| Template | Autocomplete dropdown | Lists saved templates as Name (Barcode / QR Code / Barcode + QR). Nothing is pre-selected: you must choose one. (No templates available if none exist) |
| Number of Copies | Number (1–100) | Copies to print per selected asset; values outside 1–100 are corrected automatically |
Click Generate Sticker (the confirm button, disabled until a template is chosen) to create the PDF, or Cancel to dismiss the dialog. While generating, the dialog cannot be closed.
Note: The dropdown may also list Inactive templates, but the server only prints from Active ones; choosing an inactive template fails with Failed to generate sticker PDF. Keep templates you want to print Active.
PDF Output & Printing¶
- The system generates a PDF file server-side using the selected template layout and the real asset data for each selected asset.
- The PDF opens automatically in a new browser tab.
- Use the browser's built-in print function (Ctrl+P / Cmd+P) to send it to a physical printer, or save the PDF for later.
- Each tag encodes the asset's Asset Tag value in the barcode/QR code.
- If something goes wrong a red toast Failed to generate sticker PDF appears.
Tip: For accurate physical sizing, match the template's label dimensions (Width × Height) to your physical label stock before printing. Use the Print Preview tab in the designer to verify layout before saving the template.
Note: The Print Preview in the designer uses sample asset data. The final printed output uses actual asset values and may differ slightly due to printer calibration.
Related: Asset Management · Master Data Configuration