Skip to content

Label formats

A format is a label layout with a few blanks. Parts bin, cable flag, shipping address, Wi-Fi QR, asset tag and more come built in. You fill in the blanks, move anything you like, and print. When a label turns out well, save it as your own format and fill it again next time.

See every format drawn as it prints.

  1. Click Browse formats at the top left. Filter by printer or by shape: square, wide, tall, round, tape or sheet.
  2. Pick one. It opens on your printer, with its fields at the top left.
  3. Type into the fields. The label follows. Anything you move or resize stays where you put it.
  4. Retype a text on the label itself and it stops following its field.
  5. Click Save as format to keep it. To add a field of your own, type {{batch}} (any name) into a text, QR code or barcode before you save.

On this website your formats stay in this browser. In inkless console they are saved in ~/.inkless/formats/, where the CLI and your agent find them too.

  • Copy for agent (website): copies the label as JSON with the commands to use it. Paste it into your coding agent.
  • Copy link (website): a link that opens this exact label in the designer. The label travels inside the link; nothing is uploaded.
  • Send to agent (inkless console): sends the label as it is now, with your message if you typed one. An agent waiting with inkless console wait --until any gets it at once.
Terminal window
npx inkless formats # every format: id, size, printers, fields
npx inkless formats --printer hp6 # only the ones for the HP6-C
npx inkless formats show cable-flag # its fields and examples
npx inkless preview --format parts-bin --set name="M4 NUTS" --set bin=12
npx inkless print --format cable-flag --printer hp6 --set name=NAS --set detail="LAN\nport 4"
npx inkless console show --format storage-box --set room=ATTIC
npx inkless console link --format wifi-qr --set network=Shed --set password=hunter22
npx inkless formats save label.json --name "Lab kit" # your own format, from any design file
  • Fields you leave out keep their example. An unknown field is an error, so a typo never prints.
  • --printer moves a format to another printer it fits. Wide tapes fit both printers; most labels only fit the PM290 roll.
  • \n in a value starts a new line.
  • console link prints a link to this website with the label inside. Set INKLESS_SITE to point it at another copy of the site.
{
"id": "lab-kit",
"name": "Lab kit",
"description": "Boxes of kit we lend out",
"formFactor": "wide",
"size": { "widthMm": 48, "heightMm": 30 },
"printers": ["pm290"],
"fields": [{ "key": "owner", "label": "Owner", "example": "ACME LABS" }],
"design": { "version": 1, "printer": "pm290", "size": { "widthMm": 48, "heightMm": 30 }, "pages": [
{ "id": "page-1", "elements": [
{ "type": "text", "x": 2.5, "y": 2, "w": 43, "h": 8, "text": "{{owner}}", "weight": 700 }
] }
] }
}

design is an ordinary design whose text, QR and barcode values may hold {{key}}. Every placeholder needs a field and every field must be used. The first printer is the one the design is drawn for.

A filled design remembers its format in "format": { id, name, fields, values }, and each filled element keeps its original text in "template". That is how the console keeps the fields working after you move things, and how Save as format puts the blanks back.