| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| merkalt:bartender_automation_set_description [2011/06/08 11:44] – daruma | merkalt:bartender_automation_set_description [2011/10/26 09:45] (current) – dmitriy |
|---|
| <Settings> | <Settings> |
| <Instances> | <Instances> |
| <Instance name="xxx"> | <Instance name="090" url="http://merkalt.com/no/shipment_notifier.php?order_id={0}"> |
| <Set name="product_name_1"> | <Set name="product_name_1"> |
| <Iron-On labelsOnSheet="80" template="template1.btw" labelWidth="30" labelHeight="14" labelGapHorizontal="0" labelGapVertical="0" imageSettings="picw1140\pich532\picwgoal2726\pichgoal1272\picscalex62\picscaley62" /> | <Iron-On quantity="300" labelsInRow="3" rowsOnSheet="2" template="template1.btw" labelWidth="30" labelHeight="14" labelGapHorizontal="2" labelGapVertical="2" imageSettings="picw1140\pich532\picwgoal2726\pichgoal1272\picscalex62\picscaley62" /> |
| <Self-Adhesive labelsOnSheet="80" template="template1.btw" labelWidth="30" labelHeight="14" labelGapHorizontal="0" labelGapVertical="0" imageSettings="picw1140\pich532\picwgoal2726\pichgoal1272\picscalex62\picscaley62" /> | <Self-Adhesive quantity="100" labelsInRow="3" rowsOnSheet="2" template="template1.btw" labelWidth="30" labelHeight="14" labelGapHorizontal="2" labelGapVertical="2" imageSettings="picw1140\pich532\picwgoal2726\pichgoal1272\picscalex62\picscaley62" /> |
| </Set> | </Set> |
| <Set name="product_name_2"> | <Set name="product_name_2"> |
| <Iron-On labelsOnSheet="135" template="template1.btw" labelWidth="30" labelHeight="14" labelGapHorizontal="0" labelGapVertical="0" imageSettings="picw1140\pich532\picwgoal2726\pichgoal1272\picscalex62\picscaley62" /> | <Iron-On quantity="20" labelsInRow="3" rowsOnSheet="3" template="template1.btw" labelWidth="30" labelHeight="14" labelGapHorizontal="2" labelGapVertical="2" imageSettings="picw1140\pich532\picwgoal2726\pichgoal1272\picscalex62\picscaley62" /> |
| </Set> | </Set> |
| <Set name="product_name_3"> | <Set name="product_name_3"> |
| <Self-Adhesive labelsOnSheet="200" template="template1.btw" labelWidth="30" labelHeight="14" labelGapHorizontal="0" labelGapVertical="0" imageSettings="picw1140\pich532\picwgoal2726\pichgoal1272\picscalex62\picscaley62" /> | <Iron-On quantity="120" labelsInRow="3" rowsOnSheet="3" template="template1.btw" labelWidth="30" labelHeight="14" labelGapHorizontal="2" labelGapVertical="2" imageSettings="picw1140\pich532\picwgoal2726\pichgoal1272\picscalex62\picscaley62" /> |
| </Set> | </Set> |
| </Instance> | </Instance> |
| </Instances> | </Instances> |
| <Printers> | <Printers> |
| <Printer product="Iron-On" color="black">printer_1</Printer> | <Printer product="Iron-On" color="black">Datamax M-4308 Mark II</Printer> |
| <Printer product="Iron-On" color="red">printer_2</Printer> | <Printer product="Iron-On" color="red">Automatisk ROSA Stryke</Printer> |
| <Printer product="Iron-On" color="blue">printer_3</Printer> | <Printer product="Iron-On" color="blue">Automatisk BLЕ Stryke</Printer> |
| <Printer product="Self-Adhesive" color="black">printer_4</Printer> | <Printer product="Self-Adhesive" color="black">Datamax M-4308 Mark II</Printer> |
| <Printer product="Self-Adhesive" color="red">printer_5</Printer> | <Printer product="Self-Adhesive" color="red">Automatisk ROSA Klistre</Printer> |
| <Printer product="Self-Adhesive" color="blue">printer_6</Printer> | <Printer product="Self-Adhesive" color="blue">Automatisk BLЕ Klistre</Printer> |
| </Printers> | </Printers> |
| </Settings> | </Settings> |
| This file describes two main sets: 'Printers' and 'Instances'. | This file describes two main sets: 'Printers' and 'Instances'. |
| |
| 'Printers' section contains six printer names: for three possible colors and two possible products. | 'Printers' section example contains six printer names - one printer for each possible combination: for three possible colors and two possible products. |
| | |
| The real printer names should be defined here instead 'printer_x' strings, given as example. | |
| |
| 'Instances' section contains the set of instance-depending settings used for label data import. | 'Instances' section contains the set of instance-depending settings used for label data import. |
| |
| Each instance described with a tag <Instance name="xxx">, where 'xxx' - the unique value of INVOICE_ID_POSTFIX constant from settings.inc.php file of instance configuration. | Each instance described with a tag <Instance name="xxx" url="http://merkalt.com/no/shipment_notifier.php?order_id={0}">, where 'xxx' - the unique value of INVOICE_ID_POSTFIX constant from settings.inc.php file of instance configuration. |
| |
| These codes are given in details on [[merkalt:order_id_format_changed|special page]]. | These codes are given in details on [[merkalt:order_id_format_changed|special page]]. |
| | |
| | Url value is used to provide shipment notification functionality. It should vary depending on instance |
| | |
| |
| 'Instance' item includes settings for product sets. | 'Instance' item includes settings for product sets. |
| These properties are: | These properties are: |
| |
| * **labelsOnSheet="200"** defines number of labels in product set. For example, it will be 80 labels of each type for 'product_name_1' or 200 self-adhesive labels for product type 'product_name_3'. | * **quantity="300"** defines a number of labels in product set. For example, it could be 81 labels of each type for 'product_name_1' or 300 self-adhesive labels for product type 'product_name_3'. |
| * **template="template1.btw"** sets the name of template which will be used for import in Bartender. | * **template="template1.btw"** sets the name of template which will be used for import in Bartender. |
| * **labelWidth="30"** and **labelHeight="14"** determines the size of imported label. As standard 30x14 mm label used. Measure units (mm or inches) depend on Bartender settings. | * **labelWidth="30"** and **labelHeight="14"** determines the size of imported label. As standard 30x14 mm label used. Measure units (mm or inches) depend on Bartender settings. |
| * **labelGapHorizontal="2"** and **labelGapVertical="2"** properties allow to set aps between label rows and columns on printed sheet respectively. | * **labelGapHorizontal="2"** and **labelGapVertical="2"** properties allow to set aps between label rows and columns on printed sheet respectively. |
| * **imageSettings="picw1140\pich532\picwgoal2726\pichgoal1272\picscalex62\picscaley62"** property defines the algorythm of image transformation to fit the image into label size. | * **imageSettings="picw1140\pich532\picwgoal2726\pichgoal1272\picscalex62\picscaley62"** property defines the algorythm of image transformation to fit the image into label size. |
| | |
| | The next 2 options a re new and added to support different page setup at Bartender |
| | |
| | * **labelsInRow="3"** This parameter defines number of columns per page in bartender page setup |
| | * **rowsOnSheet="2"** This parameter defines number of rows per page in bartender page setup |
| | |
| | The values **labelWidth="30"**, **labelHeight="14"**, **labelGapHorizontal="2"**, **labelGapVertical="2"**, **labelsInRow="3"**, **rowsOnSheet="2"** rewrites btw file setup options shown on the picture below - |
| | |
| | {{:merkalt:page_setup.jpg|}} |
| |
| So all these settings could be separately defined for each product type of each instance. | So all these settings could be separately defined for each product type of each instance. |
| The number of instances in 'Instances' section is equal to the number of sites which create orders on labels printing (excluding navnestempel.no, dorskilt.no, etc.). | The number of instances in 'Instances' section is equal to the number of sites which create orders on labels printing (excluding navnestempel.no, dorskilt.no, etc.). |