mirror of
				https://github.com/inventree/inventree-website.git
				synced 2025-11-03 23:15:45 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			320 lines
		
	
	
		
			12 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			320 lines
		
	
	
		
			12 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
<!DOCTYPE html>
 | 
						||
<html lang=" en-US ">
 | 
						||
 | 
						||
<head>
 | 
						||
    <meta charset="UTF-8">
 | 
						||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
 | 
						||
<meta name="viewport" content="width=device-width, initial-scale=1">
 | 
						||
 | 
						||
<link rel="stylesheet" href="/assets/splide/css/splide.min.css">
 | 
						||
<link rel="stylesheet" href="/assets/index.css">
 | 
						||
<link rel="shortcut icon" type="image/png" href="/assets/icon/favicon.ico">
 | 
						||
 | 
						||
<script src="/assets/splide/js/splide.min.js"></script>
 | 
						||
 | 
						||
<!-- Fontawesome integration -->
 | 
						||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.1/css/all.min.css">
 | 
						||
 | 
						||
<title>InvenTree - Inventree Cups Plugin</title>
 | 
						||
<meta itemprop="description" name="description"
 | 
						||
    content="InvenTree is an open-source inventory management system which provides intuitive parts management and stock control. It is at the center of an ecosystem of a..." />
 | 
						||
 | 
						||
<!-- Begin Jekyll SEO tag v2.8.0 -->
 | 
						||
<title>Inventree Cups Plugin | InvenTree</title>
 | 
						||
<meta name="generator" content="Jekyll v4.3.3" />
 | 
						||
<meta property="og:title" content="Inventree Cups Plugin" />
 | 
						||
<meta name="author" content="wolflu05" />
 | 
						||
<meta property="og:locale" content="en_US" />
 | 
						||
<meta name="description" content="Label printing plugin for generic cups printers" />
 | 
						||
<meta property="og:description" content="Label printing plugin for generic cups printers" />
 | 
						||
<link rel="canonical" href="/wolflu05/inventree-cups-plugin" />
 | 
						||
<meta property="og:url" content="/wolflu05/inventree-cups-plugin" />
 | 
						||
<meta property="og:site_name" content="InvenTree" />
 | 
						||
<meta property="og:type" content="article" />
 | 
						||
<meta property="article:published_time" content="2025-08-17T01:27:56+00:00" />
 | 
						||
<meta name="twitter:card" content="summary" />
 | 
						||
<meta property="twitter:title" content="Inventree Cups Plugin" />
 | 
						||
<script type="application/ld+json">
 | 
						||
{"@context":"https://schema.org","@type":"BlogPosting","author":{"@type":"Person","name":"wolflu05"},"dateModified":"2025-08-17T01:27:56+00:00","datePublished":"2025-08-17T01:27:56+00:00","description":"Label printing plugin for generic cups printers","headline":"Inventree Cups Plugin","mainEntityOfPage":{"@type":"WebPage","@id":"/wolflu05/inventree-cups-plugin"},"url":"/wolflu05/inventree-cups-plugin"}</script>
 | 
						||
<!-- End Jekyll SEO tag -->
 | 
						||
 | 
						||
</head>
 | 
						||
 | 
						||
<body class="flex flex-col antialiased cm-gray-1 min-h-screen">
 | 
						||
    <div class="flex-none">
 | 
						||
        <header class="cm-gray-2 body-font sticky top-0 z-50 bg-gradient-to-r from-white to-secondary">
 | 
						||
    <div class="container mx-auto flex flex-wrap p-5 flex-row items-center">
 | 
						||
        <a class="flex title-font font-medium items-center cm-gray-1 mb-0 mr-2" href="/">
 | 
						||
            <img src="/assets/logo.png" alt="logo" height="32" width="32" class="h-8">
 | 
						||
            <span class="ml-3 text-xl">InvenTree</span>
 | 
						||
        </a>
 | 
						||
 | 
						||
        <div class="flex-grow xs:flex-none"></div>
 | 
						||
 | 
						||
        <nav class="md:mr-auto md:py-1 xs:ml-4 xs:pl-4 xs:border-l xs:border-gray-400	flex flex-wrap items-center text-base justify-center">
 | 
						||
            <a class="mr-5 hover:cm-gray-1" href="/deploy.html">Deploy</a>
 | 
						||
            <a class="mr-5 hover:cm-gray-1" href="https://docs.inventree.org/en/stable/">Docs</a>
 | 
						||
            <a class="mr-5 hover:cm-gray-1" href="/blog">Blog</a>
 | 
						||
        </nav>
 | 
						||
 | 
						||
        
 | 
						||
    </div>
 | 
						||
