Asset Tags
Asset Tag Template
Compact asset tag with QR payload, asset identification, location details, and footer.
Template JSON
rev_20260529_v2_asset_tag{
"schema": {
"fields": [
{
"key": "primary_text",
"type": "string",
"required": true,
"label": "Primary text",
"default_value": "Asset Tag"
},
{
"key": "secondary_text",
"type": "string",
"required": true,
"label": "Secondary text",
"default_value": "Batch 2026-05"
},
{
"key": "detail_text",
"type": "string",
"required": true,
"label": "Detail text",
"default_value": "Zone A / Shelf 3"
},
{
"key": "barcode_payload",
"type": "string",
"required": true,
"label": "Barcode payload",
"default_value": "https://gpdf.com/templates/asset-tag-template"
},
{
"key": "footer_text",
"type": "string",
"required": true,
"label": "Footer text",
"default_value": "Generated by gPdf template JSON"
}
]
},
"layout": {
"pages": [
{
"width": 76,
"height": 38,
"elements": [
{
"type": "rect",
"x": 0,
"y": 0,
"width": 76,
"height": 38,
"z_index": 0,
"fill": {
"color": "#FFFFFF",
"opacity": 1
}
},
{
"type": "rect",
"x": 0,
"y": 0,
"width": 76,
"height": 9,
"z_index": 0,
"fill": {
"color": "#B45309",
"opacity": 1
}
},
{
"type": "text",
"x": 4,
"y": 3,
"frame": {
"width": 68
},
"content": {
"blocks": [
{
"type": "paragraph",
"inlines": [
{
"type": "text",
"text": "Asset Tag",
"style": {
"font_weight": "bold"
}
}
]
}
]
},
"defaults": {
"paragraph": {
"line_height": 1.18
},
"run": {
"font_family": "NotoSans-Regular",
"font_mode": "prefer",
"font_size": 5.6,
"color": "#FFFFFF",
"font_weight": "bold"
}
},
"z_index": 0
},
{
"type": "text",
"x": 4,
"y": 15,
"frame": {
"width": 41.040000000000006
},
"content": {
"blocks": [
{
"type": "paragraph",
"inlines": [
{
"type": "variable",
"scope": "binding",
"name": "primary_text",
"style": {
"font_weight": "bold"
}
},
{
"type": "line_break"
},
{
"type": "variable",
"scope": "binding",
"name": "secondary_text"
},
{
"type": "line_break"
},
{
"type": "variable",
"scope": "binding",
"name": "detail_text"
}
]
}
]
},
"defaults": {
"paragraph": {
"line_height": 1.18
},
"run": {
"font_family": "NotoSans-Regular",
"font_mode": "prefer",
"font_size": 5.8,
"color": "#111827"
}
},
"z_index": 0
},
{
"type": "barcode",
"format": "qrcode",
"content": "{{barcode_payload}}",
"x": 54,
"y": 15,
"width": 16,
"height": 16,
"barcode_text": {
"enabled": false,
"position": "bottom"
},
"z_index": 0
},
{
"type": "line",
"x1": 4,
"y1": 28,
"x2": 72,
"y2": 28,
"stroke": {
"color": "#CBD5E1",
"width": 0.2
},
"z_index": 0
},
{
"type": "text",
"x": 4,
"y": 31,
"frame": {
"width": 68
},
"content": {
"blocks": [
{
"type": "paragraph",
"inlines": [
{
"type": "variable",
"scope": "binding",
"name": "footer_text"
}
]
}
]
},
"defaults": {
"paragraph": {
"line_height": 1.18
},
"run": {
"font_family": "NotoSans-Regular",
"font_mode": "prefer",
"font_size": 4.4,
"color": "#475569"
}
},
"z_index": 0
}
]
}
]
}
} Sample data
{
"primary_text": "Asset Tag",
"secondary_text": "Batch 2026-05",
"detail_text": "Zone A / Shelf 3",
"barcode_payload": "https://gpdf.com/templates/asset-tag-template",
"footer_text": "Generated by gPdf template JSON"
}