远程生成统计数据 - POS打印机 [英] Remotely Generate Stats - POS Printers
问题描述
您好,我已经编写了我的应用程序(VB.NET),它在我需要的TPG和EPSON打印机上都能很好地工作。 现在我需要让它远程运行..
现在我想象我的代码的这一部分是需要改变的:
尝试
Dim oposDevice As DeviceInfo
Dim oposDeviceCollection As DeviceCollection
Dim oposExplorer As New Microsoft.PointOfService.PosExplorer
Dim oposPrinter As Microsoft.PointOfService.PosPrinter
oposDeviceCollection = oposExplorer.GetDevices(DeviceType.PosPrinter,DeviceCompatibilities.Opos)
我还没有决定我想要哪台远程机器从Sean liming看SOmgr看起来是可能的。这是可能的。 我是否只需要模仿远程计算机? 假设我想从名为\\remote的机器
中提取信息,这可能吗? 任何人都可以使用我上面的代码指出我正确的方向吗? 感谢您提供的任何帮助!
我仍然在寻找这方面的帮助 - 任何人? 感谢
Hello, I've written my application (VB.NET) already and it works beautifully on both TPG and EPSON printers like I needed. Now I need to get it to run remotely..
Now I imagine this section of my code is what will need to be altered:
Try
Dim oposDevice As DeviceInfo
Dim oposDeviceCollection As DeviceCollection
Dim oposExplorer As New Microsoft.PointOfService.PosExplorer
Dim oposPrinter As Microsoft.PointOfService.PosPrinter
oposDeviceCollection = oposExplorer.GetDevices(DeviceType.PosPrinter, DeviceCompatibilities.Opos)
I haven't decided which remote machines I'd like to get information from, but it appears from looking at SOmgr by Sean liming, this IS possible. Do I just need to impersonate the remote machine? Say I wanted to pull information from a machine named \\remote , is this possible? Can anyone point me in the right direction using the code I have above? Thanks for any help offered!
I'm still looking for help on this - anyone? Thanks
这篇关于远程生成统计数据 - POS打印机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!