{% extends "base.html" %} {% block title %}Label Settings - Admin{% endblock %} {% block extra_css %} {% endblock %} {% block content %}
{% set section = 'settings' %} {% set bar_sub = 'API keys, print defaults and the tape printer' %} {% set crumbs = [{'name': 'Settings'}] %} {% include 'admin/labels/_nav.html' %}
Rebrickable

Brickset's API covers sets, minifigs and instructions — it has no parts endpoint, so part numbers, names and artwork come from Rebrickable instead. A key is free from rebrickable.com/api. Leave this blank to work entirely by hand with your own uploaded images.

{% if env_key_present %}
REBRICKABLE_API_KEY is also set in your environment. A key entered here takes priority.
{% endif %}
Print defaults
Most printers are a few tenths of a millimetre out. Print one sheet with "outline each label" ticked, measure the drift, and put it here.
Tape printer (Brother VC-500W)

The VC-500W is AirPrint-enabled, which means it speaks IPP on port 631. Put its IP address here and LIM can send labels to it directly over the network — no Brother driver, no P-touch Editor. Give the printer a DHCP reservation first, or the address will move.

Leave this blank to skip direct printing; tape labels can always be downloaded as a PDF instead.

Leave on "Ask the printer" unless it rejects jobs. Use Test connection on the tape page to see what it accepts.
PDF export
{% if pdf_available %}

ReportLab is installed, so the PDF button is available on the print page.

{% else %}

PDF export is optional and needs ReportLab:

pip install reportlab

Printing straight from the browser works without it and is usually the more accurate of the two anyway.

{% endif %}
{% endblock %}