如何打印门票/发票

发布于 2024-12-04 21:28:41 字数 81 浏览 4 评论 0原文

有人知道用 C# 或 VB.NET 编写的用于在迷你打印机中打印票据的类吗? 打印机:EPSON TM-U220PD

感谢您的帮助。

Anyone know a class written in C # or VB.NET that serves to print tickets in a mini printer?
Printer: EPSON TM-U220PD

Thank you for your help.

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

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

发布评论

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

评论(3

黎夕旧梦 2024-12-11 21:28:41

如果您的发票可以包含在Stream中(例如文件系统文件、内存中对象等),那么您可以轻松地使用PrintDocument类.NET 框架。 MSDN 有一个关于如何使用它的简单示例。

假设您需要在Windows 窗体环境。

If your invoice is something you can contain within a Stream (e.g. file-system file, in-memory object, etc.), you can probably easily use the PrintDocument class in the .NET Framework. MSDN has a simple example on how to use it.

This assumes that you need to use this in a Windows Forms environment.

好菇凉咱不稀罕他 2024-12-11 21:28:41

您可能需要直接与打印机对话:How to send raw data to a Printer by using Visual C# .NET

You will probably have to talk to the printer directly: How to send raw data to a printer by using Visual C# .NET

不弃不离 2024-12-11 21:28:41

我不知道你的应用程序是否是 POS 应用程序。但您可以尝试查看 Microsoft POS for .NET v1.12 SDK & 文档,您还可以查看此 Stackoverflow

问题 这里也是打印机技术手册
以及 APOS ADK 下载。

I have no idea if your application is a POS application or not. But you could try looking into the Microsoft POS for .NET v1.12 SDK & documentation and you could also look at this Stackoverflow question

Here also is the technical manual for your printer
and the APOS ADK download.

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