</header> <article class="max-w-p90">
 | 
						||
    
 | 
						||
    <h2>inventree-cups-plugin
 | 
						||
<span class="sm:ml-2 text-sm">
 | 
						||
<a href="/wolflu05">
 | 
						||
<span class="inline-flex">
 | 
						||
    <img src="https://github.com/wolflu05.png?size=40" alt="mdo" class="self-center w-5 h-5 rounded-full" style="margin:0px">
 | 
						||
    <p> wolflu05</p>
 | 
						||
</span>
 | 
						||
</a></span>
 | 
						||
<span class="sm:ml-2 text-sm">last modified: 17 Aug 2025</span>
 | 
						||
</h2>
 | 
						||
 | 
						||
<div class="flex-wrap md:flex md:flex-nowrap">
 | 
						||
    <div class="w-full md:w-auto md:mr-4">
 | 
						||
        <p>Label printing plugin for generic cups printers</p>
 | 
						||
 | 
						||
<p>A label printing plugin for <a href="https://inventree.org">InvenTree</a>, which provides support for <a href="https://www.cups.org">Cups label printing servers</a>. If your printer is not cups compatible, you can setup a cups printing server. This <a href="https://nerdig.es/labelwriter-im-netz-teil1/">article</a> describes how to setup a cups printing server for the DYMO LabelWriter 450 Duo.</p>
 | 
						||
 | 
						||
<h2 id="installation">Installation</h2>
 | 
						||
 | 
						||
<blockquote>
 | 
						||
  <p>:warning: This plugin needs <code class="language-plaintext highlighter-rouge">cups-devel</code> installed to install its dependencies. You can read more about the requirements at <a href="https://github.com/OpenPrinting/pycups"><code class="language-plaintext highlighter-rouge">pycups</code></a>. If you’re using <code class="language-plaintext highlighter-rouge">apt</code> as a package manager run <code class="language-plaintext highlighter-rouge">apt install libcups2-dev</code> before.</p>
 | 
						||
</blockquote>
 | 
						||
 | 
						||
<p>Install this plugin as follows:</p>
 | 
						||
 | 
						||
<div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code>pip <span class="nb">install </span>git+https://github.com/wolflu05/inventree-cups-plugin
 | 
						||
</code></pre></div></div>
 | 
						||
 | 
						||
<p>Or, add to your <code class="language-plaintext highlighter-rouge">plugins.txt</code> file:</p>
 | 
						||
 | 
						||
<pre><code class="language-txt">git+https://github.com/wolflu05/inventree-cups-plugin
 | 
						||
</code></pre>
 | 
						||
 | 
						||
<h2 id="configuration-options">Configuration Options</h2>
 | 
						||
 | 
						||
<table>
 | 
						||
  <thead>
 | 
						||
    <tr>
 | 
						||
      <th>Name</th>
 | 
						||
      <th>Description</th>
 | 
						||
      <th>Example</th>
 | 
						||
    </tr>
 | 
						||
  </thead>
 | 
						||
  <tbody>
 | 
						||
    <tr>
 | 
						||
      <td>Server</td>
 | 
						||
      <td>IP/Hostname to connect to the cups server</td>
 | 
						||
      <td><code class="language-plaintext highlighter-rouge">192.168.1.5</code></td>
 | 
						||
    </tr>
 | 
						||
    <tr>
 | 
						||
      <td>Port</td>
 | 
						||
      <td>Port to connect to the cups server</td>
 | 
						||
      <td><code class="language-plaintext highlighter-rouge">631</code></td>
 | 
						||
    </tr>
 | 
						||
    <tr>
 | 
						||
      <td>Benutzer</td>
 | 
						||
      <td>User to connect to the cups server</td>
 | 
						||
      <td><em>can also be empty</em></td>
 | 
						||
    </tr>
 | 
						||
    <tr>
 | 
						||
      <td>Passwort</td>
 | 
						||
      <td>Password to connect to the cups server</td>
 | 
						||
      <td><em>can also be empty</em></td>
 | 
						||
    </tr>
 | 
						||
    <tr>
 | 
						||
      <td>Printer</td>
 | 
						||
      <td>Printer from cups server, can be selected if valid connection options are saved in</td>
 | 
						||
      <td><code class="language-plaintext highlighter-rouge">myprinter</code></td>
 | 
						||
    </tr>
 | 
						||
  </tbody>
 | 
						||
</table>
 | 
						||
 | 
						||
    </div>
 | 
						||
 | 
						||
    <div class="w-full md:w-1/4">
 | 
						||
      <h2 class="block sm:hidden">Detail section</h2>
 | 
						||
      <div>
 | 
						||
        <p class="mb-0">License:
 | 
						||
          <small>
 | 
						||
          <i class="fa-brands fa-osi"></i>
 | 
						||
          MIT<br>
 | 
						||
          </small>
 | 
						||
          </p>
 | 
						||
