2
0
mirror of https://github.com/inventree/inventree-website.git synced 2025-06-12 01:55:37 +00:00
This commit is contained in:
inventree-bot
2024-04-26 00:53:50 +00:00
parent a480158065
commit 5600acf4ee
23 changed files with 79 additions and 77 deletions

View File

@ -31,11 +31,11 @@
<meta property="og:url" content="/SergeoLacruz/inventree-zebra-plugin" />
<meta property="og:site_name" content="InvenTree" />
<meta property="og:type" content="article" />
<meta property="article:published_time" content="2024-04-25T00:55:49+00:00" />
<meta property="article:published_time" content="2024-04-26T00:53:40+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Inventree Zebra Plugin" />
<script type="application/ld+json">
{"@context":"https://schema.org","@type":"BlogPosting","author":{"@type":"Person","name":"SergeoLacruz"},"dateModified":"2024-04-25T00:55:49+00:00","datePublished":"2024-04-25T00:55:49+00:00","description":"Zebra Label Printer Plugin for Inventree","headline":"Inventree Zebra Plugin","mainEntityOfPage":{"@type":"WebPage","@id":"/SergeoLacruz/inventree-zebra-plugin"},"url":"/SergeoLacruz/inventree-zebra-plugin"}</script>
{"@context":"https://schema.org","@type":"BlogPosting","author":{"@type":"Person","name":"SergeoLacruz"},"dateModified":"2024-04-26T00:53:40+00:00","datePublished":"2024-04-26T00:53:40+00:00","description":"Zebra Label Printer Plugin for Inventree","headline":"Inventree Zebra Plugin","mainEntityOfPage":{"@type":"WebPage","@id":"/SergeoLacruz/inventree-zebra-plugin"},"url":"/SergeoLacruz/inventree-zebra-plugin"}</script>
<!-- End Jekyll SEO tag -->
</head>
@ -69,7 +69,7 @@
<p> SergeoLacruz</p>
</span>
</a></span>
<span class="sm:ml-2 text-sm">last modified: 25 Apr 2024</span>
<span class="sm:ml-2 text-sm">last modified: 26 Apr 2024</span>
</h2>
<div class="flex-wrap md:flex md:flex-nowrap">
@ -137,15 +137,17 @@ here.</p>
<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="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code> @page {
<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>
@page {
{% localize off %}
height: mm;
width: mm;
height: {{ height }}mm;
width: {{ width }}mm;
{% endlocalize %}
padding: 0mm;
margin: 0px 0px 0px 0px;
background-color: white;
}
</code></pre></div></div>
<p>The height and width parameters are defined in the InvenTree admin panel