在哪里可以找到“ESC/POS” 爱普生条形码测试程序?
我正在努力购买 Epson“ESC/POS”打印机来打印条形码(使用 Delphi),并想测试打印机是否有故障。 你知道在哪里可以找到在“ESC/POS”中打印条形码的程序吗? 我想作为最后的手段,OPOS 程序也可以。
另外,一个可以运行的演示 Delphi 程序也可以。 到目前为止我拥有的所有 Delphi 片段都不起作用。
我使用的打印机是 Epson TM-L60II
I am struggling to get an Epson "ESC/POS" printer to print barcodes (Using Delphi) and want to test if the printer is not faulty. Do you know where I can find a program to print a barcode in "ESC/POS"? I suppose as a last resort an OPOS program will also be OK.
Also, a demo Delphi Program that works will also be fine. All the Delphi snippets I have so far is not working.
The printer I am using is an Epson TM-L60II
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我有一个用 Delphi 5 为 TMT88 编写的完整测试程序,但这里的源代码有点大,所以这里是条形码位
请注意,作为完整对象的片段,某些变量/函数可能会丢失
条形码字符
为了获取 打印到打印机
更新
这是上面代码中的一个丢失控制代码常量,希望这些名称具有足够的描述性。
I Have a full tests program written in Delphi 5 for the TMT88's but the source is abit big for here so here is the barcode bits
Please note that as its snippets from the full object some vars/functions may be missing
To get the barcode chars
to print to a printer
Update
Here is a lost of control code constants from the code above, hopefully the names are descriptive enough.
获取 Microsoft POS For .Net 1.11,它有一个 SDK,其中包含一个示例应用程序,可在 POS 硬件上执行所有基本操作。 例如,我一直用它来测试现金抽屉是否正常工作。
还有一个源代码(在 .Net 中),因此您可以了解他们是如何做到的。
Get the Microsoft POS For .Net 1.11, it's got an SDK that includes a sample application that performs all the basic operations on POS hardware. I'm using it all the time to test that cash drawers work ok for example.
There's also a source code included (in .Net), so you can see how they do it.