# Integration with Bartender

**URL:** <https://forum.inductiveautomation.com/t/integration-with-bartender/28661>\
**Category:** General Discussion\
**Created:** [September 30, 2019, 2:33pm UTC](https://forum.inductiveautomation.com/t/integration-with-bartender/28661 "2019-09-30T14:33:19Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![j-ramsden](https://avatars.discourse-cdn.com/v4/letter/j/c4cdca/32.png) [@j-ramsden](https://forum.inductiveautomation.com/u/j-ramsden)\
**Post date:** [September 30, 2019, 2:33pm UTC](https://forum.inductiveautomation.com/t/integration-with-bartender/28661/1 "2019-09-30T14:33:19Z")

</div>

Has anyone used the Bartender Application along with Ignition?  
It is by Seagul Software  
[https://www.bartendersoftware.com/software/compare/](https://www.bartendersoftware.com/software/compare/)  
We have several application written using .NET and labview that calls the ActiveX components to easily print labels. The customer would like to continue to use Bartender in order to print DM and QR labels.

Thanks

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [September 30, 2019, 2:38pm UTC](https://forum.inductiveautomation.com/t/integration-with-bartender/28661/2 "2019-09-30T14:38:27Z")

</div>

Java and .Net aren’t really designed to play well together, though there are resources that might be made to work for you. I’d start here:

[http://jni4net.com/](http://jni4net.com/)

And yeah, don’t expect this to be trivial.

---

<div class="post-metadata">

**Author:** ![j-ramsden](https://avatars.discourse-cdn.com/v4/letter/j/c4cdca/32.png) [@j-ramsden](https://forum.inductiveautomation.com/u/j-ramsden)\
**Post date:** [September 30, 2019, 2:45pm UTC](https://forum.inductiveautomation.com/t/integration-with-bartender/28661/3 "2019-09-30T14:45:22Z")

</div>

Thanks for the link, and i just saw that ActiveX controls were dropped from Ignition.  
We are just starting to get into using Ignition more.  
I did see that the Report builder can handle labels. Essentially we need labels on demand for Tracking.  
I see i can script this out, but it looks like this is a blocking call, is this blocking at the gateway level i assume?

---

<div class="post-metadata">

**Author:** ![dkhayes117](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/dkhayes117/32/68344_2.png) [@dkhayes117](https://forum.inductiveautomation.com/u/dkhayes117)\
**Post date:** [September 30, 2019, 2:55pm UTC](https://forum.inductiveautomation.com/t/integration-with-bartender/28661/4 "2019-09-30T14:55:47Z")

</div>

> [@j-ramsden](#):
>
> is this blocking at the gateway level

Yes, assuming you are talking about `system.report.executeAndDistribute()`. You can invoke a script with the function `system.util.invokeAsynchronous()` to give it its own thread.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [September 30, 2019, 2:57pm UTC](https://forum.inductiveautomation.com/t/integration-with-bartender/28661/5 "2019-09-30T14:57:16Z")

</div>

Do you mean report generation is a blocking call – to not use .Net? Yes, but executeAndDistribute() targeting a label printer can be called from an asynchronous thread.

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [September 30, 2019, 4:53pm UTC](https://forum.inductiveautomation.com/t/integration-with-bartender/28661/6 "2019-09-30T16:53:06Z")

</div>

From my experience with Bartender, the main point is getting data into Bartender (esp if you use the ‘Commander’ software. That’s pretty easy to do from Ignition - you can either open a raw socket using Java/Jython from scripting, or perform an HTTP request with some system functions.
