QR Tag Link Format
Printago tags identify printers, slots, filament, spools, and blanks. Every tag is a link. The tag's saved record determines its type; optional fields in the link describe the label, and scanning them never edits your catalog or inventory.
The ID is the issuer, a dash, and 20 random characters. The last eight become the short code printed under the QR.
IDs and Issuers
PTG-7K3QX9MP2W4HC8RT5N6VPTG is the only registered prefix. Contact Printago before using another; unregistered prefixes return unknown_issuer.shelf-26f1d5, keep their exact case.No I, L, O, or U. Readers never substitute them for digits.
PTG-, in any case, must have exactly 20 characters from the alphabet above. Malformed IDs return unsupported_version, including when submitted directly to execute, and cannot be set up as blank tags.Short Codes
PTG-7K3QX9MP2W4HC8RT5N6V
C8RT-5N6V
- A label prints the last eight ID characters, grouped in fours. A spool keeps its own label code.
- Resolve accepts the code in place of a link, so a label whose QR won't read can be typed in.
- Codes are looked up only among the current store's tags. They're short, so two of a store's tags can share one; resolve then returns
unknown_tagwith a message to scan the QR instead. - Use the full ID for anything else.
Links
HTTPS://APP.PRINTAGO.IO/QR/PTG-7K3QX9MP2W4HC8RT5N6V
- Use the API's payload as is. It's the complete printable link, on the configured web host.
- New labels are all uppercase: scheme, host, path, ID, and field values. Keep the whole link uppercase so it fits QR alphanumeric mode, which HTTPS links can use since they only need
0-9 A-Z : / . -. - Readers accept any case.
Fields
Fields are slash-separated KEY:VALUE segments after the ID, in any order.
MM:PLACC:00AE42.FFFFFFGG:1000DD:1.75BB:BAMBU-LABSKUSKU:PLA-01SS:ABCDEFGHIJKLMNOPQRSTUVWXHTTPS://APP.PRINTAGO.IO/QR/PTG-7K3QX9MP2W4HC8RT5N6V/M:PLA/C:00AE42.FFFFFF/G:1000/D:1.75
{
"fields": {
"M": "PLA",
"C": "00AE42.FFFFFF",
"G": "1000",
"D": "1.75"
}
}
- Resolve returns valid optional fields under each tag's
fieldsobject, as uppercase strings. They're scan metadata, not catalog updates. - Unknown keys and invalid optional values are ignored.
- An invalid
S, or repeatedSfields that conflict, make the link unreadable.
Store Ownership
A link names no store. The server knows which store holds each tag.
unknown_tag (HTTP 404 from execute), exactly like a tag that doesn't exist. So does the losing store in a simultaneous setup.No response reveals that a tag belongs to another store, which store, or its data.
/S:{STOREID}. Readers still accept it; when it names another store, the tag isn't looked up and reads as unknown_tag.QR Size
Encoded as one alphanumeric segment at error correction M, these links measure as follows (by decoding the rendered labels):
HTTPS://APP.PRINTAGO.IO/QR/PTG-7K3QX9MP2W4HC8RT5N6V
Version 3
HTTPS://APP.PRINTAGO.IO/QR/PTG-7K3QX9MP2W4HC8RT5N6V/S:ABCDEFGHIJKLMNOPQRSTUVWX
Version 4
HTTPS://APP.PRINTAGO.IO/QR/PTG-7K3QX9MP2W4HC8RT5N6V/M:PLA/C:00AE42.FFFFFF/G:1000/D:1.75
Version 4
Longer hosts, more fields, or longer values can raise the version.
Compatibility
- Tags with legacy IDs print query links,
/qr/{id}?v=1&t={type}&s={storeId}. Readers accept them on any web host, and reprinting a legacy tag keeps its code. - Every tag is a link. Text that isn't one, such as JSON, isn't a Printago tag.
- An unreadable
/QR/link returnsunsupported_version; apps should ask the user to update Printago.