<div class="">
 | 
						||
            Status:<br>
 | 
						||
            <div>
 | 
						||
              <small>
 | 
						||
                
 | 
						||
                <i class="fa-regular fa-circle-check success"></i>Stable
 | 
						||
                
 | 
						||
              </small>
 | 
						||
            </div>
 | 
						||
            <div>
 | 
						||
              <small>
 | 
						||
                
 | 
						||
                <i class="fa-regular fa-circle-check success"></i>Maintained
 | 
						||
                
 | 
						||
              </small>
 | 
						||
            </div>
 | 
						||
          </div>
 | 
						||
          
 | 
						||
        
 | 
						||
 | 
						||
        
 | 
						||
 | 
						||
        
 | 
						||
        <a href="https://github.com/wolflu05/inventree-cups-plugin/issues" class="no-underline" aria-label="open the issue tracker">
 | 
						||
        <div>
 | 
						||
          <h4 class="plugin_links">Issue Tracker <i class="fa-solid fa-arrow-up-right-from-square" title="External link"></i>
 | 
						||
</h4>
 | 
						||
        </div>
 | 
						||
        </a>
 | 
						||
        
 | 
						||
 | 
						||
        
 | 
						||
        <a href="https://github.com/wolflu05/inventree-cups-plugin" class="no-underline" aria-label="open source on GitHub">
 | 
						||
        <div>
 | 
						||
          <h4 class="plugin_links">Sourcecode on GitHub <i class="fa-solid fa-arrow-up-right-from-square" title="External link"></i>
 | 
						||
</h4>
 | 
						||
          <p class="font-normal">wolflu05/inventree-cups-plugin</p>
 | 
						||
        </div>
 | 
						||
        </a>
 | 
						||
        
 | 
						||
        
 | 
						||
        
 | 
						||
 | 
						||
        <div>
 | 
						||
          <h4 class="plugin_links">Categories</h4>
 | 
						||
          <div>
 | 
						||
            
 | 
						||
            <a href="/plugins/categories/#printer"><span class="plugin_cat">Printer</span></a>
 | 
						||
            
 | 
						||
          </div>
 | 
						||
        </div>
 | 
						||
 | 
						||
        <div>
 | 
						||
          <h4 class="plugin_links">Tags</h4>
 | 
						||
          <div>
 | 
						||
            
 | 
						||
            <a href="/plugins/tags/#label"><span class="plugin_tag">Label</span></a>
 | 
						||
            
 | 
						||
            <a href="/plugins/tags/#printer"><span class="plugin_tag">Printer</span></a>
 | 
						||
            
 | 
						||
            <a href="/plugins/tags/#cups"><span class="plugin_tag">CUPS</span></a>
 | 
						||
            
 | 
						||
            <a href="/plugins/tags/#dymo"><span class="plugin_tag">DYMO</span></a>
 | 
						||
            
 | 
						||
          </div>
 | 
						||
        </div>
 | 
						||
      </div>
 | 
						||
    </div>
 | 
						||
</div>
 | 
						||
 | 
						||
