From bf758177bf090728f8d7b6e2200c3bd51a3f9edc Mon Sep 17 00:00:00 2001 From: Georg Sauthoff Date: Fri, 23 Sep 2016 18:36:32 +0200 Subject: [PATCH] add formats retrieval method and cache the result as json --- inema/data/formats.json | 3134 +++++++++++++++++++++++++++++++++++++++ inema/inema.py | 10 + 2 files changed, 3144 insertions(+) create mode 100644 inema/data/formats.json diff --git a/inema/data/formats.json b/inema/data/formats.json new file mode 100644 index 0000000..af8c959 --- /dev/null +++ b/inema/data/formats.json @@ -0,0 +1,3134 @@ +[ + { + "id": 1, + "isAddressPossible": true, + "isImagePossible": false, + "name": "DIN A4 Normalpapier", + "description": null, + "pageType": "REGULARPAGE", + "pageLayout": { + "size": { + "x": 210, + "y": 297 + }, + "orientation": "PORTRAIT", + "labelSpacing": { + "x": 0, + "y": 0 + }, + "labelCount": { + "labelX": 2, + "labelY": 5 + }, + "margin": { + "top": 31, + "bottom": 31, + "left": 15, + "right": 15 + } + } + }, + { + "id": 2, + "isAddressPossible": true, + "isImagePossible": false, + "name": "Brief B5 176 x 250", + "description": null, + "pageType": "ENVELOPE", + "pageLayout": { + "size": { + "x": 250, + "y": 176 + }, + "orientation": "PORTRAIT", + "labelSpacing": { + "x": 0, + "y": 0 + }, + "labelCount": { + "labelX": 1, + "labelY": 1 + }, + "margin": { + "top": 101, + "bottom": 20, + "left": 140, + "right": 20 + } + } + }, + { + "id": 3, + "isAddressPossible": true, + "isImagePossible": false, + "name": "Brief B4 250 x 353 (quer)", + "description": "Brief B4 250 x 353 (quer)", + "pageType": "ENVELOPE", + "pageLayout": { + "size": { + "x": 353, + "y": 250 + }, + "orientation": "PORTRAIT", + "labelSpacing": { + "x": 0, + "y": 0 + }, + "labelCount": { + "labelX": 1, + "labelY": 1 + }, + "margin": { + "top": 175, + "bottom": 20, + "left": 243, + "right": 20 + } + } + }, + { + "id": 4, + "isAddressPossible": true, + "isImagePossible": false, + "name": "Brief C4 229 x 324 (quer)", + "description": "Brief C4 229 x 324 (quer)", + "pageType": "ENVELOPE", + "pageLayout": { + "size": { + "x": 324, + "y": 229 + }, + "orientation": "PORTRAIT", + "labelSpacing": { + "x": 0, + "y": 0 + }, + "labelCount": { + "labelX": 1, + "labelY": 1 + }, + "margin": { + "top": 160, + "bottom": 30, + "left": 190, + "right": 30 + } + } + }, + { + "id": 5, + "isAddressPossible": true, + "isImagePossible": false, + "name": "Brief C6 114 x 162", + "description": null, + "pageType": "ENVELOPE", + "pageLayout": { + "size": { + "x": 162, + "y": 114 + }, + "orientation": "PORTRAIT", + "labelSpacing": { + "x": 0, + "y": 0 + }, + "labelCount": { + "labelX": 1, + "labelY": 1 + }, + "margin": { + "top": 39, + "bottom": 20, + "left": 52, + "right": 20 + } + } + }, + { + "id": 6, + "isAddressPossible": true, + "isImagePossible": false, + "name": "Zweckform 3660 Etiketten 97 x 67.7", + "description": null, + "pageType": "LABELPAGE", + "pageLayout": { + "size": { + "x": 210, + "y": 297 + }, + "orientation": "PORTRAIT", + "labelSpacing": { + "x": 0, + "y": 0 + }, + "labelCount": { + "labelX": 2, + "labelY": 4 + }, + "margin": { + "top": 13, + "bottom": 13, + "left": 8, + "right": 8 + } + } + }, + { + "id": 7, + "isAddressPossible": true, + "isImagePossible": false, + "name": "Herma 8748 CompactLine 105 x 74", + "description": "Herma 8748 CompactLine 105 x 74", + "pageType": "LABELPAGE", + "pageLayout": { + "size": { + "x": 148, + "y": 210 + }, + "orientation": "LANDSCAPE", + "labelSpacing": { + "x": 0, + "y": 0 + }, + "labelCount": { + "labelX": 2, + "labelY": 2 + }, + "margin": { + "top": 0, + "bottom": 0, + "left": 0, + "right": 0 + } + } + }, + { + "id": 8, + "isAddressPossible": true, + "isImagePossible": false, + "name": "Herma 4269 PREMIUM 99.1 x 67.7", + "description": "Herma 4269 PREMIUM 99.1 x 67.7", + "pageType": "LABELPAGE", + "pageLayout": { + "size": { + "x": 210, + "y": 297 + }, + "orientation": "PORTRAIT", + "labelSpacing": { + "x": 0, + "y": 0 + }, + "labelCount": { + "labelX": 2, + "labelY": 4 + }, + "margin": { + "top": 13, + "bottom": 13, + "left": 3, + "right": 3 + } + } + }, + { + "id": 9, + "isAddressPossible": true, + "isImagePossible": false, + "name": "Zweckform 3426 Etiketten 105 x 70", + "description": null, + "pageType": "LABELPAGE", + "pageLayout": { + "size": { + "x": 210, + "y": 297 + }, + "orientation": "PORTRAIT", + "labelSpacing": { + "x": 0, + "y": 0 + }, + "labelCount": { + "labelX": 2, + "labelY": 4 + }, + "margin": { + "top": 8, + "bottom": 8, + "left": 0, + "right": 0 + } + } + }, + { + "id": 10, + "isAddressPossible": true, + "isImagePossible": false, + "name": "Zweckform J4794 Etiketten 99.1 x 63.5", + "description": null, + "pageType": "LABELPAGE", + "pageLayout": { + "size": { + "x": 210, + "y": 297 + }, + "orientation": "PORTRAIT", + "labelSpacing": { + "x": 1, + "y": 0 + }, + "labelCount": { + "labelX": 2, + "labelY": 4 + }, + "margin": { + "top": 21, + "bottom": 21, + "left": 5, + "right": 5 + } + } + }, + { + "id": 11, + "isAddressPossible": true, + "isImagePossible": false, + "name": "Zweckform J8173 Etiketten 99.1 x 57", + "description": null, + "pageType": "LABELPAGE", + "pageLayout": { + "size": { + "x": 210, + "y": 297 + }, + "orientation": "PORTRAIT", + "labelSpacing": { + "x": 3, + "y": 0 + }, + "labelCount": { + "labelX": 2, + "labelY": 5 + }, + "margin": { + "top": 6, + "bottom": 6, + "left": 3, + "right": 3 + } + } + }, + { + "id": 12, + "isAddressPossible": true, + "isImagePossible": false, + "name": "Zweckform L7165 Etiketten 99.1 x 67.7", + "description": null, + "pageType": "LABELPAGE", + "pageLayout": { + "size": { + "x": 210, + "y": 297 + }, + "orientation": "PORTRAIT", + "labelSpacing": { + "x": 3, + "y": 0 + }, + "labelCount": { + "labelX": 2, + "labelY": 4 + }, + "margin": { + "top": 13, + "bottom": 13, + "left": 3, + "right": 3 + } + } + }, + { + "id": 13, + "isAddressPossible": true, + "isImagePossible": false, + "name": "Zweckform L7173 Etiketten 99.1 x 57", + "description": null, + "pageType": "LABELPAGE", + "pageLayout": { + "size": { + "x": 210, + "y": 297 + }, + "orientation": "PORTRAIT", + "labelSpacing": { + "x": 3, + "y": 0 + }, + "labelCount": { + "labelX": 2, + "labelY": 5 + }, + "margin": { + "top": 6, + "bottom": 6, + "left": 3, + "right": 3 + } + } + }, + { + "id": 14, + "isAddressPossible": true, + "isImagePossible": false, + "name": "Herma 4359 PREMIUM 96.5 x 67.7", + "description": "Herma 4359 PREMIUM 96.5 x 67.7", + "pageType": "LABELPAGE", + "pageLayout": { + "size": { + "x": 210, + "y": 297 + }, + "orientation": "PORTRAIT", + "labelSpacing": { + "x": 0, + "y": 0 + }, + "labelCount": { + "labelX": 2, + "labelY": 4 + }, + "margin": { + "top": 13, + "bottom": 13, + "left": 8, + "right": 8 + } + } + }, + { + "id": 15, + "isAddressPossible": true, + "isImagePossible": false, + "name": "Herma 4280 PREMIUM 96.5 x 67.7", + "description": "Herma 4280 PREMIUM 96.5 x 67.7", + "pageType": "LABELPAGE", + "pageLayout": { + "size": { + "x": 210, + "y": 297 + }, + "orientation": "PORTRAIT", + "labelSpacing": { + "x": 0, + "y": 0 + }, + "labelCount": { + "labelX": 2, + "labelY": 4 + }, + "margin": { + "top": 13, + "bottom": 13, + "left": 8, + "right": 8 + } + } + }, + { + "id": 16, + "isAddressPossible": true, + "isImagePossible": false, + "name": "Brief B6 125 x 176", + "description": null, + "pageType": "ENVELOPE", + "pageLayout": { + "size": { + "x": 176, + "y": 125 + }, + "orientation": "PORTRAIT", + "labelSpacing": { + "x": 0, + "y": 0 + }, + "labelCount": { + "labelX": 1, + "labelY": 1 + }, + "margin": { + "top": 50, + "bottom": 20, + "left": 66, + "right": 20 + } + } + }, + { + "id": 17, + "isAddressPossible": true, + "isImagePossible": false, + "name": "Brief C5 162 x 229", + "description": null, + "pageType": "ENVELOPE", + "pageLayout": { + "size": { + "x": 229, + "y": 162 + }, + "orientation": "PORTRAIT", + "labelSpacing": { + "x": 0, + "y": 0 + }, + "labelCount": { + "labelX": 1, + "labelY": 1 + }, + "margin": { + "top": 87, + "bottom": 20, + "left": 119, + "right": 20 + } + } + }, + { + "id": 18, + "isAddressPossible": true, + "isImagePossible": false, + "name": "Herma 4470 PREMIUM 105 x 74", + "description": "Herma 4470 PREMIUM 105 x 74", + "pageType": "LABELPAGE", + "pageLayout": { + "size": { + "x": 210, + "y": 297 + }, + "orientation": "PORTRAIT", + "labelSpacing": { + "x": 0, + "y": 0 + }, + "labelCount": { + "labelX": 2, + "labelY": 4 + }, + "margin": { + "top": 0, + "bottom": 0, + "left": 0, + "right": 0 + } + } + }, + { + "id": 19, + "isAddressPossible": true, + "isImagePossible": false, + "name": "Brief C65 114 x 229", + "description": null, + "pageType": "ENVELOPE", + "pageLayout": { + "size": { + "x": 229, + "y": 114 + }, + "orientation": "PORTRAIT", + "labelSpacing": { + "x": 0, + "y": 0 + }, + "labelCount": { + "labelX": 1, + "labelY": 1 + }, + "margin": { + "top": 39, + "bottom": 20, + "left": 119, + "right": 20 + } + } + }, + { + "id": 20, + "isAddressPossible": true, + "isImagePossible": false, + "name": "Herma 4268 PREMIUM 99.1 x 57", + "description": "Herma 4268 PREMIUM 99.1 x 57", + "pageType": "LABELPAGE", + "pageLayout": { + "size": { + "x": 210, + "y": 297 + }, + "orientation": "PORTRAIT", + "labelSpacing": { + "x": 0, + "y": 7 + }, + "labelCount": { + "labelX": 2, + "labelY": 5 + }, + "margin": { + "top": 11, + "bottom": 6, + "left": 3, + "right": 3 + } + } + }, + { + "id": 21, + "isAddressPossible": true, + "isImagePossible": false, + "name": "Herma 4626 PREMIUM 105 x 74", + "description": "Herma 4626 PREMIUM 105 x 74", + "pageType": "LABELPAGE", + "pageLayout": { + "size": { + "x": 210, + "y": 297 + }, + "orientation": "PORTRAIT", + "labelSpacing": { + "x": 0, + "y": 0 + }, + "labelCount": { + "labelX": 2, + "labelY": 4 + }, + "margin": { + "top": 0, + "bottom": 0, + "left": 0, + "right": 0 + } + } + }, + { + "id": 22, + "isAddressPossible": true, + "isImagePossible": false, + "name": "Zweckform 3483 Inkjet+Laser+Kopier-Etiketten", + "description": null, + "pageType": "LABELPAGE", + "pageLayout": { + "size": { + "x": 210, + "y": 297 + }, + "orientation": "LANDSCAPE", + "labelSpacing": { + "x": 0, + "y": 0 + }, + "labelCount": { + "labelX": 2, + "labelY": 2 + }, + "margin": { + "top": 0, + "bottom": 0, + "left": 0, + "right": 0 + } + } + }, + { + "id": 23, + "isAddressPossible": true, + "isImagePossible": false, + "name": "Zweckform 4782 Etiketten 97 x 67.7", + "description": null, + "pageType": "LABELPAGE", + "pageLayout": { + "size": { + "x": 210, + "y": 297 + }, + "orientation": "PORTRAIT", + "labelSpacing": { + "x": 0, + "y": 0 + }, + "labelCount": { + "labelX": 2, + "labelY": 4 + }, + "margin": { + "top": 13, + "bottom": 13, + "left": 8, + "right": 8 + } + } + }, + { + "id": 24, + "isAddressPossible": true, + "isImagePossible": false, + "name": "Zweckform J8165 Etiketten 99.1 x 67.7", + "description": null, + "pageType": "LABELPAGE", + "pageLayout": { + "size": { + "x": 210, + "y": 297 + }, + "orientation": "PORTRAIT", + "labelSpacing": { + "x": 3, + "y": 0 + }, + "labelCount": { + "labelX": 2, + "labelY": 4 + }, + "margin": { + "top": 13, + "bottom": 6, + "left": 3, + "right": 3 + } + } + }, + { + "id": 25, + "isAddressPossible": true, + "isImagePossible": false, + "name": "Brother DK-22205 Endlos-Etikett 62mm", + "description": null, + "pageType": "LABELPRINTER", + "pageLayout": { + "size": { + "x": 62, + "y": 100 + }, + "orientation": "LANDSCAPE", + "labelSpacing": { + "x": 0, + "y": 0 + }, + "labelCount": { + "labelX": 1, + "labelY": 1 + }, + "margin": { + "top": 5, + "bottom": 5, + "left": 3, + "right": 3 + } + } + }, + { + "id": 26, + "isAddressPossible": true, + "isImagePossible": false, + "name": "DIN A4 Normalpapier (Einlegeblatt)", + "description": null, + "pageType": "REGULARPAGE", + "pageLayout": { + "size": { + "x": 210, + "y": 297 + }, + "orientation": "PORTRAIT", + "labelSpacing": { + "x": 0, + "y": 0 + }, + "labelCount": { + "labelX": 1, + "labelY": 1 + }, + "margin": { + "top": 42, + "bottom": 200, + "left": 20, + "right": 100 + } + } + }, + { + "id": 27, + "isAddressPossible": true, + "isImagePossible": false, + "name": "Herma 4676 PREMIUM 105 x 148", + "description": "Herma 4676 PREMIUM 105 x 148", + "pageType": "LABELPAGE", + "pageLayout": { + "size": { + "x": 297, + "y": 210 + }, + "orientation": "PORTRAIT", + "labelSpacing": { + "x": 0, + "y": 0 + }, + "labelCount": { + "labelX": 2, + "labelY": 2 + }, + "margin": { + "top": 0, + "bottom": 0, + "left": 0, + "right": 0 + } + } + }, + { + "id": 28, + "isAddressPossible": true, + "isImagePossible": false, + "name": "Brief DIN lang 220 x 110", + "description": null, + "pageType": "ENVELOPE", + "pageLayout": { + "size": { + "x": 220, + "y": 110 + }, + "orientation": "PORTRAIT", + "labelSpacing": { + "x": 0, + "y": 0 + }, + "labelCount": { + "labelX": 1, + "labelY": 1 + }, + "margin": { + "top": 35, + "bottom": 20, + "left": 110, + "right": 20 + } + } + }, + { + "id": 29, + "isAddressPossible": true, + "isImagePossible": false, + "name": "Brother DK-11202 Versand-Etikett 62 x 100", + "description": null, + "pageType": "LABELPRINTER", + "pageLayout": { + "size": { + "x": 62, + "y": 100 + }, + "orientation": "LANDSCAPE", + "labelSpacing": { + "x": 0, + "y": 0 + }, + "labelCount": { + "labelX": 1, + "labelY": 1 + }, + "margin": { + "top": 5, + "bottom": 5, + "left": 3, + "right": 3 + } + } + }, + { + "id": 31, + "isAddressPossible": false, + "isImagePossible": false, + "name": "Herma 4200 PREMIUM 48,3 x 33,8", + "description": "Herma 4200 PREMIUM 48,3 x 33,8", + "pageType": "LABELPAGE", + "pageLayout": { + "size": { + "x": 210, + "y": 297 + }, + "orientation": "PORTRAIT", + "labelSpacing": { + "x": 0, + "y": 0 + }, + "labelCount": { + "labelX": 4, + "labelY": 8 + }, + "margin": { + "top": 18, + "bottom": 8, + "left": 8, + "right": 8 + } + } + }, + { + "id": 32, + "isAddressPossible": false, + "isImagePossible": true, + "name": "Herma 4390 PREMIUM 70 x 37", + "description": "Herma 4390 PREMIUM 70 x 37", + "pageType": "LABELPAGE", + "pageLayout": { + "size": { + "x": 210, + "y": 297 + }, + "orientation": "PORTRAIT", + "labelSpacing": { + "x": 0, + "y": 3 + }, + "labelCount": { + "labelX": 3, + "labelY": 8 + }, + "margin": { + "top": 3, + "bottom": 0, + "left": 0, + "right": 0 + } + } + }, + { + "id": 33, + "isAddressPossible": false, + "isImagePossible": true, + "name": "Zweckform 3490 Etiketten 70 x 36", + "description": "Zweckform 3490 Etiketten 70 x 36", + "pageType": "LABELPAGE", + "pageLayout": { + "size": { + "x": 205, + "y": 296 + }, + "orientation": "PORTRAIT", + "labelSpacing": { + "x": 0, + "y": 3 + }, + "labelCount": { + "labelX": 3, + "labelY": 8 + }, + "margin": { + "top": 5, + "bottom": 2, + "left": 0, + "right": 0 + } + } + }, + { + "id": 35, + "isAddressPossible": false, + "isImagePossible": false, + "name": "DIN A4 Normalpapier", + "description": null, + "pageType": "REGULARPAGE", + "pageLayout": { + "size": { + "x": 210, + "y": 297 + }, + "orientation": "PORTRAIT", + "labelSpacing": { + "x": 0, + "y": 0 + }, + "labelCount": { + "labelX": 4, + "labelY": 8 + }, + "margin": { + "top": 16, + "bottom": 16, + "left": 25, + "right": 25 + } + } + }, + { + "id": 37, + "isAddressPossible": false, + "isImagePossible": true, + "name": "Brother DK-22205 Endlos-Etikett 62mm", + "description": null, + "pageType": "LABELPRINTER", + "pageLayout": { + "size": { + "x": 61, + "y": 37 + }, + "orientation": "PORTRAIT", + "labelSpacing": { + "x": 0, + "y": 0 + }, + "labelCount": { + "labelX": 1, + "labelY": 1 + }, + "margin": { + "top": 2, + "bottom": 2, + "left": 0, + "right": 0 + } + } + }, + { + "id": 39, + "isAddressPossible": false, + "isImagePossible": true, + "name": "Herma 4360 PREMIUM 70 x 36", + "description": "Herma 4360 PREMIUM 70 x 36", + "pageType": "LABELPAGE", + "pageLayout": { + "size": { + "x": 210, + "y": 297 + }, + "orientation": "PORTRAIT", + "labelSpacing": { + "x": 0, + "y": 0 + }, + "labelCount": { + "labelX": 3, + "labelY": 8 + }, + "margin": { + "top": 6, + "bottom": 2, + "left": 0, + "right": 0 + } + } + }, + { + "id": 40, + "isAddressPossible": false, + "isImagePossible": true, + "name": "Herma 8751 CompactLine 70 x 37", + "description": "Herma 8751 CompactLine 70 x 37", + "pageType": "LABELPAGE", + "pageLayout": { + "size": { + "x": 210, + "y": 147 + }, + "orientation": "PORTRAIT", + "labelSpacing": { + "x": 0, + "y": 0 + }, + "labelCount": { + "labelX": 3, + "labelY": 4 + }, + "margin": { + "top": 0, + "bottom": 0, + "left": 0, + "right": 0 + } + } + }, + { + "id": 41, + "isAddressPossible": false, + "isImagePossible": false, + "name": "Seiko SLP-STAMP 1 42 x 36", + "description": null, + "pageType": "LABELPRINTER", + "pageLayout": { + "size": { + "x": 35, + "y": 42 + }, + "orientation": "LANDSCAPE", + "labelSpacing": { + "x": 0, + "y": 0 + }, + "labelCount": { + "labelX": 1, + "labelY": 1 + }, + "margin": { + "top": 0, + "bottom": 0, + "left": 0, + "right": 0 + } + } + }, + { + "id": 42, + "isAddressPossible": false, + "isImagePossible": true, + "name": "Dymo 99012 weiss 89 x 36", + "description": null, + "pageType": "LABELPRINTER", + "pageLayout": { + "size": { + "x": 89, + "y": 36 + }, + "orientation": "PORTRAIT", + "labelSpacing": { + "x": 0, + "y": 0 + }, + "labelCount": { + "labelX": 1, + "labelY": 1 + }, + "margin": { + "top": 6, + "bottom": 2, + "left": 10, + "right": 10 + } + } + }, + { + "id": 44, + "isAddressPossible": false, + "isImagePossible": true, + "name": "Seiko SLP-STAMP 2 65 x 36", + "description": "Seiko SLP-STAMP 2 65 x 36", + "pageType": "LABELPRINTER", + "pageLayout": { + "size": { + "x": 36, + "y": 65 + }, + "orientation": "LANDSCAPE", + "labelSpacing": { + "x": 0, + "y": 0 + }, + "labelCount": { + "labelX": 1, + "labelY": 1 + }, + "margin": { + "top": 9, + "bottom": 9, + "left": 0, + "right": 0 + } + } + }, + { + "id": 49, + "isAddressPossible": false, + "isImagePossible": true, + "name": "Zweckform 3652 Etiketten 70 x 42,3", + "description": "Zweckform 3652 Etiketten 70 x 42,3", + "pageType": "LABELPAGE", + "pageLayout": { + "size": { + "x": 210, + "y": 297 + }, + "orientation": "PORTRAIT", + "labelSpacing": { + "x": 0, + "y": 5 + }, + "labelCount": { + "labelX": 3, + "labelY": 7 + }, + "margin": { + "top": 0, + "bottom": 0, + "left": 0, + "right": 0 + } + } + }, + { + "id": 51, + "isAddressPossible": false, + "isImagePossible": true, + "name": "DIN A4 Normalpapier", + "description": null, + "pageType": "REGULARPAGE", + "pageLayout": { + "size": { + "x": 210, + "y": 297 + }, + "orientation": "PORTRAIT", + "labelSpacing": { + "x": 0, + "y": 0 + }, + "labelCount": { + "labelX": 3, + "labelY": 8 + }, + "margin": { + "top": 16, + "bottom": 16, + "left": 7, + "right": 7 + } + } + }, + { + "id": 52, + "isAddressPossible": false, + "isImagePossible": true, + "name": "Zweckform 3474 Etiketten 70 x 37", + "description": "Zweckform 3474 Etiketten 70 x 37", + "pageType": "LABELPAGE", + "pageLayout": { + "size": { + "x": 210, + "y": 297 + }, + "orientation": "PORTRAIT", + "labelSpacing": { + "x": 0, + "y": 2 + }, + "labelCount": { + "labelX": 3, + "labelY": 8 + }, + "margin": { + "top": 2, + "bottom": 0, + "left": 0, + "right": 0 + } + } + }, + { + "id": 53, + "isAddressPossible": false, + "isImagePossible": true, + "name": "Brief C5 162 x 229", + "description": null, + "pageType": "ENVELOPE", + "pageLayout": { + "size": { + "x": 229, + "y": 162 + }, + "orientation": "PORTRAIT", + "labelSpacing": { + "x": 0, + "y": 0 + }, + "labelCount": { + "labelX": 1, + "labelY": 1 + }, + "margin": { + "top": 5, + "bottom": 122, + "left": 159, + "right": 10 + } + } + }, + { + "id": 54, + "isAddressPossible": false, + "isImagePossible": true, + "name": "Brief B5 176 x 250", + "description": null, + "pageType": "ENVELOPE", + "pageLayout": { + "size": { + "x": 250, + "y": 176 + }, + "orientation": "PORTRAIT", + "labelSpacing": { + "x": 0, + "y": 0 + }, + "labelCount": { + "labelX": 1, + "labelY": 1 + }, + "margin": { + "top": 5, + "bottom": 136, + "left": 180, + "right": 10 + } + } + }, + { + "id": 55, + "isAddressPossible": false, + "isImagePossible": true, + "name": "Brief B6 125 x 176", + "description": null, + "pageType": "ENVELOPE", + "pageLayout": { + "size": { + "x": 176, + "y": 125 + }, + "orientation": "PORTRAIT", + "labelSpacing": { + "x": 0, + "y": 0 + }, + "labelCount": { + "labelX": 1, + "labelY": 1 + }, + "margin": { + "top": 5, + "bottom": 85, + "left": 106, + "right": 10 + } + } + }, + { + "id": 56, + "isAddressPossible": false, + "isImagePossible": true, + "name": "Brief C4 229 x 324 (hoch)", + "description": null, + "pageType": "ENVELOPE", + "pageLayout": { + "size": { + "x": 229, + "y": 324 + }, + "orientation": "PORTRAIT", + "labelSpacing": { + "x": 0, + "y": 0 + }, + "labelCount": { + "labelX": 1, + "labelY": 1 + }, + "margin": { + "top": 6, + "bottom": 254, + "left": 129, + "right": 10 + } + } + }, + { + "id": 57, + "isAddressPossible": false, + "isImagePossible": true, + "name": "Brief B4 250 x 353 (quer)", + "description": null, + "pageType": "ENVELOPE", + "pageLayout": { + "size": { + "x": 353, + "y": 250 + }, + "orientation": "PORTRAIT", + "labelSpacing": { + "x": 0, + "y": 0 + }, + "labelCount": { + "labelX": 1, + "labelY": 1 + }, + "margin": { + "top": 5, + "bottom": 210, + "left": 283, + "right": 10 + } + } + }, + { + "id": 58, + "isAddressPossible": false, + "isImagePossible": true, + "name": "Brief C65 114 x 229", + "description": null, + "pageType": "ENVELOPE", + "pageLayout": { + "size": { + "x": 229, + "y": 114 + }, + "orientation": "PORTRAIT", + "labelSpacing": { + "x": 0, + "y": 0 + }, + "labelCount": { + "labelX": 1, + "labelY": 1 + }, + "margin": { + "top": 5, + "bottom": 74, + "left": 159, + "right": 10 + } + } + }, + { + "id": 59, + "isAddressPossible": false, + "isImagePossible": true, + "name": "Brief DIN Lang 110 x 220", + "description": null, + "pageType": "ENVELOPE", + "pageLayout": { + "size": { + "x": 220, + "y": 110 + }, + "orientation": "PORTRAIT", + "labelSpacing": { + "x": 0, + "y": 0 + }, + "labelCount": { + "labelX": 1, + "labelY": 1 + }, + "margin": { + "top": 5, + "bottom": 70, + "left": 150, + "right": 10 + } + } + }, + { + "id": 60, + "isAddressPossible": false, + "isImagePossible": true, + "name": "Brief B4 250 x 353 (hoch)", + "description": null, + "pageType": "ENVELOPE", + "pageLayout": { + "size": { + "x": 250, + "y": 353 + }, + "orientation": "PORTRAIT", + "labelSpacing": { + "x": 0, + "y": 0 + }, + "labelCount": { + "labelX": 1, + "labelY": 1 + }, + "margin": { + "top": 5, + "bottom": 313, + "left": 180, + "right": 10 + } + } + }, + { + "id": 61, + "isAddressPossible": false, + "isImagePossible": true, + "name": "Brief C4 229 x 324 (quer)", + "description": null, + "pageType": "ENVELOPE", + "pageLayout": { + "size": { + "x": 324, + "y": 229 + }, + "orientation": "PORTRAIT", + "labelSpacing": { + "x": 0, + "y": 0 + }, + "labelCount": { + "labelX": 1, + "labelY": 1 + }, + "margin": { + "top": 5, + "bottom": 189, + "left": 254, + "right": 10 + } + } + }, + { + "id": 62, + "isAddressPossible": false, + "isImagePossible": true, + "name": "Brief C6 114 x 162", + "description": null, + "pageType": "ENVELOPE", + "pageLayout": { + "size": { + "x": 162, + "y": 114 + }, + "orientation": "PORTRAIT", + "labelSpacing": { + "x": 0, + "y": 0 + }, + "labelCount": { + "labelX": 1, + "labelY": 1 + }, + "margin": { + "top": 5, + "bottom": 74, + "left": 92, + "right": 10 + } + } + }, + { + "id": 63, + "isAddressPossible": false, + "isImagePossible": true, + "name": "Etiketten, 2 Spalten - 5 Reihen", + "description": "Etiketten, 2 Spalten - 5 Reihen", + "pageType": "LABELPAGE", + "pageLayout": { + "size": { + "x": 210, + "y": 297 + }, + "orientation": "PORTRAIT", + "labelSpacing": { + "x": 40, + "y": 40 + }, + "labelCount": { + "labelX": 2, + "labelY": 5 + }, + "margin": { + "top": 15, + "bottom": 15, + "left": 35, + "right": 20 + } + } + }, + { + "id": 64, + "isAddressPossible": false, + "isImagePossible": true, + "name": "Etiketten, 2 Spalten - 4 Reihen", + "description": "Etiketten, 2 Spalten - 4 Reihen", + "pageType": "LABELPAGE", + "pageLayout": { + "size": { + "x": 210, + "y": 297 + }, + "orientation": "PORTRAIT", + "labelSpacing": { + "x": 45, + "y": 40 + }, + "labelCount": { + "labelX": 2, + "labelY": 4 + }, + "margin": { + "top": 20, + "bottom": 30, + "left": 35, + "right": 20 + } + } + }, + { + "id": 65, + "isAddressPossible": false, + "isImagePossible": true, + "name": "Etiketten, 2 Spalten - 6 Reihen", + "description": "Etiketten, 2 Spalten - 6 Reihen", + "pageType": "LABELPAGE", + "pageLayout": { + "size": { + "x": 210, + "y": 297 + }, + "orientation": "PORTRAIT", + "labelSpacing": { + "x": 40, + "y": 40 + }, + "labelCount": { + "labelX": 2, + "labelY": 6 + }, + "margin": { + "top": 12, + "bottom": 12, + "left": 35, + "right": 20 + } + } + }, + { + "id": 66, + "isAddressPossible": false, + "isImagePossible": true, + "name": "Brother DK-11208 90 x 38", + "description": null, + "pageType": "LABELPRINTER", + "pageLayout": { + "size": { + "x": 90, + "y": 38 + }, + "orientation": "PORTRAIT", + "labelSpacing": { + "x": 0, + "y": 0 + }, + "labelCount": { + "labelX": 1, + "labelY": 1 + }, + "margin": { + "top": 2, + "bottom": 2, + "left": 10, + "right": 10 + } + } + }, + { + "id": 67, + "isAddressPossible": false, + "isImagePossible": false, + "name": "Leitz ICON Endlos-Etikett 39 mm ", + "description": "Leitz ICON Endlos-Etikett 39 mm ", + "pageType": "LABELPRINTER", + "pageLayout": { + "size": { + "x": 39, + "y": 34 + }, + "orientation": "PORTRAIT", + "labelSpacing": { + "x": 0, + "y": 0 + }, + "labelCount": { + "labelX": 1, + "labelY": 1 + }, + "margin": { + "top": 1, + "bottom": 1, + "left": 1, + "right": 1 + } + } + }, + { + "id": 68, + "isAddressPossible": false, + "isImagePossible": true, + "name": "Herma 4361 PREMIUM 70 x 42", + "description": "Herma 4361 PREMIUM 70 x 42", + "pageType": "LABELPAGE", + "pageLayout": { + "size": { + "x": 207, + "y": 297 + }, + "orientation": "PORTRAIT", + "labelSpacing": { + "x": 0, + "y": 0 + }, + "labelCount": { + "labelX": 3, + "labelY": 7 + }, + "margin": { + "top": 5, + "bottom": 3, + "left": 0, + "right": 0 + } + } + }, + { + "id": 69, + "isAddressPossible": false, + "isImagePossible": true, + "name": "Zweckform L7160 Etiketten 63,5 x 38,1", + "description": null, + "pageType": "LABELPAGE", + "pageLayout": { + "size": { + "x": 209, + "y": 296 + }, + "orientation": "PORTRAIT", + "labelSpacing": { + "x": 2, + "y": 0 + }, + "labelCount": { + "labelX": 3, + "labelY": 7 + }, + "margin": { + "top": 17, + "bottom": 13, + "left": 6, + "right": 6 + } + } + }, + { + "id": 70, + "isAddressPossible": false, + "isImagePossible": true, + "name": "Herma 5053 PREMIUM 66 x 33,8", + "description": "Herma 5053 PREMIUM 66 x 33,8", + "pageType": "LABELPAGE", + "pageLayout": { + "size": { + "x": 210, + "y": 297 + }, + "orientation": "PORTRAIT", + "labelSpacing": { + "x": 0, + "y": 2 + }, + "labelCount": { + "labelX": 3, + "labelY": 8 + }, + "margin": { + "top": 15, + "bottom": 11, + "left": 6, + "right": 6 + } + } + }, + { + "id": 71, + "isAddressPossible": false, + "isImagePossible": true, + "name": "Zweckform 3481 Etiketten 70 x 41", + "description": null, + "pageType": "LABELPAGE", + "pageLayout": { + "size": { + "x": 205, + "y": 297 + }, + "orientation": "PORTRAIT", + "labelSpacing": { + "x": 0, + "y": 0 + }, + "labelCount": { + "labelX": 3, + "labelY": 7 + }, + "margin": { + "top": 6, + "bottom": 2, + "left": 0, + "right": 0 + } + } + }, + { + "id": 72, + "isAddressPossible": false, + "isImagePossible": true, + "name": "Zweckform 3422 Etiketten 70 x 35", + "description": "Zweckform 3422 Etiketten 70 x 35", + "pageType": "LABELPAGE", + "pageLayout": { + "size": { + "x": 210, + "y": 297 + }, + "orientation": "PORTRAIT", + "labelSpacing": { + "x": 0, + "y": 6 + }, + "labelCount": { + "labelX": 3, + "labelY": 8 + }, + "margin": { + "top": 13, + "bottom": 4, + "left": 0, + "right": 0 + } + } + }, + { + "id": 73, + "isAddressPossible": false, + "isImagePossible": true, + "name": "Herma 5054 PREMIUM 70 x 42,3", + "description": "Herma 5054 PREMIUM 70 x 42,3", + "pageType": "LABELPAGE", + "pageLayout": { + "size": { + "x": 207, + "y": 297 + }, + "orientation": "PORTRAIT", + "labelSpacing": { + "x": 0, + "y": 0 + }, + "labelCount": { + "labelX": 3, + "labelY": 7 + }, + "margin": { + "top": 4, + "bottom": 4, + "left": 0, + "right": 0 + } + } + }, + { + "id": 74, + "isAddressPossible": false, + "isImagePossible": true, + "name": "Herma 4473 PREMIUM 70 x 41", + "description": "Herma 4473 PREMIUM 70 x 41", + "pageType": "LABELPAGE", + "pageLayout": { + "size": { + "x": 207, + "y": 297 + }, + "orientation": "PORTRAIT", + "labelSpacing": { + "x": 0, + "y": 0 + }, + "labelCount": { + "labelX": 3, + "labelY": 7 + }, + "margin": { + "top": 5, + "bottom": 5, + "left": 0, + "right": 0 + } + } + }, + { + "id": 76, + "isAddressPossible": true, + "isImagePossible": false, + "name": "Brother DK-22212 Endlos-Etikett 62mm", + "description": null, + "pageType": "LABELPRINTER", + "pageLayout": { + "size": { + "x": 62, + "y": 100 + }, + "orientation": "LANDSCAPE", + "labelSpacing": { + "x": 0, + "y": 0 + }, + "labelCount": { + "labelX": 1, + "labelY": 1 + }, + "margin": { + "top": 5, + "bottom": 5, + "left": 3, + "right": 3 + } + } + }, + { + "id": 77, + "isAddressPossible": true, + "isImagePossible": false, + "name": "Seiko SLP-SRL 54 x 101 ", + "description": null, + "pageType": "LABELPRINTER", + "pageLayout": { + "size": { + "x": 62, + "y": 100 + }, + "orientation": "LANDSCAPE", + "labelSpacing": { + "x": 0, + "y": 0 + }, + "labelCount": { + "labelX": 1, + "labelY": 1 + }, + "margin": { + "top": 5, + "bottom": 5, + "left": 3, + "right": 3 + } + } + }, + { + "id": 78, + "isAddressPossible": true, + "isImagePossible": false, + "name": "Herma 8747 CompactLine 105 x 148", + "description": "Herma 8747 CompactLine 105 x 148", + "pageType": "LABELPAGE", + "pageLayout": { + "size": { + "x": 148, + "y": 210 + }, + "orientation": "PORTRAIT", + "labelSpacing": { + "x": 0, + "y": 0 + }, + "labelCount": { + "labelX": 1, + "labelY": 2 + }, + "margin": { + "top": 0, + "bottom": 0, + "left": 0, + "right": 0 + } + } + }, + { + "id": 79, + "isAddressPossible": true, + "isImagePossible": false, + "name": "Etiketten, 2 Spalten - 4 Reihen", + "description": null, + "pageType": "LABELPAGE", + "pageLayout": { + "size": { + "x": 210, + "y": 297 + }, + "orientation": "PORTRAIT", + "labelSpacing": { + "x": 0, + "y": 0 + }, + "labelCount": { + "labelX": 2, + "labelY": 4 + }, + "margin": { + "top": 15, + "bottom": 15, + "left": 7, + "right": 7 + } + } + }, + { + "id": 80, + "isAddressPossible": true, + "isImagePossible": false, + "name": "Etiketten, 2 Spalten - 5 Reihen", + "description": null, + "pageType": "LABELPAGE", + "pageLayout": { + "size": { + "x": 210, + "y": 297 + }, + "orientation": "PORTRAIT", + "labelSpacing": { + "x": 7, + "y": 0 + }, + "labelCount": { + "labelX": 2, + "labelY": 5 + }, + "margin": { + "top": 15, + "bottom": 0, + "left": 0, + "right": 0 + } + } + }, + { + "id": 81, + "isAddressPossible": true, + "isImagePossible": false, + "name": "Brother DK-22243 Endlos-Etikett 102mm", + "description": null, + "pageType": "LABELPRINTER", + "pageLayout": { + "size": { + "x": 70, + "y": 100 + }, + "orientation": "LANDSCAPE", + "labelSpacing": { + "x": 0, + "y": 0 + }, + "labelCount": { + "labelX": 1, + "labelY": 1 + }, + "margin": { + "top": 0, + "bottom": 0, + "left": 0, + "right": 0 + } + } + }, + { + "id": 82, + "isAddressPossible": true, + "isImagePossible": false, + "name": "Herma 4250 PREMIUM 99.1 x 139", + "description": "Herma 4250 PREMIUM 99.1 x 139", + "pageType": "LABELPAGE", + "pageLayout": { + "size": { + "x": 210, + "y": 297 + }, + "orientation": "LANDSCAPE", + "labelSpacing": { + "x": 0, + "y": 0 + }, + "labelCount": { + "labelX": 2, + "labelY": 2 + }, + "margin": { + "top": 10, + "bottom": 10, + "left": 7, + "right": 7 + } + } + }, + { + "id": 83, + "isAddressPossible": true, + "isImagePossible": false, + "name": "Brief B4 250 x 353 (hoch)", + "description": null, + "pageType": "ENVELOPE", + "pageLayout": { + "size": { + "x": 250, + "y": 353 + }, + "orientation": "PORTRAIT", + "labelSpacing": { + "x": 0, + "y": 0 + }, + "labelCount": { + "labelX": 1, + "labelY": 1 + }, + "margin": { + "top": 50, + "bottom": 231, + "left": 45, + "right": 151 + } + } + }, + { + "id": 84, + "isAddressPossible": true, + "isImagePossible": false, + "name": "Zweckform 3477 Etiketten 105 x 41", + "description": "Zweckform 3477 Etiketten 105 x 41", + "pageType": "LABELPAGE", + "pageLayout": { + "size": { + "x": 210, + "y": 297 + }, + "orientation": "PORTRAIT", + "labelSpacing": { + "x": 0, + "y": 0 + }, + "labelCount": { + "labelX": 2, + "labelY": 7 + }, + "margin": { + "top": 6, + "bottom": 3, + "left": 5, + "right": 0 + } + } + }, + { + "id": 85, + "isAddressPossible": true, + "isImagePossible": false, + "name": "Brief C4 229 x 324 (hoch)", + "description": null, + "pageType": "ENVELOPE", + "pageLayout": { + "size": { + "x": 229, + "y": 324 + }, + "orientation": "PORTRAIT", + "labelSpacing": { + "x": 0, + "y": 0 + }, + "labelCount": { + "labelX": 1, + "labelY": 1 + }, + "margin": { + "top": 50, + "bottom": 210, + "left": 30, + "right": 109 + } + } + }, + { + "id": 86, + "isAddressPossible": true, + "isImagePossible": false, + "name": "Herma 4457 PREMIUM 105 x 48", + "description": "Herma 4457 PREMIUM 105 x 48", + "pageType": "LABELPAGE", + "pageLayout": { + "size": { + "x": 210, + "y": 297 + }, + "orientation": "PORTRAIT", + "labelSpacing": { + "x": 0, + "y": 4 + }, + "labelCount": { + "labelX": 2, + "labelY": 6 + }, + "margin": { + "top": 4, + "bottom": 3, + "left": 0, + "right": 0 + } + } + }, + { + "id": 87, + "isAddressPossible": true, + "isImagePossible": false, + "name": "Herma 4426 PREMIUM 105 x 70", + "description": "Herma 4426 PREMIUM 105 x 70", + "pageType": "LABELPAGE", + "pageLayout": { + "size": { + "x": 210, + "y": 297 + }, + "orientation": "PORTRAIT", + "labelSpacing": { + "x": 0, + "y": 0 + }, + "labelCount": { + "labelX": 2, + "labelY": 4 + }, + "margin": { + "top": 8, + "bottom": 8, + "left": 0, + "right": 0 + } + } + }, + { + "id": 88, + "isAddressPossible": true, + "isImagePossible": false, + "name": "Herma 8690 PREMIUM 148.5 x 205", + "description": "Herma 8690 PREMIUM 148.5 x 205", + "pageType": "LABELPRINTER", + "pageLayout": { + "size": { + "x": 210, + "y": 148 + }, + "orientation": "PORTRAIT", + "labelSpacing": { + "x": 0, + "y": 0 + }, + "labelCount": { + "labelX": 1, + "labelY": 1 + }, + "margin": { + "top": 70, + "bottom": 0, + "left": 0, + "right": 0 + } + } + }, + { + "id": 89, + "isAddressPossible": true, + "isImagePossible": false, + "name": "Herma 8746 CompactLine 210 x 148", + "description": "Herma 8746 CompactLine 210 x 148", + "pageType": "LABELPAGE", + "pageLayout": { + "size": { + "x": 210, + "y": 148 + }, + "orientation": "PORTRAIT", + "labelSpacing": { + "x": 0, + "y": 0 + }, + "labelCount": { + "labelX": 1, + "labelY": 1 + }, + "margin": { + "top": 70, + "bottom": 0, + "left": 100, + "right": 0 + } + } + }, + { + "id": 90, + "isAddressPossible": true, + "isImagePossible": false, + "name": "Dymo 99014, 101 x 54", + "description": null, + "pageType": "LABELPRINTER", + "pageLayout": { + "size": { + "x": 62, + "y": 100 + }, + "orientation": "LANDSCAPE", + "labelSpacing": { + "x": 0, + "y": 0 + }, + "labelCount": { + "labelX": 1, + "labelY": 1 + }, + "margin": { + "top": 5, + "bottom": 5, + "left": 3, + "right": 3 + } + } + }, + { + "id": 91, + "isAddressPossible": true, + "isImagePossible": false, + "name": "Herma 4667 PREMIUM 96 x 50.8", + "description": "Herma 4667 PREMIUM 96 x 50.8", + "pageType": "LABELPAGE", + "pageLayout": { + "size": { + "x": 210, + "y": 297 + }, + "orientation": "PORTRAIT", + "labelSpacing": { + "x": 0, + "y": 0 + }, + "labelCount": { + "labelX": 2, + "labelY": 5 + }, + "margin": { + "top": 25, + "bottom": 20, + "left": 5, + "right": 0 + } + } + }, + { + "id": 92, + "isAddressPossible": true, + "isImagePossible": false, + "name": "Herma 4669 PREMIUM 96.5 x 42.3", + "description": "Herma 4669 PREMIUM 96.5 x 42.3", + "pageType": "LABELPAGE", + "pageLayout": { + "size": { + "x": 210, + "y": 297 + }, + "orientation": "PORTRAIT", + "labelSpacing": { + "x": 0, + "y": 0 + }, + "labelCount": { + "labelX": 2, + "labelY": 6 + }, + "margin": { + "top": 22, + "bottom": 20, + "left": 5, + "right": 0 + } + } + }, + { + "id": 93, + "isAddressPossible": true, + "isImagePossible": false, + "name": "Herma 4623 PREMIUM 96.5 x 42.3", + "description": "Herma 4623 PREMIUM 96.5 x 42.3", + "pageType": "LABELPAGE", + "pageLayout": { + "size": { + "x": 210, + "y": 297 + }, + "orientation": "PORTRAIT", + "labelSpacing": { + "x": 0, + "y": 0 + }, + "labelCount": { + "labelX": 2, + "labelY": 6 + }, + "margin": { + "top": 22, + "bottom": 20, + "left": 5, + "right": 0 + } + } + }, + { + "id": 94, + "isAddressPossible": true, + "isImagePossible": false, + "name": "Zweckform 3425 Etiketten 105 x 57", + "description": null, + "pageType": "LABELPAGE", + "pageLayout": { + "size": { + "x": 210, + "y": 297 + }, + "orientation": "PORTRAIT", + "labelSpacing": { + "x": 7, + "y": 0 + }, + "labelCount": { + "labelX": 2, + "labelY": 5 + }, + "margin": { + "top": 11, + "bottom": 6, + "left": 4, + "right": 4 + } + } + }, + { + "id": 95, + "isAddressPossible": true, + "isImagePossible": false, + "name": "Zweckform 3427 Etiketten 105 x 74", + "description": null, + "pageType": "LABELPAGE", + "pageLayout": { + "size": { + "x": 210, + "y": 297 + }, + "orientation": "PORTRAIT", + "labelSpacing": { + "x": 0, + "y": 0 + }, + "labelCount": { + "labelX": 2, + "labelY": 4 + }, + "margin": { + "top": 8, + "bottom": 8, + "left": 0, + "right": 0 + } + } + }, + { + "id": 96, + "isAddressPossible": true, + "isImagePossible": false, + "name": "Zweckform L7169 Etiketten 99,1 x 139", + "description": null, + "pageType": "LABELPAGE", + "pageLayout": { + "size": { + "x": 297, + "y": 210 + }, + "orientation": "PORTRAIT", + "labelSpacing": { + "x": 0, + "y": 0 + }, + "labelCount": { + "labelX": 2, + "labelY": 2 + }, + "margin": { + "top": 0, + "bottom": 0, + "left": 0, + "right": 0 + } + } + }, + { + "id": 97, + "isAddressPossible": true, + "isImagePossible": false, + "name": "Zweckform 3653 Etiketten 105 x 42.3", + "description": "Zweckform 3653 Etiketten 105 x 42.3", + "pageType": "LABELPAGE", + "pageLayout": { + "size": { + "x": 210, + "y": 303 + }, + "orientation": "PORTRAIT", + "labelSpacing": { + "x": 4, + "y": 0 + }, + "labelCount": { + "labelX": 2, + "labelY": 7 + }, + "margin": { + "top": 6, + "bottom": 2, + "left": 5, + "right": 0 + } + } + }, + { + "id": 98, + "isAddressPossible": true, + "isImagePossible": false, + "name": "Herma 4281 PREMIUM 105 x 50.8", + "description": "Herma 4281 PREMIUM 105 x 50.8", + "pageType": "LABELPAGE", + "pageLayout": { + "size": { + "x": 210, + "y": 297 + }, + "orientation": "PORTRAIT", + "labelSpacing": { + "x": 0, + "y": 0 + }, + "labelCount": { + "labelX": 2, + "labelY": 5 + }, + "margin": { + "top": 25, + "bottom": 25, + "left": 5, + "right": 0 + } + } + }, + { + "id": 99, + "isAddressPossible": true, + "isImagePossible": false, + "name": "Zweckform 3424 Etiketten 105 x 48", + "description": "Zweckform 3424 Etiketten 105 x 48", + "pageType": "LABELPAGE", + "pageLayout": { + "size": { + "x": 210, + "y": 297 + }, + "orientation": "PORTRAIT", + "labelSpacing": { + "x": 0, + "y": 6 + }, + "labelCount": { + "labelX": 2, + "labelY": 6 + }, + "margin": { + "top": 4, + "bottom": 4, + "left": 1, + "right": 1 + } + } + }, + { + "id": 100, + "isAddressPossible": true, + "isImagePossible": false, + "name": "Zweckform J8177 Etiketten 99.1 x 42.3", + "description": null, + "pageType": "LABELPAGE", + "pageLayout": { + "size": { + "x": 210, + "y": 297 + }, + "orientation": "PORTRAIT", + "labelSpacing": { + "x": 0, + "y": 0 + }, + "labelCount": { + "labelX": 2, + "labelY": 6 + }, + "margin": { + "top": 22, + "bottom": 20, + "left": 5, + "right": 0 + } + } + }, + { + "id": 101, + "isAddressPossible": true, + "isImagePossible": false, + "name": "Herma 4674 PREMIUM 105 x 42.3", + "description": "Herma 4674 PREMIUM 105 x 42.3", + "pageType": "LABELPAGE", + "pageLayout": { + "size": { + "x": 210, + "y": 303 + }, + "orientation": "PORTRAIT", + "labelSpacing": { + "x": 4, + "y": 0 + }, + "labelCount": { + "labelX": 2, + "labelY": 7 + }, + "margin": { + "top": 6, + "bottom": 3, + "left": 5, + "right": 0 + } + } + }, + { + "id": 102, + "isAddressPossible": true, + "isImagePossible": false, + "name": "Herma 4452 PREMIUM 105 x 42", + "description": "Herma 4452 PREMIUM 105 x 42", + "pageType": "LABELPAGE", + "pageLayout": { + "size": { + "x": 210, + "y": 297 + }, + "orientation": "PORTRAIT", + "labelSpacing": { + "x": 0, + "y": 0 + }, + "labelCount": { + "labelX": 2, + "labelY": 7 + }, + "margin": { + "top": 5, + "bottom": 2, + "left": 5, + "right": 0 + } + } + }, + { + "id": 103, + "isAddressPossible": true, + "isImagePossible": false, + "name": "Herma 4475 PREMIUM 105 x 41", + "description": "Herma 4475 PREMIUM 105 x 41", + "pageType": "LABELPAGE", + "pageLayout": { + "size": { + "x": 210, + "y": 297 + }, + "orientation": "PORTRAIT", + "labelSpacing": { + "x": 0, + "y": 0 + }, + "labelCount": { + "labelX": 2, + "labelY": 7 + }, + "margin": { + "top": 6, + "bottom": 3, + "left": 5, + "right": 0 + } + } + }, + { + "id": 104, + "isAddressPossible": true, + "isImagePossible": false, + "name": "Herma 4454 PREMIUM 105 x 144 ", + "description": "Herma 4454 PREMIUM 105 x 144 ", + "pageType": "LABELPAGE", + "pageLayout": { + "size": { + "x": 297, + "y": 210 + }, + "orientation": "PORTRAIT", + "labelSpacing": { + "x": 0, + "y": 0 + }, + "labelCount": { + "labelX": 2, + "labelY": 2 + }, + "margin": { + "top": 0, + "bottom": 0, + "left": 5, + "right": 0 + } + } + }, + { + "id": 105, + "isAddressPossible": true, + "isImagePossible": false, + "name": "Zweckform 4781 Etiketten 97 x 42.3", + "description": "Zweckform 4781 Etiketten 97 x 42.3", + "pageType": "LABELPAGE", + "pageLayout": { + "size": { + "x": 210, + "y": 297 + }, + "orientation": "PORTRAIT", + "labelSpacing": { + "x": 0, + "y": 7 + }, + "labelCount": { + "labelX": 2, + "labelY": 6 + }, + "margin": { + "top": 25, + "bottom": 20, + "left": 5, + "right": 0 + } + } + }, + { + "id": 106, + "isAddressPossible": true, + "isImagePossible": false, + "name": "Zweckform J4722 Etiketten 96 x 50.8", + "description": null, + "pageType": "LABELPAGE", + "pageLayout": { + "size": { + "x": 210, + "y": 297 + }, + "orientation": "PORTRAIT", + "labelSpacing": { + "x": 0, + "y": 0 + }, + "labelCount": { + "labelX": 2, + "labelY": 5 + }, + "margin": { + "top": 25, + "bottom": 20, + "left": 5, + "right": 0 + } + } + }, + { + "id": 107, + "isAddressPossible": true, + "isImagePossible": false, + "name": "Etiketten, 2 Spalten - 6 Reihen", + "description": null, + "pageType": "LABELPAGE", + "pageLayout": { + "size": { + "x": 210, + "y": 297 + }, + "orientation": "PORTRAIT", + "labelSpacing": { + "x": 0, + "y": 0 + }, + "labelCount": { + "labelX": 2, + "labelY": 6 + }, + "margin": { + "top": 9, + "bottom": 0, + "left": 5, + "right": 0 + } + } + }, + { + "id": 108, + "isAddressPossible": true, + "isImagePossible": false, + "name": "Zweckform 3659 Etiketten 97 x 42.3", + "description": "Zweckform 3659 Etiketten 97 x 42.3", + "pageType": "LABELPAGE", + "pageLayout": { + "size": { + "x": 210, + "y": 297 + }, + "orientation": "PORTRAIT", + "labelSpacing": { + "x": 0, + "y": 2 + }, + "labelCount": { + "labelX": 2, + "labelY": 6 + }, + "margin": { + "top": 22, + "bottom": 18, + "left": 5, + "right": 0 + } + } + }, + { + "id": 109, + "isAddressPossible": true, + "isImagePossible": false, + "name": "Herma 4625 PREMIUM 105 x 42.3", + "description": "Herma 4625 PREMIUM 105 x 42.3", + "pageType": "LABELPAGE", + "pageLayout": { + "size": { + "x": 210, + "y": 303 + }, + "orientation": "PORTRAIT", + "labelSpacing": { + "x": 4, + "y": 0 + }, + "labelCount": { + "labelX": 2, + "labelY": 7 + }, + "margin": { + "top": 6, + "bottom": 3, + "left": 5, + "right": 0 + } + } + }, + { + "id": 112, + "isAddressPossible": true, + "isImagePossible": false, + "name": "Herma 4653 PREMIUM 99.1 x 93.1", + "description": "Herma 4653 PREMIUM 99.1 x 93.1", + "pageType": "LABELPAGE", + "pageLayout": { + "size": { + "x": 210, + "y": 297 + }, + "orientation": "PORTRAIT", + "labelSpacing": { + "x": 0, + "y": 0 + }, + "labelCount": { + "labelX": 2, + "labelY": 3 + }, + "margin": { + "top": 10, + "bottom": 10, + "left": 7, + "right": 7 + } + } + }, + { + "id": 113, + "isAddressPossible": true, + "isImagePossible": false, + "name": "Herma 10017 SPECIAL Etiketten 99.1 x 42.3", + "description": "Herma 10017 SPECIAL Etiketten 99.1 x 42.3", + "pageType": "LABELPAGE", + "pageLayout": { + "size": { + "x": 210, + "y": 297 + }, + "orientation": "PORTRAIT", + "labelSpacing": { + "x": 0, + "y": 0 + }, + "labelCount": { + "labelX": 2, + "labelY": 6 + }, + "margin": { + "top": 22, + "bottom": 20, + "left": 5, + "right": 0 + } + } + }, + { + "id": 114, + "isAddressPossible": true, + "isImagePossible": false, + "name": "Herma 4472 PREMIUM 78.7 x 139.7", + "description": "Herma 4472 PREMIUM 78.7 x 139.7", + "pageType": "LABELPAGE", + "pageLayout": { + "size": { + "x": 210, + "y": 297 + }, + "orientation": "LANDSCAPE", + "labelSpacing": { + "x": 0, + "y": 0 + }, + "labelCount": { + "labelX": 2, + "labelY": 2 + }, + "margin": { + "top": 13, + "bottom": 13, + "left": 19, + "right": 13 + } + } + }, + { + "id": 115, + "isAddressPossible": false, + "isImagePossible": true, + "name": "Dymo 99013 transparent 89 x 36", + "description": null, + "pageType": "LABELPRINTER", + "pageLayout": { + "size": { + "x": 89, + "y": 36 + }, + "orientation": "PORTRAIT", + "labelSpacing": { + "x": 0, + "y": 0 + }, + "labelCount": { + "labelX": 1, + "labelY": 1 + }, + "margin": { + "top": 6, + "bottom": 2, + "left": 10, + "right": 10 + } + } + }, + { + "id": 116, + "isAddressPossible": true, + "isImagePossible": false, + "name": "Herma 4425 PREMIUM 105 x 57", + "description": "Herma 4425 PREMIUM 105 x 57", + "pageType": "LABELPAGE", + "pageLayout": { + "size": { + "x": 210, + "y": 297 + }, + "orientation": "PORTRAIT", + "labelSpacing": { + "x": 7, + "y": 0 + }, + "labelCount": { + "labelX": 2, + "labelY": 5 + }, + "margin": { + "top": 11, + "bottom": 6, + "left": 0, + "right": 0 + } + } + }, + { + "id": 136, + "isAddressPossible": true, + "isImagePossible": false, + "name": "Herma 4628 PREMIUM 210 x 148", + "description": "Herma 4628 PREMIUM 210 x 148", + "pageType": "LABELPAGE", + "pageLayout": { + "size": { + "x": 210, + "y": 297 + }, + "orientation": "PORTRAIT", + "labelSpacing": { + "x": 0, + "y": 40 + }, + "labelCount": { + "labelX": 1, + "labelY": 2 + }, + "margin": { + "top": 70, + "bottom": 0, + "left": 100, + "right": 0 + } + } + }, + { + "id": 156, + "isAddressPossible": false, + "isImagePossible": true, + "name": "Leitz ICON Endlos-Etikett 88 mm", + "description": "Leitz ICON Endlos-Etikett 88 mm", + "pageType": "LABELPRINTER", + "pageLayout": { + "size": { + "x": 88, + "y": 30 + }, + "orientation": "PORTRAIT", + "labelSpacing": { + "x": 0, + "y": 0 + }, + "labelCount": { + "labelX": 1, + "labelY": 1 + }, + "margin": { + "top": 6, + "bottom": 2, + "left": 28, + "right": 10 + } + } + }, + { + "id": 176, + "isAddressPossible": true, + "isImagePossible": false, + "name": "Leitz ICON Endlos-Etikett 88 mm", + "description": "Leitz ICON Endlos-Etikett 88 mm", + "pageType": "LABELPRINTER", + "pageLayout": { + "size": { + "x": 88, + "y": 48 + }, + "orientation": "PORTRAIT", + "labelSpacing": { + "x": 0, + "y": 0 + }, + "labelCount": { + "labelX": 1, + "labelY": 1 + }, + "margin": { + "top": 5, + "bottom": 2, + "left": 8, + "right": 4 + } + } + }, + { + "id": 196, + "isAddressPossible": false, + "isImagePossible": true, + "name": "Leitz ICON Endlos-Etikett 61 mm", + "description": "Leitz ICON Endlos-Etikett 61 mm", + "pageType": "LABELPRINTER", + "pageLayout": { + "size": { + "x": 61, + "y": 48 + }, + "orientation": "LANDSCAPE", + "labelSpacing": { + "x": 0, + "y": 0 + }, + "labelCount": { + "labelX": 1, + "labelY": 1 + }, + "margin": { + "top": 0, + "bottom": 0, + "left": 2, + "right": 2 + } + } + }, + { + "id": 216, + "isAddressPossible": false, + "isImagePossible": true, + "name": "Brother DK-22225 Endlos-Etikett 38mm", + "description": "Brother DK-22225 Endlos-Etikett 38mm", + "pageType": "LABELPRINTER", + "pageLayout": { + "size": { + "x": 66, + "y": 38 + }, + "orientation": "PORTRAIT", + "labelSpacing": { + "x": 0, + "y": 0 + }, + "labelCount": { + "labelX": 1, + "labelY": 1 + }, + "margin": { + "top": 2, + "bottom": 2, + "left": 2, + "right": 2 + } + } + } +] diff --git a/inema/inema.py b/inema/inema.py index 6a94ee8..b09ef91 100644 --- a/inema/inema.py +++ b/inema/inema.py @@ -16,6 +16,9 @@ _logger = logging.getLogger(__name__) products_json = resource_stream(__name__, "data/products.json").read().decode() marke_products = json.loads(products_json) +formats_json = resource_stream(__name__, "data/formats.json").read().decode() +formats = json.loads(formats_json) + def get_product_price_by_id(ext_prod_id): price_float_str = marke_products[str(ext_prod_id)]['cost_price'] return int(float(price_float_str) * 100) @@ -90,6 +93,13 @@ class Internetmarke(object): _logger.info("retrievePreviewPNG result: %s", r) return r + def retrievePageFormats(self): + s = self.client.service + r = s.retrievePageFormats(_soapheaders = self.soapheader) + _logger.info("retrievePageFormats result: %s", r) + return r + + def add_position(self, position): _logger.info("Adding position to basket: %s", position) self.positions.append(position)