开立现金抽屉 [英] Opening of a Cash Drawer

查看:84
本文介绍了开立现金抽屉的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当用户发出并打印(Epson Receipt打印机)收据时,我需要从我的Windows应用程序中打开一个现金抽屉。我相信我需要通过

打印机一串(#027 +#112 +#000 +#025 +#250)。我很感激

对此处代码的任何帮助。

I need to open a Cash Drawer from my Windows App when the user issues and
prints (Epson Receipt Printer) a Receipt. I beleive I need to pass the
printer a string of (#027 + #112 + #000 + #025 + #250). I would appreciate
any assistance on the code here for.

推荐答案

4月18日,10: 28日凌晨,Connull< Conn ... @ discussion.microsoft.com>

写道:
On Apr 18, 10:28 am, Connull <Conn...@discussions.microsoft.com>
wrote:

我需要开一个现金抽屉当用户发出并且打印(Epson Receipt Printer)收据时,从我的Windows应用程序中获取。我相信我需要通过

打印机一串(#027 +#112 +#000 +#025 +#250)。我很感激

对此处代码的任何帮助。
I need to open a Cash Drawer from my Windows App when the user issues and
prints (Epson Receipt Printer) a Receipt. I beleive I need to pass the
printer a string of (#027 + #112 + #000 + #025 + #250). I would appreciate
any assistance on the code here for.



是十进制还是十六进制?为什么你不能使用Chr功能

将它们转换成字符表示并将它们发送到

打印机?

Are those decimal or hex? Why can''t you use the Chr function to
convert them into the character representation and send them to the
printer?


=?Utf-8?B?Q29ubnVsbA ==?=< Co ***** @ discuss.microsoft.comwrote in

news:12 ** ******************************** @ microsof t.com:
=?Utf-8?B?Q29ubnVsbA==?= <Co*****@discussions.microsoft.comwrote in
news:12**********************************@microsof t.com:

当用户发出
并打印(Epson Receipt Printer)收据时,我需要从我的Windows应用程序中打开现金抽屉。我相信我需要

将打印机传递给一串(#027 +#112 +#000 +#025 +#250)。我将会感谢您对此代码的任何帮助。

I need to open a Cash Drawer from my Windows App when the user issues
and prints (Epson Receipt Printer) a Receipt. I beleive I need to
pass the printer a string of (#027 + #112 + #000 + #025 + #250). I
would appreciate any assistance on the code here for.



你如何连接到现金抽屉?


Serial?键盘?


键盘,你可以使用发送键。串口你可以使用System.IO.Ports

命名空间。

How are you connected to the cash drawer?

Serial? Keyboard?

Keyboard, you can use send keys. Serial you can use the System.IO.Ports
namespace.





" za *** @ construction-imaging.com"写道:


"za***@construction-imaging.com" wrote:

4月18日上午10点28分,Connull< Conn ... @ discussion.microsoft.com>

写道:
On Apr 18, 10:28 am, Connull <Conn...@discussions.microsoft.com>
wrote:

当用户发出并打印(Epson收据打印机)收据时,我需要从我的Windows应用程序中打开现金抽屉。我相信我需要通过

打印机一串(#027 +#112 +#000 +#025 +#250)。我很感激

对此处代码的任何帮助。
I need to open a Cash Drawer from my Windows App when the user issues and
prints (Epson Receipt Printer) a Receipt. I beleive I need to pass the
printer a string of (#027 + #112 + #000 + #025 + #250). I would appreciate
any assistance on the code here for.



是十进制还是十六进制?为什么你不能使用Chr功能

将它们转换成字符表示并将它们发送到

打印机?


如何将此信息发送给打印机?我相信这是一个字符串。我需要发送


Are those decimal or hex? Why can''t you use the Chr function to
convert them into the character representation and send them to the
printer?

How would I send this to the printer? I beleive this is a "string" that I need to send"


这篇关于开立现金抽屉的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