</article>
 | 
						||
 | 
						||
    </div>
 | 
						||
 | 
						||
    <div class="flex-grow"></div>
 | 
						||
    <div class="flex-none">
 | 
						||
        <footer class="cm-gray-2 body-font">
 | 
						||
  <div class="container px-5 pt-8 mx-auto flex md:flex-row md:flex-nowrap flex-wrap flex-col">
 | 
						||
    <div class="w-64 flex-shrink-0 md:mx-0 mx-auto text-center md:text-left">
 | 
						||
      <div class="flex title-font font-medium items-center md:justify-start justify-center cm-gray-1">
 | 
						||
        <img src="/assets/logo.png" alt="logo" height="32" width="32" class="h-8">
 | 
						||
        <span class="ml-3 text-xl">InvenTree</span>
 | 
						||
      </div>
 | 
						||
      <p class="mt-2 text-sm cm-gray-3">Intuitive Inventory Management</p>
 | 
						||
    </div>
 | 
						||
 | 
						||
    <div class="flex-grow flex flex-wrap md:pl-10 mb-1 md:mt-0 mt-10 md:text-left text-center md:justify-left justify-center">
 | 
						||
    
 | 
						||
    
 | 
						||
      <div class="md:w-1/4 px-4">
 | 
						||
        <h2 class="footer-categorie title-font">
 | 
						||
          Quick
 | 
						||
        </h2>
 | 
						||
        <nav class="list-none mb-10"><ul>
 | 
						||
          
 | 
						||
          <li><a href="/demo.html" class="footer-link">Demo</a></li>
 | 
						||
          
 | 
						||
          <li><a href="/deploy.html" class="footer-link">Deploy</a></li>
 | 
						||
          
 | 
						||
          <li><a href="https://docs.inventree.org/en/stable/" class="footer-link">Docs</a></li>
 | 
						||
          
 | 
						||
          <li><a href="/news" class="footer-link">News</a></li>
 | 
						||
          
 | 
						||
          <li><a href="/plugins" class="footer-link">Plugin List</a></li>
 | 
						||
          
 | 
						||
        </ul></nav>
 | 
						||
      </div>
 | 
						||
    
 | 
						||
      <div class="md:w-1/4 px-4">
 | 
						||
        <h2 class="footer-categorie title-font">
 | 
						||
          <a href="/extend/">Ecosystem</a>
 | 
						||
        </h2>
 | 
						||
        <nav class="list-none mb-10"><ul>
 | 
						||
          
 | 
						||
          <li><a href="/extend/api.html" class="footer-link">API</a></li>
 | 
						||
          
 | 
						||
          <li><a href="/extend/app.html" class="footer-link">App</a></li>
 | 
						||
          
 | 
						||
          <li><a href="/extend/plugin/" class="footer-link">Plugins</a></li>
 | 
						||
          
 | 
						||
          <li><a href="/extend/integrate/" class="footer-link">Integrations</a></li>
 | 
						||
          
 | 
						||
        </ul></nav>
 | 
						||
      </div>
 | 
						||
    
 | 
						||
      <div class="md:w-1/4 px-4">
 | 
						||
        <h2 class="footer-categorie title-font">
 | 
						||
          Sitemap
 | 
						||
        </h2>
 | 
						||
        <nav class="list-none mb-10"><ul>
 | 
						||
          
 | 
						||
          <li><a href="/about/" class="footer-link">About</a></li>
 | 
						||
          
 | 
						||
          <li><a href="/alternatives/" class="footer-link">Alternatives</a></li>
 | 
						||
          
 | 
						||
          <li><a href="/blog" class="footer-link">Blog</a></li>
 | 
						||
          
 | 
						||
          <li><a href="/contribute.html" class="footer-link">Contribute</a></li>
 | 
						||
          
 | 
						||
          <li><a href="/support.html" class="footer-link">Support</a></li>
 | 
						||
          
 | 
						||
        </ul></nav>
 | 
						||
      </div>
 | 
						||
    
 | 
						||
    </div>
 | 
						||
  </div>
 | 
						||
 | 
						||
  <div class="bg-gray-100">
 | 
						||
    <div class="container mx-auto py-4 px-5 flex flex-wrap flex-col sm:flex-row">
 | 
						||
      <p class="cm-gray-2 text-sm text-center sm:text-left">© 2021-now InvenTree by<a href="https://github.com/inventree" rel="noopener" class="cm-gray-2 ml-1" target="_blank">@inventree</a>— website made with ♥ by<a href="https://github.com/matmair" rel="noopener" class="cm-gray-2 ml-1" target="_blank">@matmair</a></p>
 | 
						||
      <span class="inline-flex sm:ml-auto sm:mt-0 mt-2 justify-center sm:justify-start">
 | 
						||
        <span class="invisible"><a rel="me" href="https://chaos.social/@InvenTree">Mastodon</a></span>
 | 
						||
        <a href="https://github.com/inventree/inventree" alt="github repo" class="ml-3 cm-gray-3">
 | 
						||
          <img class="h-5 w-5" alt="GitHub logo" src="/assets/github.svg">
 | 
						||
        </a>
 | 
						||
        <a href="https://reddit.com/r/inventree" alt="Reddit" class="ml-3 cm-gray-3">
 | 
						||
          <img class="h-5 w-5" alt="Reddit logo" src="/assets/reddit.svg">
 | 
						||
        </a>
 | 
						||
        <a href="https://twitter.com/inventreedb" alt="Twitter" class="ml-3 cm-gray-3">
 | 
						||
          <img class="h-5 w-5" alt="Twitter logo" src="/assets/twitter.svg">
 | 
						||
        </a>
 | 
						||
        <a href="https://chaos.social/@InvenTree" rel="me" alt="Mastodon" class="ml-3 cm-gray-3">
 | 
						||
          <img class="h-5 w-5" alt="Mastodon logo" src="/assets/mastodon.svg">
 | 
						||
        </a>
 | 
						||
      </span>
 | 
						||
    </div>
 | 
						||
  </div>
 | 
						||
</footer>
 | 
						||
 | 
						||
    </div>
 | 
						||
</body>
 | 
						||
 | 
						||
</html>
 |