diff --git a/SchrodingersGat/inventree-brother-plugin.html b/SchrodingersGat/inventree-brother-plugin.html index 178db9af..75db6f7c 100644 --- a/SchrodingersGat/inventree-brother-plugin.html +++ b/SchrodingersGat/inventree-brother-plugin.html @@ -31,11 +31,11 @@ - + +{"@context":"https://schema.org","@type":"BlogPosting","author":{"@type":"Person","name":"SchrodingersGat"},"dateModified":"2023-07-26T22:03:50+00:00","datePublished":"2023-07-26T22:03:50+00:00","description":"Brother label printer plugin for InvenTree","headline":"Inventree Brother Plugin","mainEntityOfPage":{"@type":"WebPage","@id":"/SchrodingersGat/inventree-brother-plugin"},"url":"/SchrodingersGat/inventree-brother-plugin"} diff --git a/SchrodingersGat/inventree-wireviz.html b/SchrodingersGat/inventree-wireviz.html index 13aced9b..375ad20d 100644 --- a/SchrodingersGat/inventree-wireviz.html +++ b/SchrodingersGat/inventree-wireviz.html @@ -31,11 +31,11 @@ - + +{"@context":"https://schema.org","@type":"BlogPosting","author":{"@type":"Person","name":"SchrodingersGat"},"dateModified":"2023-07-26T22:03:50+00:00","datePublished":"2023-07-26T22:03:50+00:00","description":"Wireviz Extension for InvenTree","headline":"Inventree Wireviz","mainEntityOfPage":{"@type":"WebPage","@id":"/SchrodingersGat/inventree-wireviz"},"url":"/SchrodingersGat/inventree-wireviz"} diff --git a/SergeoLacruz.html b/SergeoLacruz.html index 650fd19e..ad9488a4 100644 --- a/SergeoLacruz.html +++ b/SergeoLacruz.html @@ -30,11 +30,11 @@ - + +{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-07-26T22:03:50+00:00","datePublished":"2023-07-26T22:03:50+00:00","description":"Hardware engineer in Germany and vintage fan.","headline":"Sergeolacruz","mainEntityOfPage":{"@type":"WebPage","@id":"/SergeoLacruz"},"url":"/SergeoLacruz"} diff --git a/SergeoLacruz/inventree-supplier-panel.html b/SergeoLacruz/inventree-supplier-panel.html index aa79ae20..9a32fb70 100644 --- a/SergeoLacruz/inventree-supplier-panel.html +++ b/SergeoLacruz/inventree-supplier-panel.html @@ -31,11 +31,11 @@ - + +{"@context":"https://schema.org","@type":"BlogPosting","author":{"@type":"Person","name":"SergeoLacruz"},"dateModified":"2023-07-26T22:03:50+00:00","datePublished":"2023-07-26T22:03:50+00:00","description":"Create Mouser shopping cart from purchase order","headline":"Inventree Supplier Panel","mainEntityOfPage":{"@type":"WebPage","@id":"/SergeoLacruz/inventree-supplier-panel"},"url":"/SergeoLacruz/inventree-supplier-panel"} diff --git a/SergeoLacruz/inventree-zebra-plugin.html b/SergeoLacruz/inventree-zebra-plugin.html index 9c9bc6b5..1de79d64 100644 --- a/SergeoLacruz/inventree-zebra-plugin.html +++ b/SergeoLacruz/inventree-zebra-plugin.html @@ -31,11 +31,11 @@ - + +{"@context":"https://schema.org","@type":"BlogPosting","author":{"@type":"Person","name":"SergeoLacruz"},"dateModified":"2023-07-26T22:03:50+00:00","datePublished":"2023-07-26T22:03:50+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"} @@ -114,12 +114,12 @@ for the IP connection to the printer.
class ZebraLabelPlugin(LabelPrintingMixin, SettingsMixin, IntegrationPluginBase):
- AUTHOR = "Michael Buchmann"
- DESCRIPTION = "Label printing plugin for Zebra printers"
+ AUTHOR = "Michael Buchmann"
+ DESCRIPTION = "Label printing plugin for Zebra printers"
VERSION = ZEBRA_PLUGIN_VERSION
- NAME = "Zebra"
- SLUG = "zebra"
- TITLE = "Zebra Label Printer"
+ NAME = "Zebra"
+ SLUG = "zebra"
+ TITLE = "Zebra Label Printer"
The name of the class can be freely chosen. You reference to it in the entry_points section of the setup.py file. @@ -131,16 +131,16 @@ need to be like that. The values are found in the UI as shown in the pictures be
Then we add the configuration parameters.
SETTINGS = {
- 'CONNECTION': {
- 'name': _('Printer Interface'),
- 'description': _('Select local or network printer'),
- 'choices': [('local','Local printer e.g. USB'),('network','Network printer with IP address')],
- 'default': 'local',
+ 'CONNECTION': {
+ 'name': _('Printer Interface'),
+ 'description': _('Select local or network printer'),
+ 'choices': [('local','Local printer e.g. USB'),('network','Network printer with IP address')],
+ 'default': 'local',
},
- 'PORT': {
- 'name': _('Port'),
- 'description': _('Network port in case of network printer'),
- 'default': '9100',
+ 'PORT': {
+ 'name': _('Port'),
+ 'description': _('Network port in case of network printer'),
+ 'default': '9100',
},
}
@@ -171,7 +171,7 @@ After that we need to define a function:
The PIL object is a greyscale image. Because the printer can just print pure BW we convert this to a BW picture.
fn = lambda x : 255 if x > Threshold else 0
-label_image = label_image.convert('L').point(fn, mode='1')
+label_image = label_image.convert('L').point(fn, mode='1')
The threshold can by modified by a plugin parameter. 200 is a good starting value. This trick gives much better prints.
diff --git a/blog/feed.atom b/blog/feed.atom
index 712522fe..3140c376 100644
--- a/blog/feed.atom
+++ b/blog/feed.atom
@@ -1 +1 @@
-Jekyll 2023-07-26T01:04:04+00:00 /blog/feed.atom InvenTree 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 addins for EDA tools, API wrapper, deeply integrated plugins and 3rd party tools. 0.12.0 Stable Release 2023-06-26T00:00:00+00:00 2023-06-26T00:00:00+00:00 /blog/2023/06/26/0.12.0 SchrodingersGat 0.11.0 Stable Release 2023-04-17T00:00:00+00:00 2023-04-17T00:00:00+00:00 /blog/2023/04/17/0.11.0 SchrodingersGat 0.10.1 Bugfix Release 2023-02-25T00:00:00+00:00 2023-02-25T00:00:00+00:00 /blog/2023/02/25/0.10.1 SchrodingersGat 0.10.0 Stable Release 2023-02-06T00:00:00+00:00 2023-02-06T00:00:00+00:00 /blog/2023/02/06/0.10.0 SchrodingersGat Starting the Plugin List 2023-01-30T00:00:00+00:00 2023-01-30T00:00:00+00:00 /blog/2023/01/30/plugin-list matmair 2022 in Review 2023-01-02T00:00:00+00:00 2023-01-02T00:00:00+00:00 /blog/2023/01/02/upcoming SchrodingersGat 0.9.0 Stable Release 2022-12-12T00:00:00+00:00 2022-12-12T00:00:00+00:00 /blog/2022/12/12/0.9.0 SchrodingersGat Translating InvenTree 2021-11-22T00:00:00+00:00 2021-11-22T00:00:00+00:00 /blog/2021/11/22/translation SchrodingersGat Starting with templates 2021-10-25T00:00:00+00:00 2021-10-25T00:00:00+00:00 /blog/2021/10/25/starting matmair
\ No newline at end of file
+Jekyll 2023-07-26T22:03:50+00:00 /blog/feed.atom InvenTree 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 addins for EDA tools, API wrapper, deeply integrated plugins and 3rd party tools. 0.12.0 Stable Release 2023-06-26T00:00:00+00:00 2023-06-26T00:00:00+00:00 /blog/2023/06/26/0.12.0 SchrodingersGat 0.11.0 Stable Release 2023-04-17T00:00:00+00:00 2023-04-17T00:00:00+00:00 /blog/2023/04/17/0.11.0 SchrodingersGat 0.10.1 Bugfix Release 2023-02-25T00:00:00+00:00 2023-02-25T00:00:00+00:00 /blog/2023/02/25/0.10.1 SchrodingersGat 0.10.0 Stable Release 2023-02-06T00:00:00+00:00 2023-02-06T00:00:00+00:00 /blog/2023/02/06/0.10.0 SchrodingersGat Starting the Plugin List 2023-01-30T00:00:00+00:00 2023-01-30T00:00:00+00:00 /blog/2023/01/30/plugin-list matmair 2022 in Review 2023-01-02T00:00:00+00:00 2023-01-02T00:00:00+00:00 /blog/2023/01/02/upcoming SchrodingersGat 0.9.0 Stable Release 2022-12-12T00:00:00+00:00 2022-12-12T00:00:00+00:00 /blog/2022/12/12/0.9.0 SchrodingersGat Translating InvenTree 2021-11-22T00:00:00+00:00 2021-11-22T00:00:00+00:00 /blog/2021/11/22/translation SchrodingersGat Starting with templates 2021-10-25T00:00:00+00:00 2021-10-25T00:00:00+00:00 /blog/2021/10/25/starting matmair
\ No newline at end of file
diff --git a/matmair.html b/matmair.html
index b581e737..875a9080 100644
--- a/matmair.html
+++ b/matmair.html
@@ -30,11 +30,11 @@
-
+
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-07-26T22:03:50+00:00","datePublished":"2023-07-26T22:03:50+00:00","description":"I try to build an ecosystem of reusable plugins and integrations for InvenTree. Code once and KISS!","headline":"Matmair","mainEntityOfPage":{"@type":"WebPage","@id":"/matmair"},"url":"/matmair"}
diff --git a/matmair/inventree-apprise.html b/matmair/inventree-apprise.html
index 17c1c8d9..96a0e319 100644
--- a/matmair/inventree-apprise.html
+++ b/matmair/inventree-apprise.html
@@ -31,11 +31,11 @@
-
+
+{"@context":"https://schema.org","@type":"BlogPosting","author":{"@type":"Person","name":"matmair"},"dateModified":"2023-07-26T22:03:50+00:00","datePublished":"2023-07-26T22:03:50+00:00","description":"Send notifications from InvenTree via Apprise","headline":"Inventree Apprise","mainEntityOfPage":{"@type":"WebPage","@id":"/matmair/inventree-apprise"},"url":"/matmair/inventree-apprise"}
diff --git a/matmair/inventree-rapidoc.html b/matmair/inventree-rapidoc.html
index c2ec6d9b..d02df8c1 100644
--- a/matmair/inventree-rapidoc.html
+++ b/matmair/inventree-rapidoc.html
@@ -31,11 +31,11 @@
-
+
+{"@context":"https://schema.org","@type":"BlogPosting","author":{"@type":"Person","name":"matmair"},"dateModified":"2023-07-26T22:03:50+00:00","datePublished":"2023-07-26T22:03:50+00:00","description":"Use RapiDoc for Inventree API docs.","headline":"Inventree Rapidoc","mainEntityOfPage":{"@type":"WebPage","@id":"/matmair/inventree-rapidoc"},"url":"/matmair/inventree-rapidoc"}
diff --git a/matmair/inventree-zapier.html b/matmair/inventree-zapier.html
index 213aee3e..63a73468 100644
--- a/matmair/inventree-zapier.html
+++ b/matmair/inventree-zapier.html
@@ -31,11 +31,11 @@
-
+
+{"@context":"https://schema.org","@type":"BlogPosting","author":{"@type":"Person","name":"matmair"},"dateModified":"2023-07-26T22:03:50+00:00","datePublished":"2023-07-26T22:03:50+00:00","description":"Integrate Zapier into InvenTree","headline":"Inventree Zapier","mainEntityOfPage":{"@type":"WebPage","@id":"/matmair/inventree-zapier"},"url":"/matmair/inventree-zapier"}
diff --git a/news/feed.atom b/news/feed.atom
index 76b2110e..e52bfbb0 100644
--- a/news/feed.atom
+++ b/news/feed.atom
@@ -1 +1 @@
-Jekyll 2023-07-26T01:04:04+00:00 /news/feed.atom InvenTree | News 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 addins for EDA tools, API wrapper, deeply integrated plugins and 3rd party tools. 0.12.1 Release 2023-07-13T00:00:00+00:00 2023-07-13T00:00:00+00:00 /news/2023/07/13/0.12.1 SchrodingersGat 0.12.0 Release 2023-06-26T00:00:00+00:00 2023-06-26T00:00:00+00:00 /news/2023/06/26/0.12.0 SchrodingersGat Introducing the Plugin List 2023-01-30T00:00:00+00:00 2023-01-30T00:00:00+00:00 /news/2023/01/30/introducing-the-plugin-list matmair 0.9.0 Release 2022-12-12T00:00:00+00:00 2022-12-12T00:00:00+00:00 /news/2022/12/12/0.9.0 SchrodingersGat New Website 2022-11-14T00:00:00+00:00 2022-11-14T00:00:00+00:00 /news/2022/11/14/website SchrodingersGat We have news now! 2022-04-23T00:00:00+00:00 2022-04-23T00:00:00+00:00 /news/2022/04/23/news-are-starting matmair
\ No newline at end of file
+Jekyll 2023-07-26T22:03:50+00:00 /news/feed.atom InvenTree | News 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 addins for EDA tools, API wrapper, deeply integrated plugins and 3rd party tools. 0.12.1 Release 2023-07-13T00:00:00+00:00 2023-07-13T00:00:00+00:00 /news/2023/07/13/0.12.1 SchrodingersGat 0.12.0 Release 2023-06-26T00:00:00+00:00 2023-06-26T00:00:00+00:00 /news/2023/06/26/0.12.0 SchrodingersGat Introducing the Plugin List 2023-01-30T00:00:00+00:00 2023-01-30T00:00:00+00:00 /news/2023/01/30/introducing-the-plugin-list matmair 0.9.0 Release 2022-12-12T00:00:00+00:00 2022-12-12T00:00:00+00:00 /news/2022/12/12/0.9.0 SchrodingersGat New Website 2022-11-14T00:00:00+00:00 2022-11-14T00:00:00+00:00 /news/2022/11/14/website SchrodingersGat We have news now! 2022-04-23T00:00:00+00:00 2022-04-23T00:00:00+00:00 /news/2022/04/23/news-are-starting matmair
\ No newline at end of file
diff --git a/schrodingersgat.html b/schrodingersgat.html
index 25ea17c6..85ffe1b1 100644
--- a/schrodingersgat.html
+++ b/schrodingersgat.html
@@ -30,11 +30,11 @@
-
+
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-07-26T22:03:50+00:00","datePublished":"2023-07-26T22:03:50+00:00","description":"Maintainer of InvenTree.","headline":"Schrodingersgat","mainEntityOfPage":{"@type":"WebPage","@id":"/schrodingersgat"},"url":"/schrodingersgat"}
diff --git a/sitemap.xml b/sitemap.xml
index f5f44180..8a756fc7 100644
--- a/sitemap.xml
+++ b/sitemap.xml
@@ -62,51 +62,51 @@
/SergeoLacruz
-2023-07-26T01:04:04+00:00
+2023-07-26T22:03:50+00:00
/matmair
-2023-07-26T01:04:04+00:00
+2023-07-26T22:03:50+00:00
/schrodingersgat
-2023-07-26T01:04:04+00:00
+2023-07-26T22:03:50+00:00
/wolflu05
-2023-07-26T01:04:04+00:00
+2023-07-26T22:03:50+00:00
/matmair/inventree-apprise
-2023-07-26T01:04:04+00:00
+2023-07-26T22:03:50+00:00
/SchrodingersGat/inventree-brother-plugin
-2023-07-26T01:04:04+00:00
+2023-07-26T22:03:50+00:00
/wolflu05/inventree-cups-plugin
-2023-07-26T01:04:04+00:00
+2023-07-26T22:03:50+00:00
/matmair/inventree-rapidoc
-2023-07-26T01:04:04+00:00
+2023-07-26T22:03:50+00:00
/SergeoLacruz/inventree-supplier-panel
-2023-07-26T01:04:04+00:00
+2023-07-26T22:03:50+00:00
/SchrodingersGat/inventree-wireviz
-2023-07-26T01:04:04+00:00
+2023-07-26T22:03:50+00:00
/matmair/inventree-zapier
-2023-07-26T01:04:04+00:00
+2023-07-26T22:03:50+00:00
/SergeoLacruz/inventree-zebra-plugin
-2023-07-26T01:04:04+00:00
+2023-07-26T22:03:50+00:00
/404
diff --git a/wolflu05.html b/wolflu05.html
index 558f2a9a..21f841a3 100644
--- a/wolflu05.html
+++ b/wolflu05.html
@@ -30,11 +30,11 @@
-
+
+{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-07-26T22:03:50+00:00","datePublished":"2023-07-26T22:03:50+00:00","description":"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 addins for EDA tools, API wrapper, deeply integrated plugins and 3rd party tools.","headline":"Wolflu05","mainEntityOfPage":{"@type":"WebPage","@id":"/wolflu05"},"url":"/wolflu05"}
diff --git a/wolflu05/inventree-cups-plugin.html b/wolflu05/inventree-cups-plugin.html
index c5af5762..89a7a531 100644
--- a/wolflu05/inventree-cups-plugin.html
+++ b/wolflu05/inventree-cups-plugin.html
@@ -31,11 +31,11 @@
-
+
+{"@context":"https://schema.org","@type":"BlogPosting","author":{"@type":"Person","name":"wolflu05"},"dateModified":"2023-07-26T22:03:50+00:00","datePublished":"2023-07-26T22:03:50+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"}