Bartender error: 'Web Service' requires the 'Enterprise Automation' edition or better to run

Bartender error: 'Web Service' requires the 'Enterprise Automation' edition or better to run

我正在尝试在此 tutorial 之后添加 Web 服务。但是,当我尝试测试 Web 服务时,按 Start 我收到上述错误:

Web Service Integration' requires the 'Enterprise Automation' edition or better to run.

我拥有的 BarTender 版本是:

Program:    BarTender Designer 2016 R8
License:    Automation (3 Printers)
Version:    11.0.8.3153 (64-bit)
OS: Windows 10 Pro x64 build 18362

我也试过 Enterprise Automation 版(演示版),但我遇到了同样的错误。我做错了什么?

我遇到了同样的错误。 BarTender 的支持团队给出了以下答案:

In BarTender v2016 Web Service integrations are only available in Enterprise Automation edition. If you have an active maintenance contract, so you could consider planning your upgrade to v2019.

Find the recommended steps to upgrade to v2019: Updating to BarTender 2019

Do note that the licensing system in v2019 is not backwards compatible, therefore, we do recommend you that you test v2019 first using the provisional activation.

我遇到了完全相同的问题,所以我改用了 ActiveX 并且它有效。 我的后端在 python 上 运行。见附件代码。您还可以将其转换为使用不同的编程语言。

import win32com.client as win32

btApp = win32.Dispatch("BarTender.Application")
btApp.Visible = True


btFormat = btApp.Formats.Open("C:\Users\someUser\Desktop\YourLabel.btw", False, "PrinterName")

btFormat.SetNamedSubStringValue("btField1", "Data1")
btFormat.SetNamedSubStringValue("btField2", "Data2")
btFormat.SetNamedSubStringValue("btField3", "Data3")

btFormat.IdenticalCopiesOfLabel = 1
btFormat.PrintOut(False, False)
btFormat.Close(1)
btApp.Quit(1)