开发人员可以使用哪些选项来使用专用标签打印机进行打印?

发布于 2024-09-13 04:53:24 字数 721 浏览 6 评论 0原文

我们的业务使用定制的内部软件来创建要在大型高速标签打印机上打印的运输标签。

开发人员可以使用哪些选项(库、服务、成熟软件等)来协助创建自定义格式的标签并将其发送到专用标签打印机?


更多背景信息...

我们的业务不使用运输公司(例如 UPS 或 FedEx)提供的软件,而是使用我们自己的内部软件来创建运输标签,以满足一年中高峰时段的高需求。我们当前处理此过程的代码采用 VB6 编写,并且紧密耦合以使用 EPL 打印语言创建打印指令。我们将数据传输到 Windows 打印后台处理程序,后者负责将数据传递给打印机。这在我们当前使用 Zebra 打印机的生产环境中非常有用

我们的运输供应商今年正在更改他们使用的打印机类型,看起来我们可能无法再使用我们的 EPL 代码。充其量,我们也许能够将代码转换为 ZPL,但这仍然需要大量工作(“紧密耦合”是上一段中的操作短语),而且我仍然不知道如何发送给打印机的 ZPL 指令。

在与我们的高级开发人员的交谈中,我开始思考,一定已经有用于为这些类型的打印机打印运输标签的解决方案(企业一直在打印运输标签,对吧?)。我希望有可用的库或软件包可以提供用于格式化标签的 API,并处理与 Windows 后台处理程序或打印机本身的通信,以确保标签以打印机期望的语言进行通信。

我们当前的应用程序代码是用 VB6 编写的,但如果有可用的 .NET 解决方案,我们也愿意使用它们。如有任何建议,我们将不胜感激。

Our business uses custom internal software to create shipping labels to be printed on large high-speed label printers.

What options are available to developers (libraries, services, full-blown-software, etc.) for assisting in the process of creating a custom-formatted label and sending it to a dedicated label printer?


More background information...

Instead of using software provided by a shipping company (such as UPS or FedEx), our business uses our own internal software to create shipping labels to meet high demand at peak times of the year. Our current code to handle this process is in VB6 and is tightly-coupled to create printing instructions in the EPL printing language. We stream the data to the Windows print spooler, which is responsible for handing it off to the printer. This works great in our current production environment with Zebra printers.

Our shipping vendor is changing the type of printer that they use this year, and it looks like we may not be able to use our EPL code any more. At best, we might be able to translate our code to ZPL, but that still is going to take a ton of work ("tightly coupled" was the operative phrase in the previous paragraph) and I still haven't figured out how to send ZPL instructions to the printer.

In my conversation with our senior developer, I got to thinking that there must already be solutions for printing shipping labels for these types of printers (businesses print shipping labels all the time, right?). My hope is that there are libraries or software packages available that can provide an API for formatting a label and will handle talking to Windows Spooler or the Printer itself to make sure the label gets communicated in a language that the printer is expecting.

Our current code for this application is in VB6, but if there are .NET solutions available, we'd be open to using them as well. Any suggestions would be much appreciated.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

森林很绿却致人迷途 2024-09-20 04:53:24

我的公司使用名为 NiceLabel 的商业产品,它具有用于创建标签的 .NET API 和用于创建标签模板的设计器。我们主要将它们用于车间物品的条形码标签。

My business uses a commercial product called NiceLabel, which has a .NET API for creating labels and a designer for creating the label templates. We used them mostly for barcode labels for items on our shop floor.

傾旎 2024-09-20 04:53:24

我已修改开源 SharpZebra 库以允许 ZPL 打印:

http://sharpzebra.codeplex.com /SourceControl/PatchList.aspx

I have modified the open source SharpZebra library to allow ZPL printing:

http://sharpzebra.codeplex.com/SourceControl/PatchList.aspx

画离情绘悲伤 2024-09-20 04:53:24

ZebraDesigner Pro 是一个所见即所得的工具标签应用程序可输出优化的 ZPL 标签格式,因此您无需学习太多 ZPL。您可以将这些格式保存在打印机上,并使用适当的变量数据调用它们,或者捕获流并在内部软件应用程序中使用 ZPL 输出。可以使用与 ZebraDesigner 捆绑的驱动程序或通过直接通信(TCP、USB、COMM 等)将数据发送到打印机。

我们还编写了SDK,以使与 Zebra 打印机的通信更加无缝。我们从移动电话开始(BlackBerry、WinMobile、iPhone 和 Android 即将推出),但桌面 API 也可能正在开发中。

ZebraDesigner Pro is a WYSIWYG labeling application which outputs optimized ZPL label formats so you don't have to learn too much ZPL. You can save these formats on your printer and recall them with the proper variable data, or capture the stream and use the ZPL output in your internal software application. Sending the data to the printer can be done with the driver which is bundled with ZebraDesigner, or through direct communication (TCP, USB, COMM, etc).

We're also writing SDKs to make communicating with Zebra printers more seamless. We started with mobile phones (BlackBerry, WinMobile, iPhone, and Android will be out soon), but a desktop API might also be in the works.

2024-09-20 04:53:24

每次我们需要做这样的事情时,我们都会手动编写自己的 ZPL(例如),并将这些数据直接发送到打印机或 Windows 打印队列(就像您一样)。从一种语言转换为另一种语言应该不会太困难,因为大多数条形码设备都有详细记录的打印语言,但这并不意味着这会是一件轻而易举的事。

Every time we've need to do something like this we have written our own ZPL (for instance) manually, and sent this data directly to the printer or Windows print queue (as you are). Conversion from one language to another shouldn't be too difficult as most of these barcode devices have well documented print languages, that's not to suggest it will be a breeze.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文