如何制作ESPON打印机的驱动程序?

发布于 2024-12-24 01:46:36 字数 334 浏览 9 评论 0原文

我有一些包含 ESPON 打印机命令的文档。现在我必须制作在 iPhone 应用程序中使用的驱动程序。这是该文档的链接 http://qasimshah.sitesled.com/BettorSidekick/ESCPOS_Commands_FAQs.pdf< /a>

现在请告诉我如何将这些命令发送到打印机?我很困惑如何通过 iPhone 进行打印。打印机不支持 AirPrint。所以请指导我该怎么做。

问候

I have some a document that have commands of ESPON printers. now i have to make drivers to use in an iPhone application. this is the link of that document http://qasimshah.sitesled.com/BettorSidekick/ESCPOS_Commands_FAQs.pdf

Now please tell me how i can send these commands to printer? I am confused how to get print via iPhone. Printer is not AirPrint Supported. so please guide me how to do it.

regards

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

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

发布评论

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

评论(2

丑疤怪 2024-12-31 01:46:36

我认为您需要适用于 iOS 的 Epson Communication Libraries。在 EpsonExpert.com 注册并下载。它将位于技术资源部分。选择打印机 TM-P60。

EPSON收据打印机通常支持ESC POS(本机)、OPOS、JPOS、OPOS for .NET(所有这三个都是ESC POS的UPOS API包装器)和EPSON高级打印机驱动程序(用于Windows打印API)。

由于 iOS 不支持 Java,因此 JPOS 已经过时了。
由于 iOS 不支持 OLE COM 或 .NET,因此 OPOS 和 OPOS for .NET 已经过时。
由于 iOS 不支持 Windows 打印 API,因此 APD 已被淘汰。

这使得 ESC POS 成为在 iOS 上与 EPSON 收据打印机对话的唯一可行语言,除非他们通过我上面提到的 ECL 包为您提供其他内容。 ESC POS 非常简单。

如果您需要对屏幕上的内容(字体等)保持高保真度,请将其渲染为 150 DPI 8 位或更低的 BMP 文件,然后使用 ESC POS 将其发送到打印机。如果您只想打印收据,请使用 ESC POS 命令打印文本。

POS 收据打印机使用自己的命令集(与 PostScript 或 PCL 相反),因为它们执行特殊的操作,例如剪纸等。

I presume you need the Epson Communication Libraries for iOS. Register and download at EpsonExpert.com. It will be in the technical resources section. Choose printer TM-P60.

EPSON receipt printers generally support ESC POS (native), OPOS, JPOS, OPOS for .NET (all three of these are UPOS API wrappers for ESC POS), and EPSON Advanced Printer Driver (for Windows printing APIs).

Since iOS doesn't do Java, JPOS is out.
Since iOS doesn't do OLE COM or .NET, OPOS and OPOS for .NET are out.
Since iOS doesn't do Windows Printing APIs, APD is out.

That leaves you ESC POS as the only viable language to talk to EPSON receipt printers with on iOS, unless they give you something else with the ECL package I mentioned above. ESC POS is pretty trivial.

If you need high fidelity to what's on the screen (fonts, etc), render it as a 150 DPI 8-bit or less BMP file and send it to the printer with ESC POS. If you just want to print receipts, use the ESC POS commands for printing text.

POS receipt printers use their own command sets (as opposed to PostScript or PCL) because they do special things, like paper cutting, etc.

陪你到最终 2024-12-31 01:46:36

我认为不可能将打印机驱动程序直接添加到您的应用程序中。

您最好的机会是设置支持 AirPrint 的打印服务器来管理 Epson 打印机。

另外,尽管我还没有对此进行测试,但该模块声称能够 使任何打印机启用机场

I don't think it is possible to make printer drivers directly into your apps.

Your best chance would be to set up a AirPrint-enabled printing server to manage the Epson printer.

Also, albeit that I haven't tested this, this modules claims to be able to make any printer Airport Enabled

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