# NiceLabel

**Configuration**

Set up of NiceLabel Automation to accept Flow request.

1\. Start NiceLabel Automation Builder and create new configuration:&#x20;

![NiceLabel](https://543770944-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LtPTgZOYmpJka4jqs1v%2F-M-sBm3RTUbmAxyDPINk%2F-M-sGk9xasZhVF1KHfr7%2Fhelp_root_connectors_printing_nicelabel_nicelabel1.png?alt=media\&token=7759e0d5-05cf-4e39-887d-6ea6b3705c2e)

2\. Select TCP/IP Server Trigger:

![NiceLabel](https://543770944-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LtPTgZOYmpJka4jqs1v%2F-M-sBm3RTUbmAxyDPINk%2F-M-sGnNJjslh7BRZv-np%2Fhelp_root_connectors_printing_nicelabel_nicelabel2.png?alt=media\&token=b35810cd-4079-4429-a8ca-77f1a9133c1f)

3.Note Port number (will be used in Flow configuration):

![NiceLabel](https://543770944-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LtPTgZOYmpJka4jqs1v%2F-M-sBm3RTUbmAxyDPINk%2F-M-sGqvrpxtnkeFrxpJz%2Fhelp_root_connectors_printing_nicelabel_nicelabel3.png?alt=media\&token=4f3b706b-04f1-4dab-bb32-388ed037a454)

4\. Go to Variable tab on TCP/IP Server:&#x20;

![NiceLabel](https://543770944-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LtPTgZOYmpJka4jqs1v%2F-M-sHIVa29AId-fsMFgY%2F-M-sIHuIhVUxOn2-7zac%2Fhelp_root_connectors_printing_nicelabel_nicelabel4.png?alt=media\&token=412bda5c-acf8-4a61-a1dd-930c90f37f5e)

5\. Select *DataFileName* from Internal Variables:

![NiceLabel](https://543770944-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LtPTgZOYmpJka4jqs1v%2F-M-sHIVa29AId-fsMFgY%2F-M-sINB1jxCyZtWRhPBg%2Fhelp_root_connectors_printing_nicelabel_nicelabel5.png?alt=media\&token=355e3191-29a8-4a95-ad06-878da8413a2d)

6\. Go to Action tab on TCP/IP Server:

![NiceLabel](https://543770944-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LtPTgZOYmpJka4jqs1v%2F-M-sHIVa29AId-fsMFgY%2F-M-sIS5UlqPYCHozyekE%2Fhelp_root_connectors_printing_nicelabel_nicelabel6.png?alt=media\&token=e24b6a97-7534-4986-9bd1-26ee497ce993)

7\. From All Action - select *Run Command File*:&#x20;

![NiceLabel](https://543770944-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LtPTgZOYmpJka4jqs1v%2F-M-sHIVa29AId-fsMFgY%2F-M-sIXC0lyOmhDXQUm_K%2Fhelp_root_connectors_printing_nicelabel_nicelabel7.png?alt=media\&token=3df50c38-e265-41bc-862d-c058d47ef376)

8\. Select variable DataFileName as File name. Make sure that File Type is *XML File*:&#x20;

![NiceLabel](https://543770944-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LtPTgZOYmpJka4jqs1v%2F-M-sHIVa29AId-fsMFgY%2F-M-sIdUurNYaKGljaFSW%2Fhelp_root_connectors_printing_nicelabel_nicelabel8.png?alt=media\&token=ee183ccc-e8d2-4d5e-b050-f3308d89501b)

9\. Save configuration to some suitable folder.

10\. Start Automation Manager and select saves configuration:&#x20;

![NiceLabel](https://543770944-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LtPTgZOYmpJka4jqs1v%2F-M-sHIVa29AId-fsMFgY%2F-M-sIiLLpJ-z9YLqFjkj%2Fhelp_root_connectors_printing_nicelabel_nicelabel9.png?alt=media\&token=3ae42188-0436-4b73-b6a3-49ba800b44d2)

11\. Start configuration process:&#x20;

![NiceLabel](https://543770944-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LtPTgZOYmpJka4jqs1v%2F-M-sHIVa29AId-fsMFgY%2F-M-sIpS3eLSnK9zeDeDD%2Fhelp_root_connectors_printing_nicelabel_nicelabel10.png?alt=media\&token=5f63d1b8-13f3-4a8b-95bd-b4bf296c713a)

12\. Configure NiceLabel connector in Flow. Use TCPIP port number from step 3:&#x20;

![NiceLabel](https://543770944-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LtPTgZOYmpJka4jqs1v%2F-M-sHIVa29AId-fsMFgY%2F-M-sIw41V4CONtXZhqeZ%2Fhelp_root_connectors_printing_nicelabel_nicelabel11.png?alt=media\&token=1e3074ae-664c-4f93-b99a-8595ebe372b7)

13\. When request is send from Flow, trigger will execute it and status will be changed:&#x20;

![NiceLabel](https://543770944-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LtPTgZOYmpJka4jqs1v%2F-M-sHIVa29AId-fsMFgY%2F-M-sJ4xydO32oZ9jmyjT%2Fhelp_root_connectors_printing_nicelabel_nicelabel12.png?alt=media\&token=2d825201-6bdb-4e08-94d9-e684cec2bd87)

14\. Example flow looks like this:&#x20;

![NiceLabel](https://543770944-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LtPTgZOYmpJka4jqs1v%2F-M-sHIVa29AId-fsMFgY%2F-M-sJFaJTa1gdOh6rRsc%2Fhelp_root_connectors_printing_nicelabel_nicelabel13.png?alt=media\&token=02f449bc-397b-447b-b282-a2fa3860d0da)

15\. *Send To Nice Label* task is set up like this:&#x20;

![NiceLabel](https://543770944-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LtPTgZOYmpJka4jqs1v%2F-M-sHIVa29AId-fsMFgY%2F-M-sJLUkH0ZOu8bsZQb3%2Fhelp_root_connectors_printing_nicelabel_nicelabel14.png?alt=media\&token=9f6ede66-b084-4346-b102-4c53d1ce491f)

Label file and printer need to be available on the NiceLabel server.

#### Use the NiceLabel connector <a href="#use-the-nicelabel-connector" id="use-the-nicelabel-connector"></a>

This instruction assumes that following programs/components are installed:

* NiceLabel Automation
* NiceLabel DesignPro (configured label printers is recommended)
* Novacura Flow5 with configured NiceLabel connector

1\. Start NiceLabel DesignerPro and select to create new label. Select the printer and label size you are using in the Wizard that opens automatically.&#x20;

![NiceLabel](https://543770944-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LtPTgZOYmpJka4jqs1v%2F-M-sHIVa29AId-fsMFgY%2F-M-sKBk2v64szLRR7BCL%2Fhelp_root_connectors_printing_nicelabel_nicelabel15.png?alt=media\&token=cf0b790c-3aad-49f8-83e0-331bb3d231ed)

2\. Add variables; It is important to set correct size for variables, if you send data that exceed the defined size, NiceLabel will fail to print the label.&#x20;

![NiceLabel](https://543770944-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LtPTgZOYmpJka4jqs1v%2F-M-sHIVa29AId-fsMFgY%2F-M-sKJ7zoIxewbtyJetC%2Fhelp_root_connectors_printing_nicelabel_nicelabel17.png?alt=media\&token=034cdb31-482a-496b-8abb-e96f832f50ed)

![NiceLabel](https://543770944-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LtPTgZOYmpJka4jqs1v%2F-M-sHIVa29AId-fsMFgY%2F-M-sKGEqNC_q4lf5Qlva%2Fhelp_root_connectors_printing_nicelabel_nicelabel16.png?alt=media\&token=4eebb1da-8aeb-42b9-a9e3-d23c49a6307b)

3\. Note names of all variables:&#x20;

![NiceLabel](https://543770944-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LtPTgZOYmpJka4jqs1v%2F-M-sHIVa29AId-fsMFgY%2F-M-sKkbGUqAF3LTm_sh9%2Fhelp_root_connectors_printing_nicelabel_nicelabel18.png?alt=media\&token=c65b9333-30f3-46d3-abcc-c8b0611f1eeb)

4\. Design the label layout using created variables.

* To add a barcode do as follow:

![NiceLabel](https://543770944-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LtPTgZOYmpJka4jqs1v%2F-M-sHIVa29AId-fsMFgY%2F-M-sL02Bgsm7EN0Q0PJt%2Fhelp_root_connectors_printing_nicelabel_nicelabel19.png?alt=media\&token=66c75418-a56c-48d6-819d-a97d1b28c869)

* &#x20;To add a text box do as follow:&#x20;

![NiceLabel](https://543770944-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LtPTgZOYmpJka4jqs1v%2F-M-sHIVa29AId-fsMFgY%2F-M-sLElHCKSAa360d2_r%2Fhelp_root_connectors_printing_nicelabel_nicelabel20.png?alt=media\&token=c6073aab-126e-4a5a-981c-29bd95b06c23)

5\. Save the label file to folder on server that runs NiceLabel Automation.&#x20;

![NiceLabel](https://543770944-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LtPTgZOYmpJka4jqs1v%2F-M-sHIVa29AId-fsMFgY%2F-M-sLNUtfzojdm92LO0t%2Fhelp_root_connectors_printing_nicelabel_nicelabel21.png?alt=media\&token=caa4a0a6-f20a-4ecd-b80a-b65144718473)

6\. Add Flow machine task and configure it as NiceLabel connector.<br>

7\. Bind variables from the label to local variables in the flow. Variable name in NiceLabel are case sensitive. Label path is relative to NiceLabel automation server (local map on that server).&#x20;

![NiceLabel](https://543770944-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LtPTgZOYmpJka4jqs1v%2F-M-sHIVa29AId-fsMFgY%2F-M-sLUmIlgE2jGwprQPZ%2Fhelp_root_connectors_printing_nicelabel_nicelabel22.png?alt=media\&token=b353c462-ffe2-4efc-a4b4-66e910167b4b)

8\. Save flow and execute. Check status on NiceLabel Automation server.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.novacuraflow.com/6.11/development/flow-studio/connectors/printing/nicelabel.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
