Files
inventree-website/plugins/inventree-zebra-plugin/index.html
T
2026-11-22 11:40:43 +00:00

2357 lines
60 KiB
HTML

<!doctype html>
<html lang="en" class="no-js">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta name="description" content="InvenTree is an open-source inventory management system, providing intuitive parts management and stock control for businesses and hobbyists alike.">
<meta name="author" content="SergeoLacruz">
<link rel="canonical" href="https://inventree.org/plugins/inventree-zebra-plugin/">
<link rel="icon" href="../../assets/favicon.ico">
<meta name="generator" content="zensical-0.1.1">
<title>inventree-zebra-plugin - InvenTree</title>
<link rel="stylesheet" href="../../assets/stylesheets/modern/main.ebb7f775.min.css">
<link rel="stylesheet" href="../../assets/stylesheets/modern/palette.b60ce83d.min.css">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Inter:300,300i,400,400i,500,500i,700,700i%7CJetBrains+Mono:400,400i,700,700i&amp;display=fallback">
<style>:root{--md-text-font:"Inter";--md-code-font:"JetBrains Mono"}</style>
<link rel="stylesheet" href="../../stylesheets/splide.min.css">
<link rel="stylesheet" href="../../stylesheets/extra.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@tabler/icons-webfont@3.31.0/dist/tabler-icons.min.css">
<script>__md_scope=new URL("../..",location),__md_scope.pathname.endsWith("/")||(__md_scope=new URL(__md_scope.pathname+"/",location)),__md_hash=e=>[...e].reduce(((e,t)=>(e<<5)-e+t.charCodeAt(0)),0),__md_get=(e,t=localStorage,_=__md_scope)=>JSON.parse(t.getItem(_.pathname+"."+e)),__md_set=(e,t,_=localStorage,a=__md_scope)=>{try{_.setItem(a.pathname+"."+e,JSON.stringify(t))}catch(e){}},document.documentElement.setAttribute("data-platform",navigator.platform)</script>
<link rel="alternate" type="application/rss+xml" title="InvenTree Blog" href="../../blog/feed_rss_created.xml">
<link rel="alternate" type="application/rss+xml" title="InvenTree News" href="../../news/feed_rss_created.xml">
<meta property="og:site_name" content="InvenTree">
<meta property="og:title" content="inventree-zebra-plugin">
<meta property="og:description" content="InvenTree is an open-source inventory management system, providing intuitive parts management and stock control for businesses and hobbyists alike.">
<meta property="og:image" content="https://inventree.org/assets/social-card.png">
<meta property="og:image:alt" content="InvenTree - Intuitive Inventory Management">
<meta property="og:url" content="https://inventree.org/plugins/inventree-zebra-plugin/">
<meta property="og:type" content="website">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@inventreedb">
<!-- Mastodon profile verification -->
<link rel="me" href="https://chaos.social/@InvenTree">
</head>
<body dir="ltr" data-md-color-scheme="default" data-md-color-primary="blue" data-md-color-accent="light-blue">
<input class="md-toggle" data-md-toggle="drawer" type="checkbox" id="__drawer" autocomplete="off">
<input class="md-toggle" data-md-toggle="search" type="checkbox" id="__search" autocomplete="off">
<label class="md-overlay" for="__drawer" aria-hidden="true"></label>
<div data-md-component="skip">
<a href="#__skip" class="md-skip">
Skip to content
</a>
</div>
<div data-md-component="announce">
</div>
<header class="md-header md-header--shadow" data-md-component="header">
<nav class="md-header__inner md-grid" aria-label="Header">
<a href="../.." title="InvenTree" class="md-header__button md-logo" aria-label="InvenTree" data-md-component="logo">
<img src="../../assets/logo.png" alt="InvenTree">
</a>
<label class="md-header__button md-icon" for="__drawer">
<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide lucide-menu" viewBox="0 0 24 24"><path d="M4 5h16M4 12h16M4 19h16"/></svg>
<span class="md-visually-hidden">Navigation</span>
</label>
<div class="md-header__title" data-md-component="header-title">
<div class="md-header__ellipsis">
<div class="md-header__topic">
<span class="md-ellipsis">
InvenTree
</span>
</div>
<div class="md-header__topic" data-md-component="header-topic">
<span class="md-ellipsis">
Inventree zebra plugin
</span>
</div>
</div>
</div>
<nav class="md-tabs iv-header-tabs" aria-label="Tabs">
<ul class="md-tabs__list">
<li class="md-tabs__item">
<a href="../../blog/" class="md-tabs__link">
Blog
</a>
</li>
<li class="md-tabs__item">
<a href="../../features/" class="md-tabs__link">
Features
</a>
</li>
<li class="md-tabs__item">
<a href="../" class="md-tabs__link">
Plugins
</a>
</li>
<li class="md-tabs__item">
<a href="../../about/" class="md-tabs__link">
Community
</a>
</li>
<li class="md-tabs__item iv-tab-external">
<a href="https://docs.inventree.org/en/stable/" class="md-tabs__link" target="_blank" rel="noopener noreferrer">
Docs
<i class="ti ti-external-link" aria-hidden="true"></i>
</a>
</li>
<li class="md-tabs__item iv-tab-external">
<a href="https://demo.inventree.org/" class="md-tabs__link" target="_blank" rel="noopener noreferrer">
Demo
<i class="ti ti-external-link" aria-hidden="true"></i>
</a>
</li>
</ul>
</nav>
<form class="md-header__option" data-md-component="palette">
<input class="md-option" data-md-color-media="(prefers-color-scheme: light)" data-md-color-scheme="default" data-md-color-primary="blue" data-md-color-accent="light-blue" aria-label="Switch to dark mode" type="radio" name="__palette" id="__palette_0">
<label class="md-header__button md-icon" title="Switch to dark mode" for="__palette_1" hidden>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M17 7H7a5 5 0 0 0-5 5 5 5 0 0 0 5 5h10a5 5 0 0 0 5-5 5 5 0 0 0-5-5m0 8a3 3 0 0 1-3-3 3 3 0 0 1 3-3 3 3 0 0 1 3 3 3 3 0 0 1-3 3"/></svg>
</label>
<input class="md-option" data-md-color-media="(prefers-color-scheme: dark)" data-md-color-scheme="slate" data-md-color-primary="blue" data-md-color-accent="light-blue" aria-label="Switch to light mode" type="radio" name="__palette" id="__palette_1">
<label class="md-header__button md-icon" title="Switch to light mode" for="__palette_0" hidden>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M17 6H7c-3.31 0-6 2.69-6 6s2.69 6 6 6h10c3.31 0 6-2.69 6-6s-2.69-6-6-6m0 10H7c-2.21 0-4-1.79-4-4s1.79-4 4-4h10c2.21 0 4 1.79 4 4s-1.79 4-4 4M7 9c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3"/></svg>
</label>
</form>
<script>var palette=__md_get("__palette");if(palette&&palette.color){if("(prefers-color-scheme)"===palette.color.media){var media=matchMedia("(prefers-color-scheme: light)"),input=document.querySelector(media.matches?"[data-md-color-media='(prefers-color-scheme: light)']":"[data-md-color-media='(prefers-color-scheme: dark)']");palette.color.media=input.getAttribute("data-md-color-media"),palette.color.scheme=input.getAttribute("data-md-color-scheme"),palette.color.primary=input.getAttribute("data-md-color-primary"),palette.color.accent=input.getAttribute("data-md-color-accent")}for(var[key,value]of Object.entries(palette.color))document.body.setAttribute("data-md-color-"+key,value)}</script>
<div class="md-header__source">
</div>
</nav>
</header>
<div class="md-container" data-md-component="container">
<main class="md-main" data-md-component="main">
<div class="md-main__inner md-grid">
<div class="md-sidebar md-sidebar--primary" data-md-component="sidebar" data-md-type="navigation">
<div class="md-sidebar__scrollwrap">
<div class="md-sidebar__inner">
<nav class="md-nav md-nav--primary md-nav--lifted" aria-label="Navigation" data-md-level="0">
<label class="md-nav__title" for="__drawer">
<a href="../.." title="InvenTree" class="md-nav__button md-logo" aria-label="InvenTree" data-md-component="logo">
<img src="../../assets/logo.png" alt="InvenTree">
</a>
InvenTree
</label>
<ul class="md-nav__list" data-md-scrollfix>
<li class="md-nav__item md-nav__item--nested">
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_1" >
<label class="md-nav__link" for="__nav_1" id="__nav_1_label" tabindex="0">
<span class="md-ellipsis">
Blog
</span>
<span class="md-nav__icon md-icon"></span>
</label>
<nav class="md-nav" data-md-level="1" aria-labelledby="__nav_1_label" aria-expanded="false">
<label class="md-nav__title" for="__nav_1">
<span class="md-nav__icon md-icon"></span>
Blog
</label>
<ul class="md-nav__list" data-md-scrollfix>
<li class="md-nav__item">
<a href="../../blog/" class="md-nav__link">
<span class="md-ellipsis">
Blog
</span>
</a>
</li>
<li class="md-nav__item md-nav__item--nested">
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_1_2" >
<label class="md-nav__link" for="__nav_1_2" id="__nav_1_2_label" tabindex="0">
<span class="md-ellipsis">
Blog Archive
</span>
<span class="md-nav__icon md-icon"></span>
</label>
<nav class="md-nav" data-md-level="2" aria-labelledby="__nav_1_2_label" aria-expanded="false">
<label class="md-nav__title" for="__nav_1_2">
<span class="md-nav__icon md-icon"></span>
Blog Archive
</label>
<ul class="md-nav__list" data-md-scrollfix>
<li class="md-nav__item">
<a href="../../blog/archive/2026/" class="md-nav__link">
<span class="md-ellipsis">
2026
</span>
</a>
</li>
<li class="md-nav__item">
<a href="../../blog/archive/2025/" class="md-nav__link">
<span class="md-ellipsis">
2025
</span>
</a>
</li>
<li class="md-nav__item">
<a href="../../blog/archive/2024/" class="md-nav__link">
<span class="md-ellipsis">
2024
</span>
</a>
</li>
<li class="md-nav__item">
<a href="../../blog/archive/2023/" class="md-nav__link">
<span class="md-ellipsis">
2023
</span>
</a>
</li>
<li class="md-nav__item">
<a href="../../blog/archive/2022/" class="md-nav__link">
<span class="md-ellipsis">
2022
</span>
</a>
</li>
<li class="md-nav__item">
<a href="../../blog/archive/2021/" class="md-nav__link">
<span class="md-ellipsis">
2021
</span>
</a>
</li>
</ul>
</nav>
</li>
<li class="md-nav__item">
<a href="../../news/" class="md-nav__link">
<span class="md-ellipsis">
News
</span>
</a>
</li>
<li class="md-nav__item md-nav__item--nested">
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_1_4" >
<label class="md-nav__link" for="__nav_1_4" id="__nav_1_4_label" tabindex="0">
<span class="md-ellipsis">
News Archive
</span>
<span class="md-nav__icon md-icon"></span>
</label>
<nav class="md-nav" data-md-level="2" aria-labelledby="__nav_1_4_label" aria-expanded="false">
<label class="md-nav__title" for="__nav_1_4">
<span class="md-nav__icon md-icon"></span>
News Archive
</label>
<ul class="md-nav__list" data-md-scrollfix>
<li class="md-nav__item">
<a href="../../news/archive/2026/" class="md-nav__link">
<span class="md-ellipsis">
2026
</span>
</a>
</li>
<li class="md-nav__item">
<a href="../../news/archive/2025/" class="md-nav__link">
<span class="md-ellipsis">
2025
</span>
</a>
</li>
<li class="md-nav__item">
<a href="../../news/archive/2024/" class="md-nav__link">
<span class="md-ellipsis">
2024
</span>
</a>
</li>
<li class="md-nav__item">
<a href="../../news/archive/2023/" class="md-nav__link">
<span class="md-ellipsis">
2023
</span>
</a>
</li>
<li class="md-nav__item">
<a href="../../news/archive/2022/" class="md-nav__link">
<span class="md-ellipsis">
2022
</span>
</a>
</li>
</ul>
</nav>
</li>
</ul>
</nav>
</li>
<li class="md-nav__item md-nav__item--nested">
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_2" >
<label class="md-nav__link" for="__nav_2" id="__nav_2_label" tabindex="0">
<span class="md-ellipsis">
Features
</span>
<span class="md-nav__icon md-icon"></span>
</label>
<nav class="md-nav" data-md-level="1" aria-labelledby="__nav_2_label" aria-expanded="false">
<label class="md-nav__title" for="__nav_2">
<span class="md-nav__icon md-icon"></span>
Features
</label>
<ul class="md-nav__list" data-md-scrollfix>
<li class="md-nav__item">
<a href="../../features/" class="md-nav__link">
<span class="md-ellipsis">
Features
</span>
</a>
</li>
<li class="md-nav__item">
<a href="../../deploy/" class="md-nav__link">
<span class="md-ellipsis">
Deploy
</span>
</a>
</li>
<li class="md-nav__item">
<a href="../../demo/" class="md-nav__link">
<span class="md-ellipsis">
Demo
</span>
</a>
</li>
<li class="md-nav__item">
<a href="../../alternatives/" class="md-nav__link">
<span class="md-ellipsis">
Alternatives
</span>
</a>
</li>
<li class="md-nav__item">
<a href="../../extend/" class="md-nav__link">
<span class="md-ellipsis">
Ecosystem
</span>
</a>
</li>
<li class="md-nav__item">
<a href="../../extend/app/" class="md-nav__link">
<span class="md-ellipsis">
Mobile App
</span>
</a>
</li>
</ul>
</nav>
</li>
<li class="md-nav__item md-nav__item--nested">
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_3" >
<label class="md-nav__link" for="__nav_3" id="__nav_3_label" tabindex="0">
<span class="md-ellipsis">
Plugins
</span>
<span class="md-nav__icon md-icon"></span>
</label>
<nav class="md-nav" data-md-level="1" aria-labelledby="__nav_3_label" aria-expanded="false">
<label class="md-nav__title" for="__nav_3">
<span class="md-nav__icon md-icon"></span>
Plugins
</label>
<ul class="md-nav__list" data-md-scrollfix>
<li class="md-nav__item">
<a href="../" class="md-nav__link">
<span class="md-ellipsis">
Plugins
</span>
</a>
</li>
<li class="md-nav__item md-nav__item--nested">
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_3_2" >
<label class="md-nav__link" for="__nav_3_2" id="__nav_3_2_label" tabindex="0">
<span class="md-ellipsis">
Community Plugins
</span>
<span class="md-nav__icon md-icon"></span>
</label>
<nav class="md-nav" data-md-level="2" aria-labelledby="__nav_3_2_label" aria-expanded="false">
<label class="md-nav__title" for="__nav_3_2">
<span class="md-nav__icon md-icon"></span>
Community Plugins
</label>
<ul class="md-nav__list" data-md-scrollfix>
<li class="md-nav__item">
<a href="../community/" class="md-nav__link">
<span class="md-ellipsis">
All Plugins
</span>
</a>
</li>
<li class="md-nav__item">
<a href="../categories/" class="md-nav__link">
<span class="md-ellipsis">
By Category
</span>
</a>
</li>
<li class="md-nav__item">
<a href="../tags/" class="md-nav__link">
<span class="md-ellipsis">
By Tag
</span>
</a>
</li>
<li class="md-nav__item">
<a href="../publishers/" class="md-nav__link">
<span class="md-ellipsis">
Publishers
</span>
</a>
</li>
</ul>
</nav>
</li>
</ul>
</nav>
</li>
<li class="md-nav__item md-nav__item--nested">
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_4" >
<label class="md-nav__link" for="__nav_4" id="__nav_4_label" tabindex="0">
<span class="md-ellipsis">
Community
</span>
<span class="md-nav__icon md-icon"></span>
</label>
<nav class="md-nav" data-md-level="1" aria-labelledby="__nav_4_label" aria-expanded="false">
<label class="md-nav__title" for="__nav_4">
<span class="md-nav__icon md-icon"></span>
Community
</label>
<ul class="md-nav__list" data-md-scrollfix>
<li class="md-nav__item">
<a href="../../about/" class="md-nav__link">
<span class="md-ellipsis">
About
</span>
</a>
</li>
<li class="md-nav__item">
<a href="../../about/team/" class="md-nav__link">
<span class="md-ellipsis">
Team
</span>
</a>
</li>
<li class="md-nav__item">
<a href="../../support/" class="md-nav__link">
<span class="md-ellipsis">
Get Support
</span>
</a>
</li>
<li class="md-nav__item">
<a href="../../contribute/" class="md-nav__link">
<span class="md-ellipsis">
Contribute
</span>
</a>
</li>
<li class="md-nav__item">
<a href="../../fund/" class="md-nav__link">
<span class="md-ellipsis">
Fund InvenTree
</span>
</a>
</li>
<li class="md-nav__item">
<a href="../../newsletter/" class="md-nav__link">
<span class="md-ellipsis">
Newsletter
</span>
</a>
</li>
</ul>
</nav>
</li>
<li class="md-nav__item">
<a href="https://docs.inventree.org/en/stable/" class="md-nav__link">
<span class="md-ellipsis">
Docs
</span>
</a>
</li>
<li class="md-nav__item">
<a href="https://demo.inventree.org/" class="md-nav__link">
<span class="md-ellipsis">
Demo
</span>
</a>
</li>
</ul>
</nav>
<aside class="iv-plugin-meta md-typeset iv-plugin-meta--sidebar">
<a href="../community/" class="iv-plugin-meta__back"><i class="ti ti-arrow-left"></i> All Plugins</a>
<h2 class="iv-plugin-meta__title">inventree-zebra-plugin</h2>
<div class="iv-plugin-meta__row">
<span class="iv-plugin-meta__label">Publisher</span>
<a href="../publishers/#sergeolacruz" class="iv-plugin-meta__author">
<img src="https://github.com/SergeoLacruz.png?size=40" alt="" class="iv-avatar" width="20" height="20" loading="lazy">
SergeoLacruz
</a>
</div>
<div class="iv-plugin-meta__row">
<span class="iv-plugin-meta__label">License</span>
<span>
<i class="ti ti-brand-open-source" title="Open source"></i>
MIT
</span>
</div>
<div class="iv-plugin-meta__row">
<span class="iv-plugin-meta__label">Status</span>
<span>
<span class="iv-status iv-status--ok"><i class="ti ti-circle-check"></i> Stable</span>
<span class="iv-status iv-status--ok"><i class="ti ti-circle-check"></i> Maintained</span>
</span>
</div>
<ul class="iv-plugin-meta__links">
<li><a href="https://github.com/SergeoLacruz/inventree-zebra-plugin/issues"><i class="ti ti-bug"></i> Issue Tracker</a></li>
<li><a href="https://github.com/SergeoLacruz/inventree-zebra-plugin"><i class="ti ti-brand-github"></i> Source on GitHub</a></li>
</ul>
<div class="iv-plugin-meta__row">
<span class="iv-plugin-meta__label">Categories</span>
<span><a href="../categories/#printer" class="iv-chip iv-chip--category">Printer</a>
</span>
</div>
<div class="iv-plugin-meta__row">
<span class="iv-plugin-meta__label">Tags</span>
<span><a href="../tags/#label" class="iv-chip ">Label</a>
<a href="../tags/#printer" class="iv-chip ">Printer</a>
<a href="../tags/#zebra" class="iv-chip ">Zebra</a>
<a href="../tags/#zpl" class="iv-chip ">ZPL</a>
</span>
</div>
</aside>
</div>
</div>
</div>
<div class="md-sidebar md-sidebar--secondary" data-md-component="sidebar" data-md-type="toc" >
<div class="md-sidebar__scrollwrap">
<input class="md-nav__toggle md-toggle" type="checkbox" id="__toc">
<div class="md-sidebar-button__wrapper">
<label class="md-sidebar-button" for="__toc"></label>
</div>
<div class="md-sidebar__inner">
<nav class="md-nav md-nav--secondary" aria-label="On this page">
<label class="md-nav__title" for="__toc">
<span class="md-nav__icon md-icon"></span>
On this page
</label>
<ul class="md-nav__list" data-md-component="toc" data-md-scrollfix>
<li class="md-nav__item">
<a href="#installation" class="md-nav__link">
<span class="md-ellipsis">
<span class="md-typeset">
Installation
</span>
</span>
</a>
</li>
<li class="md-nav__item">
<a href="#configuration-options" class="md-nav__link">
<span class="md-ellipsis">
<span class="md-typeset">
Configuration Options
</span>
</span>
</a>
<nav class="md-nav" aria-label="Configuration Options">
<ul class="md-nav__list">
<li class="md-nav__item">
<a href="#printer-interface" class="md-nav__link">
<span class="md-ellipsis">
<span class="md-typeset">
Printer Interface
</span>
</span>
</a>
</li>
<li class="md-nav__item">
<a href="#ip-address" class="md-nav__link">
<span class="md-ellipsis">
<span class="md-typeset">
IP address
</span>
</span>
</a>
</li>
<li class="md-nav__item">
<a href="#port" class="md-nav__link">
<span class="md-ellipsis">
<span class="md-typeset">
Port
</span>
</span>
</a>
</li>
<li class="md-nav__item">
<a href="#local-device" class="md-nav__link">
<span class="md-ellipsis">
<span class="md-typeset">
Local Device
</span>
</span>
</a>
</li>
<li class="md-nav__item">
<a href="#threshold" class="md-nav__link">
<span class="md-ellipsis">
<span class="md-typeset">
Threshold
</span>
</span>
</a>
</li>
<li class="md-nav__item">
<a href="#darkness" class="md-nav__link">
<span class="md-ellipsis">
<span class="md-typeset">
Darkness
</span>
</span>
</a>
</li>
<li class="md-nav__item">
<a href="#dots-per-mm" class="md-nav__link">
<span class="md-ellipsis">
<span class="md-typeset">
Dots per mm
</span>
</span>
</a>
</li>
<li class="md-nav__item">
<a href="#printer-init" class="md-nav__link">
<span class="md-ellipsis">
<span class="md-typeset">
Printer init
</span>
</span>
</a>
</li>
<li class="md-nav__item">
<a href="#get-printer-info" class="md-nav__link">
<span class="md-ellipsis">
<span class="md-typeset">
Get Printer info
</span>
</span>
</a>
</li>
</ul>
</nav>
</li>
<li class="md-nav__item">
<a href="#label-template" class="md-nav__link">
<span class="md-ellipsis">
<span class="md-typeset">
Label Template
</span>
</span>
</a>
</li>
<li class="md-nav__item">
<a href="#multi-printer-hack" class="md-nav__link">
<span class="md-ellipsis">
<span class="md-typeset">
Multi printer hack
</span>
</span>
</a>
</li>
<li class="md-nav__item">
<a href="#quality-matters" class="md-nav__link">
<span class="md-ellipsis">
<span class="md-typeset">
Quality matters
</span>
</span>
</a>
<nav class="md-nav" aria-label="Quality matters">
<ul class="md-nav__list">
<li class="md-nav__item">
<a href="#secret-1-scale" class="md-nav__link">
<span class="md-ellipsis">
<span class="md-typeset">
Secret 1, Scale
</span>
</span>
</a>
</li>
<li class="md-nav__item">
<a href="#secret-2-darkness" class="md-nav__link">
<span class="md-ellipsis">
<span class="md-typeset">
Secret 2: Darkness
</span>
</span>
</a>
</li>
</ul>
</nav>
</li>
<li class="md-nav__item">
<a href="#in-printer-rendering" class="md-nav__link">
<span class="md-ellipsis">
<span class="md-typeset">
In printer rendering
</span>
</span>
</a>
<nav class="md-nav" aria-label="In printer rendering">
<ul class="md-nav__list">
<li class="md-nav__item">
<a href="#preview" class="md-nav__link">
<span class="md-ellipsis">
<span class="md-typeset">
Preview
</span>
</span>
</a>
</li>
</ul>
</nav>
</li>
<li class="md-nav__item">
<a href="#getting-printer-info" class="md-nav__link">
<span class="md-ellipsis">
<span class="md-typeset">
Getting printer info
</span>
</span>
</a>
</li>
<li class="md-nav__item">
<a href="#how-it-works" class="md-nav__link">
<span class="md-ellipsis">
<span class="md-typeset">
How it works
</span>
</span>
</a>
</li>
</ul>
</nav>
</div>
</div>
</div>
<div class="md-content" data-md-component="content">
<article class="md-content__inner md-typeset">
<a id="__skip" tabindex="-1"></a>
<h1>inventree-zebra-plugin</h1>
<aside class="iv-plugin-meta md-typeset iv-plugin-meta--content">
<a href="../community/" class="iv-plugin-meta__back"><i class="ti ti-arrow-left"></i> All Plugins</a>
<h2 class="iv-plugin-meta__title">inventree-zebra-plugin</h2>
<div class="iv-plugin-meta__row">
<span class="iv-plugin-meta__label">Publisher</span>
<a href="../publishers/#sergeolacruz" class="iv-plugin-meta__author">
<img src="https://github.com/SergeoLacruz.png?size=40" alt="" class="iv-avatar" width="20" height="20" loading="lazy">
SergeoLacruz
</a>
</div>
<div class="iv-plugin-meta__row">
<span class="iv-plugin-meta__label">License</span>
<span>
<i class="ti ti-brand-open-source" title="Open source"></i>
MIT
</span>
</div>
<div class="iv-plugin-meta__row">
<span class="iv-plugin-meta__label">Status</span>
<span>
<span class="iv-status iv-status--ok"><i class="ti ti-circle-check"></i> Stable</span>
<span class="iv-status iv-status--ok"><i class="ti ti-circle-check"></i> Maintained</span>
</span>
</div>
<ul class="iv-plugin-meta__links">
<li><a href="https://github.com/SergeoLacruz/inventree-zebra-plugin/issues"><i class="ti ti-bug"></i> Issue Tracker</a></li>
<li><a href="https://github.com/SergeoLacruz/inventree-zebra-plugin"><i class="ti ti-brand-github"></i> Source on GitHub</a></li>
</ul>
<div class="iv-plugin-meta__row">
<span class="iv-plugin-meta__label">Categories</span>
<span><a href="../categories/#printer" class="iv-chip iv-chip--category">Printer</a>
</span>
</div>
<div class="iv-plugin-meta__row">
<span class="iv-plugin-meta__label">Tags</span>
<span><a href="../tags/#label" class="iv-chip ">Label</a>
<a href="../tags/#printer" class="iv-chip ">Printer</a>
<a href="../tags/#zebra" class="iv-chip ">Zebra</a>
<a href="../tags/#zpl" class="iv-chip ">ZPL</a>
</span>
</div>
</aside>
<p>Zebra Label Printer Plugin for Inventree</p>
<p>This is a label printing plugin for <a href="https://inventree.org">InvenTree</a>, which provides
support for Zebra Label printers. It allows two modes of operation:</p>
<ul>
<li>Use the ZPL library to convert the png data provided by InvenTree to Zebra's bitmap
format and send this to the printer.</li>
<li>Write a ZPL template and let the printer do the rendering.</li>
</ul>
<p>It can output the print data either to a local printer connected to the computer via
USB or to a network printer with an IP address. The output can be configured in the
InvenTree plugin user interface.</p>
<p>Error handling is very basic.</p>
<h2 id="installation">Installation<a class="headerlink" href="#installation" title="Permanent link">&para;</a></h2>
<p>The plugin is on pypi. Install this plugin using pip with the following command:</p>
<div class="highlight"><pre><span></span><code>pip install inventree-zebra-plugin
</code></pre></div>
<h2 id="configuration-options">Configuration Options<a class="headerlink" href="#configuration-options" title="Permanent link">&para;</a></h2>
<h3 id="printer-interface">Printer Interface<a class="headerlink" href="#printer-interface" title="Permanent link">&para;</a></h3>
<p>Here you can chose between local printer, network printer or the labelary.com API.
The last one is useful for preview of labels, especially when ZPL templates are used.
Default value is a local printer.</p>
<h3 id="ip-address">IP address<a class="headerlink" href="#ip-address" title="Permanent link">&para;</a></h3>
<p>In case you use an IP printer set the IPv4 address here.</p>
<h3 id="port">Port<a class="headerlink" href="#port" title="Permanent link">&para;</a></h3>
<p>In case you use an IP printer set the port number here. The default port number is 9100.</p>
<h3 id="local-device">Local Device<a class="headerlink" href="#local-device" title="Permanent link">&para;</a></h3>
<p>In case of a local printer set the device here. The plugin actually puts the data directly to the
device /dev/usb/lp0. No printer spooler is involved so far.</p>
<h3 id="threshold">Threshold<a class="headerlink" href="#threshold" title="Permanent link">&para;</a></h3>
<p>The image from pillow comes in greyscale. The plugin converts it ti pure BW because this gives a much
better print result. The threshold between black and white can be adjusted here.</p>
<h3 id="darkness">Darkness<a class="headerlink" href="#darkness" title="Permanent link">&para;</a></h3>
<p>This is a value that influences the darkness of the print. Allowed values are 0 (white) to 30 (black).
It is directly converted to a SD command in ZPL. If your black areas tend to blur out reduce the
darkness.</p>
<h3 id="dots-per-mm">Dots per mm<a class="headerlink" href="#dots-per-mm" title="Permanent link">&para;</a></h3>
<p>This sets the resolution of the printer. You can choose between 8, 12 and 24
dpmm depending on your printer model.</p>
<h3 id="printer-init">Printer init<a class="headerlink" href="#printer-init" title="Permanent link">&para;</a></h3>
<p>This string added to the printer output. It can be used to set special commands
e.g. label rotation, mirror or white on black. Please refer to the ZPL manual
for more information.</p>
<p>Zebra printers store settings after printing. So if a rotated label has been
printed all following label will be rotated unless you change it. The default
sets the printer to settings that have been useful for me. You might want to
change it according to your requirements. Please keep in mind that this string
is passed directly to the printer without any checks. So be careful when editing
here.</p>
<h3 id="get-printer-info">Get Printer info<a class="headerlink" href="#get-printer-info" title="Permanent link">&para;</a></h3>
<p>Turn this switch on to display a collection of all IP printers below on this page.</p>
<h2 id="label-template">Label Template<a class="headerlink" href="#label-template" title="Permanent link">&para;</a></h2>
<p>The label needs a template described in html and css. The template should
start with a page definition that defines the label size as shown below:</p>
<div class="highlight"><pre><span></span><code> @page {
{% localize off %}
height: {{ height }}mm;
width: {{ width }}mm;
{% endlocalize %}
padding: 0mm;
margin: 0px 0px 0px 0px;
background-color: white;
}
</code></pre></div>
<p>The height and width parameters are defined in the InvenTree admin panel
in the label section. These values have to fit the label size that is in
the printer. See the example templates for details on template definition.</p>
<h2 id="multi-printer-hack">Multi printer hack<a class="headerlink" href="#multi-printer-hack" title="Permanent link">&para;</a></h2>
<p>We have the requirement to print labels in different sizes. As we do not
want to change the reel for each print we set up a second printer loaded
with a different label size. InvenTree is not yet able to handle different
printers. So I added a multi printer hack. You can define a key with an IP
address in the label meta data:</p>
<div class="highlight"><pre><span></span><code>{"ip_address":"xxx.yyy.zzz.eee"}
{"darkness":xx}
</code></pre></div>
<p>If the printer driver finds that key, the IP address from the printer settings
is overwritten with the address from the meta data. So the print will end up
in another printer.</p>
<p>Only the IP address and darkness can be overwritten so far. All other settings remain.</p>
<h2 id="quality-matters">Quality matters<a class="headerlink" href="#quality-matters" title="Permanent link">&para;</a></h2>
<p>The InvenTree printer system uses a graphical representation of the label. The label is described
in HTML, converted to a pixel graphic and printed. The advantage is independency from printer
models and systems. Disadvantage is larger data and quality problems with darkness and scaling.
Let's have a look at the following printout:</p>
<p><img alt="QRCodes" src="/assets/plugins/qr.png" /></p>
<p>Both codes have been printed with the same printer on the same reel. The left one is
hardly readable using my mobile. The right one reads easily even as it is smaller.</p>
<h3 id="secret-1-scale">Secret 1, Scale<a class="headerlink" href="#secret-1-scale" title="Permanent link">&para;</a></h3>
<p>The printer resolution is 8 dots per mm resulting in a dot size of 0.125mm. The QR code pixel
and the printer pixel size should be integrally divisible. The code in the picture has 21
pixels plus one in the frame, so 23 pixel. The frame is set in the HTML description.</p>
<div class="highlight"><pre><span></span><code>{% qrcode qr_data border=1 %}
</code></pre></div>
<p>I selected two dots per pixel. So 23 * 2 * 0.125 = 6.125mm. If the size is something different
scaling takes place and the result might be worse. If you like a larger printout select more
dots per pixel. From a certain size upwards the value does not matter any more because the code
gets large enough to be readable in any quality.</p>
<h3 id="secret-2-darkness">Secret 2: Darkness<a class="headerlink" href="#secret-2-darkness" title="Permanent link">&para;</a></h3>
<p>Zebra printers allow to set the darkness of the print in values between 0 (white) and 30 (max)
The left code was printed with a value of 30. The black dots tend to blur out a bit resulting
in smaller white areas. The right code was printed with a value of 25 resulting in larger white
pixels. The darkness values are just examples. Your values will differ based on printer model,
media type and printer age. The printer head tends to wear out and the darkness value might
need an adjustment from time to time.</p>
<h2 id="in-printer-rendering">In printer rendering<a class="headerlink" href="#in-printer-rendering" title="Permanent link">&para;</a></h2>
<p>You can also bypass the InvenTree print engine and render the label inside the printer.
The printer knows how to render the label for best quality. Inspired by the
inventree-zpl-plugin <a href="https://github.com/yellowcrescent/inventree-zpl-plugin">inventree-zpl-plugin</a> a similar
function was aded to the zebra printer driver. You can write a ZPL template and upload
it to the InvenTree Label templates as usual. Add a command to the template's metadata:</p>
<div class="highlight"><pre><span></span><code>{"zpl_template": "True"}
</code></pre></div>
<p>In that case the printer driver ignores the picture rendered by WeasyPrint. Instead
it calls the render_to_string function of the template and sends the
result to the printer. The result can look like:</p>
<p><img alt="Label Example" src="/assets/plugins/example_label.png" /></p>
<p>The upper label was created using this template:</p>
<div class="highlight"><pre><span></span><code>{% autoescape off %}
^FT30,25^A0N,18,22^FDIPN^FS
^FT150,30^FB100,1,,C,,^A0N,24,32^FDACME^FS
^FT320,25^A0N,18,22^FD{{ item.pk }}^FS
^FT100,70^FB200,2,,C,,^A0N,18,22^FD{{ part.name }}^FS
^FT100,100^FB200,1,,C,,^A0N,18,22^FD{{ part.manufacturer_parts.first.manufacturer.name }}^FS
^FT30,150^FB340,1,,C,,^A0N,30,40^FD{{ part.IPN }}^FS
^FT20,210^FB360,3,,L,,^A0N,18,22^FD{{ part.description }}^FS
^FT15,110^BQ,2,3^FDQA,{{ part.IPN }}^FS
^FT310,130^BQ,2,3^FDQA,{{ qr_data }}^FS
{% endautoescape %}
</code></pre></div>
<p>Autoescape must be off. We do not need &amp;quot and similar escapes here.
Context variables can be used as usual.</p>
<div class="admonition warning">
<p class="admonition-title">Limitation</p>
<p>ZPL commands starting with backslash like \&amp; cannot be used so far.</p>
</div>
<h3 id="preview">Preview<a class="headerlink" href="#preview" title="Permanent link">&para;</a></h3>
<p>The printer driver allows an output device called "preview". If this is selected
the ZPL code is sent to the API of labelary.com. The API sends back pdf data
which is displayed in a new browser window. This is helpful while writing ZPL
templates but works with HTML templates too. Please be careful and do not send
confidential information to the API.</p>
<p>In case you need to pass a proxy for the POST requests set the environment
variables PROXY_CON and PROXY_URL on the server. The plugin does not have
settings for this.</p>
<h2 id="getting-printer-info">Getting printer info<a class="headerlink" href="#getting-printer-info" title="Permanent link">&para;</a></h2>
<p>With the multi printer feature it can happen that you have several printers in
your setup. When the Get Printer Info switch is set ON, the driver calls each printer
once a minute and collects some info about it. It calls the printer configured
in the settings as well as all printers it finds in the label templates.
In case a printer is unreachable, an error message is shown. If a printer is used
in several templates it is listed only once.</p>
<p>The printer info feature works for local USB printers too.</p>
<p><img alt="Printer Info" src="/assets/plugins/printer_info.png" /></p>
<h2 id="how-it-works">How it works<a class="headerlink" href="#how-it-works" title="Permanent link">&para;</a></h2>
<p>First import all the stuff you need. Here we use the translation mechanism from Django for multi language support.
The import the InvenTree libs and everything you need for plugin. Here we have ZPL for the Zebra bitmaps and socket
for the IP connection to the printer.</p>
<p>The next part is this:</p>
<div class="highlight"><pre><span></span><code><span class="k">class</span><span class="w"> </span><span class="nc">ZebraLabelPlugin</span><span class="p">(</span><span class="n">LabelPrintingMixin</span><span class="p">,</span> <span class="n">SettingsMixin</span><span class="p">,</span> <span class="n">IntegrationPluginBase</span><span class="p">):</span>
<span class="n">AUTHOR</span> <span class="o">=</span> <span class="s2">"Michael Buchmann"</span>
<span class="n">DESCRIPTION</span> <span class="o">=</span> <span class="s2">"Label printing plugin for Zebra printers"</span>
<span class="n">VERSION</span> <span class="o">=</span> <span class="n">ZEBRA_PLUGIN_VERSION</span>
<span class="n">NAME</span> <span class="o">=</span> <span class="s2">"Zebra labels"</span>
<span class="n">SLUG</span> <span class="o">=</span> <span class="s2">"zebra"</span>
<span class="n">TITLE</span> <span class="o">=</span> <span class="s2">"Zebra Label Printer"</span>
</code></pre></div>
<p>The name of the class can be freely chosen but should be different from SLUG. Otherwise it does not
show up. You reference to it in the entry_points section of the setup.py file.
The parameters need to be like in the example. Then there is the description block. The keywords are fixed and
need to be like that. The values are found in the UI as shown in the picture below.</p>
<p><img alt="Config" src="/assets/plugins/plugin.png" /></p>
<p>Then we add the configuration parameters.
<div class="highlight"><pre><span></span><code><span class="n">SETTINGS</span> <span class="o">=</span> <span class="p">{</span>
<span class="s1">'CONNECTION'</span><span class="p">:</span> <span class="p">{</span>
<span class="s1">'name'</span><span class="p">:</span> <span class="n">_</span><span class="p">(</span><span class="s1">'Printer Interface'</span><span class="p">),</span>
<span class="s1">'description'</span><span class="p">:</span> <span class="n">_</span><span class="p">(</span><span class="s1">'Select local or network printer'</span><span class="p">),</span>
<span class="s1">'choices'</span><span class="p">:</span> <span class="p">[(</span><span class="s1">'local'</span><span class="p">,</span><span class="s1">'Local printer e.g. USB'</span><span class="p">),(</span><span class="s1">'network'</span><span class="p">,</span><span class="s1">'Network printer with IP address'</span><span class="p">)],</span>
<span class="s1">'default'</span><span class="p">:</span> <span class="s1">'local'</span><span class="p">,</span>
<span class="p">},</span>
<span class="s1">'PORT'</span><span class="p">:</span> <span class="p">{</span>
<span class="s1">'name'</span><span class="p">:</span> <span class="n">_</span><span class="p">(</span><span class="s1">'Port'</span><span class="p">),</span>
<span class="s1">'description'</span><span class="p">:</span> <span class="n">_</span><span class="p">(</span><span class="s1">'Network port in case of network printer'</span><span class="p">),</span>
<span class="s1">'default'</span><span class="p">:</span> <span class="s1">'9100'</span><span class="p">,</span>
<span class="p">},</span>
<span class="p">}</span>
</code></pre></div></p>
<p>We need to define a dict with the name SETTINGS. Please be aware the keys need to be in all CAPITAL letters like CONNECTION.
Simple parameters are just text strings like the port. We can set a default. The name and description shows up in the UI.
Instead of a simple text we can also use choices. The first string like "local" it the key you use in the code. The second
one is the description in the UI.
After that we need to define a function:</p>
<div class="highlight"><pre><span></span><code><span class="k">def</span><span class="w"> </span><span class="nf">print_label</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="o">**</span><span class="n">kwargs</span><span class="p">){</span>
</code></pre></div>
<p>The kwargs is a dict with the following keys:</p>
<ul>
<li>pdf_data</li>
<li>user</li>
<li>filename</li>
<li>label_instance</li>
<li>item_instance</li>
<li>width</li>
<li>height</li>
<li>png_file</li>
</ul>
<p>The item_instance is the part to be printed. This allows direct access to all part data. The arguments width and height
come from the settings of the label in the admin interface. NOT from the html template.
For the Zebra printer we use the png_file. This is a PIL (python Pillow) object with the graphic of the label in PNG format.
The PIL object is a greyscale image. Because the printer can just print pure BW we convert this to a BW picture.</p>
<div class="highlight"><pre><span></span><code><span class="n">fn</span> <span class="o">=</span> <span class="k">lambda</span> <span class="n">x</span> <span class="p">:</span> <span class="mi">255</span> <span class="k">if</span> <span class="n">x</span> <span class="o">&gt;</span> <span class="n">Threshold</span> <span class="k">else</span> <span class="mi">0</span>
<span class="n">label_image</span> <span class="o">=</span> <span class="n">label_image</span><span class="o">.</span><span class="n">convert</span><span class="p">(</span><span class="s1">'L'</span><span class="p">)</span><span class="o">.</span><span class="n">point</span><span class="p">(</span><span class="n">fn</span><span class="p">,</span> <span class="n">mode</span><span class="o">=</span><span class="s1">'1'</span><span class="p">)</span>
</code></pre></div>
<p>The threshold can by modified by a plugin parameter. 200 is a good starting value. This trick gives much better prints.
We can put the result of this directly into the ZPL library.</p>
<div class="highlight"><pre><span></span><code><span class="n">l</span> <span class="o">=</span> <span class="n">zpl</span><span class="o">.</span><span class="n">Label</span><span class="p">(</span><span class="n">Height</span><span class="p">,</span> <span class="n">Width</span><span class="p">,</span> <span class="n">dpmm</span><span class="p">)</span>
<span class="n">li</span><span class="o">.</span><span class="n">set_darkness</span><span class="p">(</span><span class="n">darkness</span><span class="p">)</span>
<span class="o">...</span>
<span class="n">l</span><span class="o">.</span><span class="n">write_graphic</span><span class="p">(</span><span class="n">label_image</span><span class="p">,</span> <span class="n">Width</span><span class="p">)</span>
<span class="n">l</span><span class="o">.</span><span class="n">endorigin</span><span class="p">()</span>
</code></pre></div>
<p>Width and Height define is the size of the label in millimeters as described above.
The third parameter is the resolution of the printer in dots per mm.
write_graphic converts the pillow data to ZPL.</p>
<p>The plugin was tested with a labels of various sizes defined using css and html. The DPI scaling
can be chosen in the InvenTree settings. 800 is a good value because it gives high quality.</p>
<p>The rest of the code is just output to the printer on different interfaces.</p>
<p>Happy printing.</p>
</article>
</div>
<script>var target=document.getElementById(location.hash.slice(1));target&&target.name&&(target.checked=target.name.startsWith("__tabbed_"))</script>
</div>
<button type="button" class="md-top md-icon" data-md-component="top" hidden>
<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide lucide-circle-arrow-up" viewBox="0 0 24 24"><circle cx="12" cy="12" r="10"/><path d="m16 12-4-4-4 4M12 16V8"/></svg>
Back to top
</button>
</main>
<footer class="md-footer">
<div class="md-footer-meta md-typeset">
<div class="md-footer-meta__inner md-grid">
<div class="md-copyright">
<div class="md-copyright__highlight">
Copyright &copy; 2021-now InvenTree
</div>
Made with
<a href="https://zensical.org/" target="_blank" rel="noopener">
Zensical
</a>
</div>
<div class="md-social">
<a href="https://github.com/inventree/inventree" target="_blank" rel="noopener" title="InvenTree on GitHub" class="md-social__link">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--! Font Awesome Free 7.3.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2026 Fonticons, Inc.--><path fill="currentColor" d="M216.5 362.5c-66-8-112.5-55.5-112.5-117 0-25 9-52 24-70-6.5-16.5-5.5-51.5 2-66 20-2.5 47 8 63 22.5 19-6 39-9 63.5-9s44.5 3 62.5 8.5c15.5-14 43-24.5 63-22 7 13.5 8 48.5 1.5 65.5 16 19 24.5 44.5 24.5 70.5 0 61.5-46.5 108-113.5 116.5 17 11 28.5 35 28.5 62.5v52c0 15 12.5 23.5 27.5 17.5C441 459.5 512 369 512 257 512 115.5 397 0 255.5 0S0 115.5 0 257c0 111 70.5 203 165.5 237.5 13.5 5 26.5-4 26.5-17.5v-40c-7 3-16 5-24 5-33 0-52.5-18-66.5-51.5-5.5-13.5-11.5-21.5-23-23-6-.5-8-3-8-6 0-6 10-10.5 20-10.5 14.5 0 27 9 40 27.5 10 14.5 20.5 21 33 21s20.5-4.5 32-16c8.5-8.5 15-16 21-21"/></svg>
</a>
<a href="https://chaos.social/@InvenTree" target="_blank" rel="noopener me" title="InvenTree on Mastodon" class="md-social__link">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--! Font Awesome Free 7.3.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2026 Fonticons, Inc.--><path fill="currentColor" d="M433 179.1c0-97.2-63.7-125.7-63.7-125.7-62.5-28.7-228.6-28.4-290.5 0 0 0-63.7 28.5-63.7 125.7 0 115.7-6.6 259.4 105.6 289.1 40.5 10.7 75.3 13 103.3 11.4 50.8-2.8 79.3-18.1 79.3-18.1l-1.7-36.9s-36.3 11.4-77.1 10.1c-40.4-1.4-83-4.4-89.6-54-.6-4.6-.9-9.3-.9-13.9 85.6 20.9 158.7 9.1 178.7 6.7 56.1-6.7 105-41.3 111.2-72.9 9.8-49.8 9-121.5 9-121.5zm-75.1 125.2h-46.6V190.1c0-49.7-64-51.6-64 6.9v62.5H201V197c0-58.5-64-56.6-64-6.9v114.2H90.3c0-122.1-5.2-147.9 18.4-175 25.9-28.9 79.8-30.8 103.8 6.1l11.6 19.5 11.6-19.5c24.1-37.1 78.1-34.8 103.8-6.1 23.7 27.3 18.4 53 18.4 175"/></svg>
</a>
<a href="https://reddit.com/r/inventree" target="_blank" rel="noopener" title="InvenTree on Reddit" class="md-social__link">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--! Font Awesome Free 7.3.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2026 Fonticons, Inc.--><path fill="currentColor" d="M0 256C0 114.6 114.6 0 256 0s256 114.6 256 256-114.6 256-256 256H37.1c-13.7 0-20.5-16.5-10.9-26.2L75 437C28.7 390.7 0 326.7 0 256m349.6-102.4c23.6 0 42.7-19.1 42.7-42.7s-19.1-42.7-42.7-42.7c-20.6 0-37.8 14.6-41.8 34-34.5 3.7-61.4 33-61.4 68.4v.2c-37.5 1.6-71.8 12.3-99 29.1-10.1-7.8-22.8-12.5-36.5-12.5-33 0-59.8 26.8-59.8 59.8 0 24 14.1 44.6 34.4 54.1 2 69.4 77.6 125.2 170.6 125.2s168.7-55.9 170.6-125.3c20.2-9.6 34.1-30.2 34.1-54 0-33-26.8-59.8-59.8-59.8-13.7 0-26.3 4.6-36.4 12.4-27.4-17-62.1-27.7-100-29.1v-.2c0-25.4 18.9-46.5 43.4-49.9 4.4 18.8 21.3 32.8 41.5 32.8zm-172.5 93.3c16.7 0 29.5 17.6 28.5 39.3s-13.5 29.6-30.3 29.6-31.4-8.8-30.4-30.5S160.3 247 177 247zm190.1 38.3c1 21.7-13.7 30.5-30.4 30.5s-29.3-7.9-30.3-29.6 11.8-39.3 28.5-39.3 31.2 16.6 32.1 38.3zm-48.1 56.7c-10.3 24.6-34.6 41.9-63 41.9s-52.7-17.3-63-41.9c-1.2-2.9.8-6.2 3.9-6.5 18.4-1.9 38.3-2.9 59.1-2.9s40.7 1 59.1 2.9c3.1.3 5.1 3.6 3.9 6.5"/></svg>
</a>
<a href="https://twitter.com/inventreedb" target="_blank" rel="noopener" title="InvenTree on Twitter" class="md-social__link">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--! Font Awesome Free 7.3.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2026 Fonticons, Inc.--><path fill="currentColor" d="M357.2 48h70.6L273.6 224.2 455 464H313L201.7 318.6 74.5 464H3.8l164.9-188.5L-5.2 48h145.6l100.5 132.9zm-24.8 373.8h39.1L119.1 88h-42z"/></svg>
</a>
<a href="https://hub.docker.com/r/inventree/inventree" target="_blank" rel="noopener" title="InvenTree on Docker" class="md-social__link">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512"><!--! Font Awesome Free 7.3.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2026 Fonticons, Inc.--><path fill="currentColor" d="M349.9 236.3h-66.1v-59.4h66.1zm0-204.3h-66.1v60.7h66.1zm78.2 144.8H362v59.4h66.1zm-156.3-72.1h-66.1v60.1h66.1zm78.1 0h-66.1v60.1h66.1zm276.8 100c-14.4-9.7-47.6-13.2-73.1-8.4-3.3-24-16.7-44.9-41.1-63.7l-14-9.3-9.3 14c-18.4 27.8-23.4 73.6-3.7 103.8-8.7 4.7-25.8 11.1-48.4 10.7H2.4c-8.7 50.8 5.8 116.8 44 162.1 37.1 43.9 92.7 66.2 165.4 66.2 157.4 0 273.9-72.5 328.4-204.2 21.4.4 67.6.1 91.3-45.2 1.5-2.5 6.6-13.2 8.5-17.1zm-511.1-27.9h-66v59.4h66.1v-59.4zm78.1 0h-66.1v59.4h66.1zm78.1 0h-66.1v59.4h66.1zm-78.1-72.1h-66.1v60.1h66.1z"/></svg>
</a>
</div>
</div>
</div>
</footer>
</div>
<div class="md-dialog" data-md-component="dialog" role="status" aria-atomic="true">
<div class="md-dialog__inner md-typeset"></div>
</div>
<script id="__config" type="application/json">{"annotate":null,"base":"../..","features":["content.code.copy","header.autohide","navigation.instant","navigation.tracking","navigation.tabs","navigation.top","toc.follow"],"redirect":"../../redirect.json","search":"../../assets/javascripts/workers/search.719e0d91.min.js","tags":null,"translations":{"clipboard.copied":"Copied to clipboard","clipboard.copy":"Copy to clipboard","clipboard.error":"Could not copy to clipboard","search.result.more.one":"1 more on this page","search.result.more.other":"# more on this page","search.result.none":"No matching documents","search.result.one":"1 matching document","search.result.other":"# matching documents","search.result.placeholder":"Type to start searching","search.result.term.missing":"Missing","select.version":"Select version"},"version":null}</script>
<script src="../../assets/javascripts/bundle.3cb411a8.min.js"></script>
<script src="../../javascripts/splide.min.js"></script>
<script src="../../javascripts/extra.js"></script>
</body>
</html>