cobi.wms:print_settings
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| cobi.wms:print_settings [2022/09/01 10:07] – tkammer | cobi.wms:print_settings [2026/01/06 14:10] (current) – [Authentication] thuth | ||
|---|---|---|---|
| Line 11: | Line 11: | ||
| This type of printing requires a network-capable printer, but no additional server-side software. | This type of printing requires a network-capable printer, but no additional server-side software. | ||
| + | |||
| + | For label printing, the app uses templates in a custom HTML-based format which is described here: [[: | ||
| ==== Method ==== | ==== Method ==== | ||
| Line 32: | Line 34: | ||
| ===== Document printing ===== | ===== Document printing ===== | ||
| - | This type of printing requires the COBI.wms Print Helper | + | This type of printing requires the COBI.wms Print Service |
| - | Currently, the document printing feature works solely in combination with **coresuite designer** layouts. | + | Currently, the document printing feature works solely in combination with coresuite designer |
| ==== Print service address ==== | ==== Print service address ==== | ||
| - | This text field must be filled with the IP address or host name of the Windows Server on which the COBI.wms Print Helper | + | This text field must be filled with the IP address or host name of the Windows Server on which the COBI.wms Print Service |
| - | The default port is 9110. If you configured the helper | + | The default port is 9110. If you configured the service to use a different TCP port, then you must specify the port number via the format ''< |
| - | For example, if the Windows Server has the IP address 192.168.16.20 and the port number of the COBI.wms Print Helper | + | For example, if the Windows Server has the IP address 192.168.16.20 and the port number of the COBI.wms Print Service |
| ==== Authentication ==== | ==== Authentication ==== | ||
| - | If you've configured the [[Print | + | If you've configured the [[Print |
| + | \\ | ||
| + | \\ | ||
| - | ==== Print Mode, Layout ID, and Print Def settings ==== | + | ===== Print Mode, Layout ID, and Print Def settings |
| The rest of the print settings screen consists of **Print Mode**, **Layout ID**, and **Print Def** fields for each type of booking where the app supports printing. | The rest of the print settings screen consists of **Print Mode**, **Layout ID**, and **Print Def** fields for each type of booking where the app supports printing. | ||
| + | |||
| + | ==== Where to find Layout ID and Print Def (coresuite designer) ==== | ||
| + | |||
| + | To print from COBI.wms via the COBI.wms Print Service to coresuite, the values entered in Layout ID and Print Def must match the identifiers configured in the coresuite designer. | ||
| + | |||
| + | Important: Use the value from the field “Code” (not the “Name”) in: | ||
| + | |||
| + | * Layoutdefinition → Code = value for Layout ID | ||
| + | * Printdefinition → Code = value for Print Def | ||
| + | |||
| + | Example (from coresuite designer): | ||
| + | |||
| + | * Layoutdefinition → Code: `T0000008` | ||
| + | * Printdefinition → Code: `T0000010` | ||
| + | |||
| + | === Steps (SAP Business One) === | ||
| + | |||
| + | * Open SAP Business One (client where coresuite is installed). | ||
| + | * Go to Add-ons → coresuite designer. | ||
| + | * Open Layoutdefinition and select the relevant layout for your document type (e.g., Delivery, Sales Order, etc.). | ||
| + | |||
| + | * Copy the value from Code (e.g., `T0000008`). | ||
| + | * Enter this value in COBI.wms → Print Settings → Layout ID. | ||
| + | * Open Printdefinition and select the relevant print definition. | ||
| + | |||
| + | * Copy the value from Code (e.g., `T0000010`). | ||
| + | * Enter this value in COBI.wms → Print Settings → Print Def. | ||
| + | |||
| + | === How this maps to the Print Service XML === | ||
| + | |||
| + | If the fields are filled correctly, the Print Service will send the values as: | ||
| + | |||
| + | * Layout ID → `layoutid=" | ||
| + | * Print Def → `<param key=" | ||
| + | |||
| + | Example: | ||
| + | |||
| + | <?xml version=" | ||
| + | <job> | ||
| + | <type mode=" | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | <param key=" | ||
| + | <param key=" | ||
| + | <param key=" | ||
| + | </ | ||
| + | </ | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | |||
| + | |||
cobi.wms/print_settings.1662019677.txt.gz · Last modified: by tkammer