知识与支持

Windows 10 build 1809和Server 2019跟新导致Integration Platform打印失败

广州市领域物联网科技有限公司,提供自动识别设备,BarTender正版代理商,条码打印机,Bartender二次开发专业,满足您对条码标签设计打印软件的特殊需求

Bartender故障排除

正文

当自动化BarTender时,Integration Platform不再能够检测和处理触发器。
您将在管理控制台和/或Integration Builder中看到以下错误
The input data file '<trigger name>' was not processed because one or more actions failed to run.
Review all integration actions, correct any failures, and resend the input data file.
Print job '<Document Name>' did not complete due to the following error:
您将在BarTender Print Scheduler日志中看到以下消息:
日志位于 C:\ProgramData\Seagull\Services\Logging\PrintScheduler.Service.txt
Error while running Print Scheduler task 'Print Document subtask 1 format affinity request'.
Details: The remote procedure call failed. (Exception from HRESULT: 0x800706BE)
您将在Windows事件查看器中看到以下错误
Faulting application name: BarTend.exe, version: 11.0.8.3153, time stamp: 0x5b86ef32
Faulting module name: MSVCR100.dll, version: 10.0.40219.1, time stamp: 0x4d5f034a
Exception code: 0x40000015
Fault offset: 0x00000000000761c9
Faulting process id: 0x1660
Faulting application start time: 0x01d4b99757898e7b
Faulting application path: C:\Program Files\Seagull\BarTender Suite\BarTend.exe
Faulting module path: C:\WINDOWS\SYSTEM32\MSVCR100.dll
Report Id: 7dc1b75c-4eec-4b27-bf15-7e78454848e3
环境
  • BarTender 2016
  • 整合平台
  • Windows 10内部版本1809
  • Windows Server 2019
  • 从1809年10月到2018年12月的以下任何版本的Windows更新均已安装:
    • KB4470788
    • KB4465664
    • KB4465477
固定
注意:请参阅我们 与BarTender的Windows版本兼容性。BarTender 2016不被认为与Windows 10 build 1809及更高版本兼容。
该问题已在BarTender 2019中得到解决。如果您有有效的支持协议,则可以免费升级到BarTender 2019。如果您对获得BarTender 2019许可证有任何疑问,请联系我们的销售部门。
解决方法 以下是BarTender 2016的变通办法,并提供了其他方法,其中Integration Platform可以启动并运行BarTender进行打印。
这些选项可能会对打印性能产生负面影响。如果您具有高吞吐量的环境,我们建议您升级到BarTender 2019。

启用“提示输入数据”选项

  1. 在您的Integration Builder文件和特定的打印操作(“打印文档”,“打印BTXML”脚本,“打印命令”脚本等)中,在“打印选项覆盖”部分下找到“提示输入数据”选项,然后启用此选项。PromptForData.png
  2. 保存您的Integration Builder文件,然后将您的Integration File重新部署回管理控制台。

更改打印计划程序服务配置设置

  1. 进入BarTender安装目录(例如C:\Program Files\Seagull\BarTender Suite)。
  2. 找到PrintScheduler.Service.exe.Instance.config文件。进行复制并将此文件备份到其他位置。
  3. 打开PrintScheduler.Service.exe.Instance.config文件的新副本。在此文件中,找到以下行和值:
    NumberOfPrintEngines="3"
    DynamicEngineScaling="true"
    StartOnDemand="true"
  4. 将这些行和值更改为以下内容:
    NumberOfPrintEngines="1"
    DynamicEngineScaling="false"
    StartOnDemand="false"
  5. 保存具有新更改的文件。
  6. 将具有更新后的更改的新PrintScheduler.Service.exe.Instance.config文件复制回BarTender安装目录,并覆盖现有文件。
  7. 打开管理控制台,然后转到Windows服务部分。
  8. 重新启动BarTender集成和打印计划程序服务。
    RestartServices.png
  9. 此时,Integration Platform现在应该能够检测要打印的触发器,但是您仍然会看到Integration错误消息。如果要使它们不显示,可以执行以下操作:
    1. 在您的Integration Builder文件和特定的打印操作(“打印文档”,“打印BTXML”脚本,“打印命令”脚本等)中,将验证选项设置为“将打印作业排队并立即继续”。QueueAndContinue.png
    2. 保存您的Integration Builder文件,然后将您的Integration File重新部署回管理控制台。

删除Windows更新

您也可以选择从计算机中删除有问题的更新。但是,请注意,这些更新中还包含其他一些重要的修复程序。在选择删除或阻止Microsoft更新之前,应仔细阅读发行说明和您的环境。